Event email subscriptions

Tracking email subscriptions across GOV.UK, for example from search results or topic pages.

Contents


get emails about this page

Priority medium

This event is tracked by the link_tracker.

This event occurs on the signup_link component.

Examples

Data sent to the dataLayer

You can also view our complete schemas.

Data reports


responses

Priority medium

Tracks when questions are answered throughout the email subscriptions journey, for example 'how often do you want to receive emails?'. Note that some questions do not include options other than to continue, for example the 'Confirm you want to get emails' question is asked towards the end of the journey, but only has 'Confirm' or 'cancel' as options.

This event is tracked by the form_tracker.

Data sent to the dataLayer

  • event: event_data
  • event_data:
    • action: continue/save/unsubscribe
    • event_name: form_response
    • section: The text of the question, for example 'What do you want to get emails about?'
    • text: The question option selected, or PII redacted text value
    • tool_name: Get emails from GOV.UK
    • type: email subscription

You can also view our complete schemas.

Data reports


form error

Priority medium

Tracks form errors in questions asked, for example if options are given and a user does not choose one before attempting to continue.

This event is tracked by the auto_tracker.

Data sent to the dataLayer

  • event: event_data
  • event_data:
    • action: error
    • event_name: form_error
    • section: The text of the question, for example 'What do you want to get emails about?'
    • text: The text of the error message
    • tool_name: Get emails from GOV.UK
    • type: email subscription

You can also view our complete schemas.

Data reports


form completion

Priority medium

Occurs when a user successfully completes an email subscription journey

This event is tracked by the auto_tracker.

Data sent to the dataLayer

  • event: event_data
  • event_data:
    • action: complete
    • event_name: form_complete
    • section: Manage your GOV.UK email subscriptions
    • text: You've successfully subscribed to emails about (subject)
    • tool_name: Get emails from GOV.UK
    • type: email subscription

You can also view our complete schemas.

Data reports