Highlighted

Tracking all download events in Google Analytics

Rookie Contributor
So I have found that this code works quite well on some other non-tealium sites I have and was wondering what I need to do in order to get it to work in tealium? - http://www.blastam.com/blog/index.php/2013/09/howto-track-downloads-links-universalanalytics I have it set-up as extensions 151 and 152 in QA and DEV profiles. The pages I'm testing this code on are - https://www.worldvision.ca/ABOUTUS/Annual%20Report/2014/review.html - the link I'm testing is a button called "Letter From The CFO" Any help would be great (especially if you can just make the necessary changes yourself and publish to DEV)... then fill me in on why this doesn't work. Thanks!!!
1 REPLY 1
Highlighted

Tracking all download events in Google Analytics

Employee Emeritus
Nicholas, There are a couple things happening causing this not to work, and here are a couple updates I made: 1) Disabled redundant extensions 2) Re-scoped remaining Extension to DOM-Ready 3) Anytime Tracker Names are used they need to be specified in the ga() call. The code from the website did not have any Tracker Names defined. The "utm" and "gclid" Tracker Names were added to the code. This appears to be working now for the two tags the extension was previously scoped to. I may suggest that you remove the direct ga() call and replace it with a utag.link function instead. This will enable you to trigger any other tag with this same code base if needed. Hope this helps.