Event super navigation header
Header menu bar buttons
high
When the Menu or Search button is expanded or collapsed.
- Example of Header menu bar buttons
- Tracked by event_tracker
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
link clicks
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.
- Example of link clicks
- Tracked by link_tracker
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