How to Track Outbound Link Clicks in GTM
Track when users click links to external websites using GTM. Enable the Click URL built-in variable, create a Click - Just Links trigger filtered to URLs that do not contain your domain, and create a GA4 Event tag. GA4 Enhanced Measurement also tracks outbound clicks automatically, but GTM gives you
Event Trackingtrack outbound links gtm
Quick Summary
Track when users click links to external websites using GTM. Enable the Click URL built-in variable, create a Click - Just Links trigger filtered to URLs that do not contain your domain, and create a GA4 Event tag. GA4 Enhanced Measurement also tracks outbound clicks automatically, but GTM gives you more control over what is tracked.
Was this guide helpful?
Your feedback helps us improve our guides