Analytics
2.5K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
 
Guide Me
star_border
Reply

Enhanced link attribution in Google Tag Manager

[ Edited ]
Google Employee
# 1
Google Employee

This question was originally asked on the previous Google Analytics product forum.

 

 

How should I add the additional tracking code:

 

var pluginUrl =
'//www.google-analytics.com/plugins/ga/inpage_linkid.js';
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);

 

when I'm using Google Tag Manager? Should I use tag type "custom html tag" or is it possible to set it somewhere in standard "google analytics tag" type.

1 Expert replyverified_user

Re: Enhanced link attribution in Google Tag Manager

Google Employee
# 2
Google Employee

This answer was originally provided on the previous Google Analytics product forum.

 

 

 enable enhanced link attribution in GTM.jpg 

 

Just enable it in your page view tag.

Like that (image linked)