Tracker Event tracker

This script is intended for adding GA4 tracking to interactive elements such as buttons or details elements.

Technical documentation
event_tracker
Tracker code
event_tracker code
Used by
accordion (Accordion section)
accordion (Show all sections)
detail (details expanded/collapsed)
feedback (Is this page useful? Yes)
feedback (Is this page useful? No)
feedback (Report a problem with this page)
feedback (Send me the survey)
feedback (Send)
print page (print page button)
step by step (Open/close step)
step by step (Show/hide all steps)
header menu bar (Header menu bar buttons)
tabs (Tab interaction)