Event super navigation header
Header menu bar buttons
Priority high
When the Menu or Search button is expanded or collapsed.
This event is tracked by the event_tracker.
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.
link clicks
Priority high
Triggered when the GOVUK logo, a header "menu" section link, or a link under the search component is clicked, right clicked, shift clicked, control clicked, or windows key/command key clicked.
This event is tracked by the link_tracker.
Examples
Data sent to the dataLayer
- event: event_data
- event_data:
- event_name: navigation
- external: false
- index:
- index_link: The position of the link within its section. GOVUK Logo has an index of 0.
- index_section: The section that this link is in (Menu is 1, Search is 2)
- index_section_count: 2 (Menu and Search)
- index_total: string (number)
- link_domain: string
- link_path_parts: object
- 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.