Event links
Contents
External links
Priority high
When a link is followed to a page outside of www.gov.uk.
This event is tracked by the specialist_link_tracker.
Examples
Data sent to the dataLayer
- event: event_data
- event_data:
- event_name: navigation
- external: "true"
- link_domain: string
- method: string
- text: string
- type: generic link
- url: string
You can also view our complete schemas.
Download links
Priority high
When a link is followed to an asset such as a PDF.
This event is tracked by the specialist_link_tracker.
Examples
Data sent to the dataLayer
- event: event_data
- event_data:
- event_name: file_download
- external: true
- link_domain: string
- method: string
- text: string
- type: generic download
- url: string
You can also view our complete schemas.
mailto links
Priority low
When a link points to an email address using mailto:
This event is tracked by the specialist_link_tracker.
Examples
Data sent to the dataLayer
You can also view our complete schemas.
file attachment links
Priority medium
Links on our guidance pages that contain file attachments, such as .zip files.
This event is tracked by the link_tracker.
Examples
Data sent to the dataLayer
- event: event_data
- event_data:
- event_name: file_download
- external: string ("true" or "false")
- link_domain: string
- method: string
- text: string
- type: attachment
- url: string
You can also view our complete schemas.