accordion
Contents
Accordion section
Priority high
When a section of the accordion is opened or closed.
This event is tracked by the event_tracker.
This event occurs on the accordion component.
Examples
Data sent to the dataLayer
- event: event_data
- event_data:
- action: "opened" when clicked to expand, or "closed" when clicked to collapse
- event_name: select_content
- index:
- index_section: number
- index_section_count: number
- text: text of selected accordion
- type: accordion
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)
Show all sections
Priority high
When the 'Show all sections' control is used.
This event is tracked by the event_tracker.
This event occurs on the accordion component.
Data sent to the dataLayer
- event: event_data
- event_data:
- action: "opened" when clicked to expand, or "closed" when clicked to collapse
- event_name: select_content
- index:
- index_section: number
- index_section_count: number
- text: text of show all link when clicked e.g. "Show all sections"
- type: accordion
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)
Accordion links
Priority high
When links within accordion sections are clicked.
This event is tracked by the link_tracker.
This event occurs on the accordion component.
Data sent to the dataLayer
- event: event_data
- event_data:
- event_name: navigation
- external: string ("true" or "false")
- index:
- index_link: number
- index_section: number
- index_section_count: number
- index_total: string (number)
- link_domain: string
- method: string
- section: string
- text: Text of the link
- type: accordion
- 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)