I am trying to implement google analytics with outbound clicks tracking using Google Tag Manager. I have the following tags set:
Google Analytics Universal - Page View - Firing rules: All pages
All Clicks - Link Click Listener - Firing rules: All pages
External Links Tracker - Universal Analytics - Event - Firing rules: External link
The external link rule is defined as follows:
{{event}} equals gtm.linkClick
{{element url }} does not start with http://example.com
{{element url }} does not start with http://www.example.com
When I run the GTM in debug it seems to be working but when I publish it, it does not work. Analytics only collects the normal traffic but no events for outbound clicks.
Any ideas?