Tracker Link tracker

This script is intended for adding GA4 tracking to links.

Technical documentation
Tracker code
link_tracker code
Used by
accordion (Accordion links)
breadcrumbs (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))
email alerts and rss subscriptions (email alerts)
email alerts and rss subscriptions (rss subscriptions)
email subscriptions (get emails about this page)
footer (link clicks)
homepage (Link clicks)
html attachments (link clicks)
links (file attachment links)
local lookup (change response)
local lookup (information click)
previous and next (previous and next)
printing (view printable version)
related navigation (related Navigation)
share this page (follow us)
share this page (share this page)
simple smart answers (simple smart answer start)
simple smart answers (change answer)
simple smart answers (results link click)
simple smart answers (start again link click)
smart answers (smart answer start)
smart answers (change answer)
smart answers (results link click)
smart answers (start again link click)
step by step navigation (link clicks)
super navigation header (Crown icon link)
super navigation header (link clicks)
taxonomy pages (taxonomy page links)