Tracker Link tracker

This script is intended for adding GA4 tracking to links.

Technical documentation
link_tracker
Tracker code
link_tracker code
Used by
accordion (Accordion links)
breadcrumb (link clicks)
browse (browse (browse level 0))
browse (browse topic (browse level 1))
browse (action link (browse level 1))
browse (browse subtopic (browse level 2))
contents list (link click)
subscribe (email alerts)
subscribe (rss subscriptions)
email subscriptions (get emails about this page)
footer (link clicks)
homepage (Link clicks)
html attachment (link clicks)
links (file attachment links)
special route (change response)
special route (information click)
previous and next (previous and next)
print page (view printable version)
related content (related Navigation)
share page (follow us)
share page (share this page)
simple smart answer (simple smart answer start)
simple smart answer (change answer)
simple smart answer (results link click)
simple smart answer (start again link click)
smart answer (smart answer start)
smart answer (change answer)
smart answer (results link click)
smart answer (start again link click)
step by step (link clicks)
header menu bar (Crown icon link)
header menu bar (link clicks)
taxonomy pages (taxonomy page links)
webchat (webchat available link click)