By Timur Kuchushev, 22 June 2016

Tracking outbound links with Google Tag Manager, Recipe

Readymade recipe for GTM automatically tracks clicks on external links.
  1. Insert your UA ID and download container JSON file.
  2. Log into your own Google Tag Manager container and head to the Admin section of the site. Under Container options, select Import Container.
1
Download Container File
Insert your UA ID and download container JSON file.
2
Import File to GTM
Log into your own Google Tag Manager, go to Admin section of the site. Under Container options, select Import Container. Select container file and pick "Merge" option.

3
Preview, Publish
Use Preview mode to test container on your site, make sure they're working properly. If everything works good — publish!

Back to the list