Google Tag Manager External Links with Multiple Domains

123 views Asked by At

All tutorials I have found for setting up external link click (exit tracking) within Google Tag Manager have suggested you create a firing rule such as the one in the image below.

This is great when I know what the domain name will be, however, as I am working with multiple domains I need the external link click trigger to fire on every Element URL that is not equal to the hostname.

I have tried entering the variable {{Page Hostname}} instead of yourdomain.com but that does not seem to work.

Has anyone else had this issue? Google doesn't seem to yield a similar use case.

External Link Clicks Image

0

There are 0 answers