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.
Data reports
- GA4 report for navigation events (access required)
- Looker studio report for navigation events (access required)
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.
Data reports
- GA4 report for file_download events (access required)
- Looker studio report for file_download events (access required)
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.
Data reports
- GA4 report for navigation events (access required)
- Looker studio report for navigation events (access required)
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.
Data reports
- GA4 report for file_download events (access required)
- Looker studio report for file_download events (access required)