Google Tag Manager is an incredibly powerful tool and one you're likely not using to its full potential. In my talk from MozCon 2016, I delivered 29 rapid-fire tips intended to empower marketers to overcome the insurmountable odds and circumnavigate road blocks using this incredibly powerful marketing tool.
29. All Your Click-Tracking with 2 Tags
1st tag — click handling
On click, push to dataLayer
2nd tag — receive/send data
30. “Catch” the data and send to GA.
For each element
attach click handler & function to
push data to the dataLayer.
1st Tag — HTML
2nd Tag - Universal Analytics
32. Define GA Event Values
.click() .submit()
.hover() .change()
Use jQuery
Unique Selector
category/action/
label
Build jQuery Selectors
Choose a Handler
Build Your Own Harvester
33.
34. Test & Release
Build & QA your whole
container locally.
x __
x __
x __
upbuild.io/gtm#4
35. Get Tag Manager Injector
Debug your own container, anywhere.
48. GTM Tags Send Data to GA
& Execute the Redirect
moz.com/download/?asset=specs&org=upbuild
Create a Download page
Sales Sends Links to Leads w/ Asset & Org
GTM Variables Grab Info
49.
50. Track Outbound Clicks
Track & segment clicks
in meaningful ways
for better intelligence.
x 1
x 1
x 1
upbuild.io/gtm#9
51. Configure an Auto Event Variable to
Grab Hostname of Clicked Link
If a link is clicked and that
Variable != your site, send to GA
Group offsite
clicks by domain!
64. What’s the Risk?
Your entire GA profile. Wiped.
GA Filters aren’t sufficient.
GTM can intercept PII before it’s sent.
PII sent to Google servers = ToS Violation
65. Overwrite the Page field in your GA Tag
Create a JavaScript Variable
Search for Emails or CC #s
Leave all other Params, but
Replace PII with a Notification
66. Based on a post from Simo Ahava, “Remove Email Addresses From URL Parameters”
http://www.simoahava.com/analytics/remove-email-addresses-from-url-parameters/
78. Don’t Reinvent the Wheel!
Leverage this amazing contribution to web analytics from
Rob Flaherty of Parsnip.io — http://scrolldepth.parsnip.io/
Baseline
25%
50%
75%
100%
102. or just use
Wistia!
Brought to you by CardinalPath:
cardinalpath.com/youtube-video-tracking-with-google-tag-
manager-v2-and-universal-analytics-a-step-by-step-guide/
Listen for play events
Check for YouTube Videos
Send data to GA
103.
104. Monitor Form Abandonment
Collect & send data to GA
about how far users get
into forms before leaving.
x 1
x 3
x 2
upbuild.io/gtm#25
108. Upload ads.js
If ads.js is blocked, return TRUE
Send to GA as“Ad Blocking”
Custom Dimension
Load the file using GTM
109.
110. Close with Personalization
Cookie users entering the funnel.
Remove it upon conversion.
Modify the site experience
for folks who are still cookied.
x 3
x 1
x 2
upbuild.io/gtm#27
114. Create Flexible Lookups
Use Google Sheets
and import functionality to
build massive and flexible
lookup tables.
x __
x ∞
x __
upbuild.io/gtm#28
115. Massive & Flexible Lookups
Use Google Sheets
and import functionality to
build massive and flexible
lookup tables.
x __
x ∞
x __
This tip brought to you by Stephen Harris at SEER
seerinteractive.com/blog/gtm-match-table-generator/