header menu bar
Contents
Crown icon link
Priority high
When the crown link to the homepage is clicked.
This event is tracked by the link_tracker.
This event occurs on the layout_super_navigation_header component.
Examples
Data sent to the dataLayer
- event: event_data
- event_data:
- event_name: navigation
- external: false
- index:
- index_link: number
- index_section: number
- index_section_count: number
- index_total: string (number)
- link_domain: string
- method: string
- section: Logo
- type: header menu bar
- url: https://www.gov.uk
You can also view our complete schemas.
Data reports
- GA4 report for navigation events (access required)
- Looker studio report for navigation events (access required)
Header menu bar buttons
Priority high
When the Menu or Search button is expanded or collapsed.
This event is tracked by the event_tracker.
This event occurs on the layout_super_navigation_header component.
Examples
Data sent to the dataLayer
- event: event_data
- event_data:
- action: opened/closed
- event_name: select_content
- index:
- index_section: number
- index_section_count: number
- section: Menu/Search
- text: Menu/Search
- type: header menu bar
You can also view our complete schemas.
Data reports
- GA4 report for select_content events (access required)
- Looker studio report for select_content events (access required)
link clicks
Priority high
Triggered when a header "menu" section link is clicked, right clicked, shift clicked, control clicked, or windows key/command key clicked.
This event is tracked by the link_tracker.
This event occurs on the layout_super_navigation_header component.
Examples
Data sent to the dataLayer
- event: event_data
- event_data:
- event_name: navigation
- external: false
- index:
- index_link: number
- index_section: number
- index_section_count: number
- index_total: string (number)
- link_domain: string
- method: string
- section: The heading of the section the link is under, e.g. "Topics", "Government Activity"
- text: string
- type: header menu bar
- 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)
search form
Priority high
Triggered when a search is performed from the search input.
This event is tracked by the form_tracker.
This event occurs on the layout_super_navigation_header component.
Examples
Data sent to the dataLayer
- event: event_data
- event_data:
- action: search
- event_name: search
- index:
- index_section: number
- index_section_count: number
- section: Search GOV.UK
- text: string
- type: header menu bar
- url: /search/all
You can also view our complete schemas.
Data reports
- GA4 report for search events (access required)
- Looker studio report for search events (access required)