1
votes

I am attempting to set up event tags for a specific link to a specific domain that occurs several times through out my site. I utilized Universal Analytics and the Link Click Listener and the gtm.linkClick where URL equals off domain site.com.

I am still seeing no activity on the link after having followed Google's set up docs verbatim. Is there a way to create an Event track for outbound links within Google Tag Manager?

2

2 Answers

2
votes

You should have a tag that looks like this:

enter image description here

  • {{gtm.elementUrl}} is a auto-event variable with variable type Element URL

Your rule should look something like this:

enter image description here

Questions for you:

  • Are you sure you published it?
  • What happens when you inspect the click of the off-site link? Do you see a new object created in the dataLayer?

Any additional context you can provide around your configuration would be helpful.

0
votes

Did you setup Google Analytics in GTM? Hard to know what is wrong without more details. Try analyzing using fiddler.