I am trying to monitor the number of clicks on a ebanner on a website and this ebanner links to an external website.

For example, if I'm on abc.com, clicking on the ebanner leaves abc and goes into xyz.com. Google analytics cannot track this event because I do not have the GA access for xyz.com. Hence, I've created a GTM tag to track outbound link.

I have also set up a Google Analytics tag in GTM and created a goal to track this specific event. However, with the tags firing, the goal conversion I set up in GA remained 0.

Am I doing something wrong?

3 Answers 3


You can use Virtual Page Views, sending a "pageview" event to Google Analytics of a page that doesn't actually exist. You can do it this way:

ga('send', 'pageview', '/virtualpageview/nameofthepage')

This will make the pageview appears on your Google Analytics and you can use it to create Goals and/or Events.


use UTM parameter which will get track in Google Analytics


Track it with "linkClick" Event, it is pretty easy to create you have everything predefined, enter conditions that trigger fire when "Click Url" matches xyz.com than when you defining a tag remember what exactly you typed for event category or action. Then go to GA and create a event type goal that will match your event category. That is pretty much it

  • I did track it with linkClick. However, I'm unsure of what I should fill in under Goal details. Under Category, Action, Label and Value. Understand that category is the detail i've input in GTM. What about the rest?
    – J. Shi
    May 8, 2019 at 1:48
  • Category should be enough, when you setting up a goal you can check it on "verify this goal" under step 3 (goal details) and it will show you if the set up is as it should be.
    – Filozof666
    May 8, 2019 at 5:28
  • I've actually re uploaded the question here. Do you spot any errors?webmasters.stackexchange.com/questions/122742/…
    – J. Shi
    May 8, 2019 at 6:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.