Skip to content

Subscribe to emails

Forms on the Tate website allow visitors to add their email address to the customer contact list managed by Marketing. This is generally handled via the site footer's call to action 'Sign up for emails' (also found on https://shop.tate.org.uk). Users can also access the form directly at https://www.tate.org.uk/subscribe.

Existing 'contacts' can modify their preferences and unsubscribe, at https://www.tate.org.uk//subscribe/preferences. A personalised link is included in at the end of all emails sent to contacts.

The views that handle these forms are currently located at frontend/pages/views_subscribe.py.

Emarsys

Emarsys is the product that manages Marketing's contact database. The website frontend uses the Emarsys API to process requests to subscribe/unsubscribe/amend preferences on behalf of end users.

Emarsys API

The Emarsys class defined in tate/subscribe/emarsys_api.py acts as a Python client for the Emarsys API.

A username and password are required to initialise an instance of the Emarsys class. These credentials must be provided in the project settings used in production. They must not be committed to this repository in plain text.

Emarsys documentation

Read the Emarsys docs for full details of API endpoints.

Replacement imminent!

In winter 2021/22, we expect to shift management of Tate customer contacts to Tessitura. Our current Emarsys integration will be retired in favour of an equivalent integration with a Tessitura API.