SlideShare a Scribd company logo
When you need custom data in GTM
but a developer is not available
Julius Fedorovicius
analyticsmania.com #WAWCPH
THE BORING STUFF
HOW WELL ARE YOU FAMILIAR
WITH GTM?
GOOGLE TAG MANAGER IN A NUTSHELL
WHO STARTED USING GTM BECAUSE:
“You won’t need to rely on developers anymore”
“No coding needed”
?
THE REALITY IS QUITE THE OPPOSITE
PARADOX
The more I know GTM
the more I depend on developers
BUT NOT EVERY PROJECT IS PERFECT
BUT NOT EVERY PROJECT IS PERFECT
No IT resources
Developers have other priorities
Silly analytics
When You Need Custom Data in GTM but a Developer is Not Available
How can I do X
with GTM?
What about this?
Learn JavaScript
Yup, JavaScript
How can I travel
to Aalborg?
Hi, can you help me?
Sure
Step 1: learn how to
build a plane
BACK TO THE MAIN TOPIC
How to get custom data in GTM when a
developer is not available
I NEED TO TRACK X ON A SITE
GTM basic features are not helpful
Developer is not available
WHAT DO I DO?
When You Need Custom Data in GTM but a Developer is Not Available
Just kidding
Tip #0
Just use Google
When You Need Custom Data in GTM but a Developer is Not Available
When You Need Custom Data in GTM but a Developer is Not Available
DISCLAIMER
The following tips are not universal
There is no “one size fits all”
Tip #1
URL Variable
When You Need Custom Data in GTM but a Developer is Not Available
When You Need Custom Data in GTM but a Developer is Not Available
When You Need Custom Data in GTM but a Developer is Not Available
Learn more about URL Variable - bit.ly/gtm_url
Tip #2
Auto-event Variable
IMAGINE A SITUATION
IMAGINE A SITUATION
When You Need Custom Data in GTM but a Developer is Not Available
When You Need Custom Data in GTM but a Developer is Not Available
Learn more about the Auto-event Variable - bit.ly/gtm_aev
Tip #3
DOM Element Variable
When You Need Custom Data in GTM but a Developer is Not Available
When You Need Custom Data in GTM but a Developer is Not Available
When You Need Custom Data in GTM but a Developer is Not Available
HOW CAN YOU FIND THE ID?
When You Need Custom Data in GTM but a Developer is Not Available
WHAT IF AN ELEMENT
DOES NOT HAVE AN ID?
ENTER THE ZONE OF
CSS SELECTORS
Learn more about
CSS Selectors - bit.ly/gtm_css
Learn more about the Auto-event Variable - bit.ly/gtm_dom
HOW IS AUTO-EVENT VARIABLE
DIFFERENT FROM DOM ELEMENT VARIABLE?
Tip #4
JAVASCRIPT VARIABLE
SCOPE IN JAVASCRIPT
GLOBAL SCOPE IN JAVASCRIPT
JAVASCRIPT VARIABLE IN GTM
WHAT OTHER GLOBAL JS VARIABLES ARE
AVAILABLE ON A PAGE?
When You Need Custom Data in GTM but a Developer is Not Available
… and the list goes on and on
When You Need Custom Data in GTM but a Developer is Not Available
When You Need Custom Data in GTM but a Developer is Not Available
When You Need Custom Data in GTM but a Developer is Not Available
When You Need Custom Data in GTM but a Developer is Not Available
When You Need Custom Data in GTM but a Developer is Not Available
BUT WAIT, THERE’S MORE
• 1st-party Cookie Variable - bit.ly/gtmcookies
• Browser storage - bit.ly/gtmstorage
• Listener without coding skills - bit.ly/gtm_nocode
KEY
TAKEAWAYS
KEY TAKEAWAYS
• Google Search is your friend (+ developer’s review)
• URL variable returns a part of the URL
• Auto-event Variable returns data of the element that a
user interacted with
• DOM Element Variable returns data about the
element that exists on a page
KEY TAKEAWAYS
• DOM scraping is risky
• JavaScript Variable returns a global JS variable
• If you get stuck, wait for a developer or ask in the
communities/forums
THANK YOU!
www.analyticsmania.com

More Related Content

PDF
GDPR Impact to Analytics & Marketing
PDF
The Marketing Analytics Stack - How to Use Customer Data for Traction and Growth
PDF
customTask: Your New Google Analytics BFF
PDF
Turbocharging Google Analytics
PPTX
Tracking ist nicht kaputt!
PDF
How Google Tag Manager can save your seo ? - Talk for Brighton SEO 2017
PDF
Martijn Scheijbeler @ All Things DATA 2016
PPTX
Keynote: 6 Steps to Big Data Success for Digital Marketing
GDPR Impact to Analytics & Marketing
The Marketing Analytics Stack - How to Use Customer Data for Traction and Growth
customTask: Your New Google Analytics BFF
Turbocharging Google Analytics
Tracking ist nicht kaputt!
How Google Tag Manager can save your seo ? - Talk for Brighton SEO 2017
Martijn Scheijbeler @ All Things DATA 2016
Keynote: 6 Steps to Big Data Success for Digital Marketing

What's hot (6)

PPT
How To Judge Link Building Successl
PPS
How to judge link building success
PPT
Data Data Everywhere - Goldsmith
PPT
Google Analytics And Website Optimizer
PPT
An introduction to Google Analytics
PPTX
Tag Management Solutions - Best Data Ever (Marketing Festival 2014)
How To Judge Link Building Successl
How to judge link building success
Data Data Everywhere - Goldsmith
Google Analytics And Website Optimizer
An introduction to Google Analytics
Tag Management Solutions - Best Data Ever (Marketing Festival 2014)
Ad

Similar to When You Need Custom Data in GTM but a Developer is Not Available (20)

PPTX
How to get data with Google Tag Manager when developer is not available
PPTX
Track Everything with Google Tag Manager - #DFWSEM May 2017
PPTX
Jared Smith - MeasureCamp Austin 2020 Presentation
PPTX
Moments That Matter: 4 Tricks for Measuring Your Website
PDF
How Google Tag Manager changes everything you knew about website analytics
PPT
Crash Course on Google Analytics
PDF
How to Auto Enable Google Analytics UTM Tracking Code for Social Media
PDF
CoreyKamyarKatir.pdf
PPTX
Top Google Analytics Customisations - Brighton SEO April 2018
PDF
Google Tag Manager - Revolve Conference 2015
PDF
Google Tag Manager (Manual in English)
PPTX
Advanced Google Analytics #SearchFest
PDF
Google Tag Manager for actionable metrics - Beyond basic Google Analytics
PDF
Top 10 Tips for Google Tag Manager
PPTX
Expert Tips and Techniques for Using Google Tag Manager
PPTX
Geary LSF University Presents: Analytics Basics
PPTX
Google_Analytics_PPT.pptx
PPT
Why And How To Upgrade To Google Analytics To Universal Analytics
PDF
29 Advanced Google Tag Manager Tips Every Marketer Should Know
PDF
Proving your worth - Demonstrating the value of your SEO campaign
How to get data with Google Tag Manager when developer is not available
Track Everything with Google Tag Manager - #DFWSEM May 2017
Jared Smith - MeasureCamp Austin 2020 Presentation
Moments That Matter: 4 Tricks for Measuring Your Website
How Google Tag Manager changes everything you knew about website analytics
Crash Course on Google Analytics
How to Auto Enable Google Analytics UTM Tracking Code for Social Media
CoreyKamyarKatir.pdf
Top Google Analytics Customisations - Brighton SEO April 2018
Google Tag Manager - Revolve Conference 2015
Google Tag Manager (Manual in English)
Advanced Google Analytics #SearchFest
Google Tag Manager for actionable metrics - Beyond basic Google Analytics
Top 10 Tips for Google Tag Manager
Expert Tips and Techniques for Using Google Tag Manager
Geary LSF University Presents: Analytics Basics
Google_Analytics_PPT.pptx
Why And How To Upgrade To Google Analytics To Universal Analytics
29 Advanced Google Tag Manager Tips Every Marketer Should Know
Proving your worth - Demonstrating the value of your SEO campaign
Ad

More from IIHEvents (20)

PDF
The Harvest is Plentiful, but the Workers are Few
PDF
How Feed Automation Can Get You to the Next Level
PDF
A Market Leading Data Setup and Organisation
PDF
Yasamin Malikshahi om 7 tips til mobilsalg - december 2019
PDF
Christian Doeleman-Lassen om Konverteringsoptimering: den hemmelige ingredien...
PPTX
Florian Pertynski session at Google Partner Summit Review
PPTX
Creating a market-leading data setup in 6 months by Marie Lykke
PPTX
From growth to profit by Johan Bisgaard Larsen
PPTX
Driven?
PPTX
Digital Impact Forum Nov 7
PDF
Going Hyper Local
PPTX
Social Media Advertising Strategies
PPTX
Conversions and Content that Attract Your Audience
PPTX
Firebase Analytics - Tales from the Trenches
PPTX
Consequences and Indications - A High-Level Perspective on Firebase
PPTX
Technical Deep Dive - Inside Firebase
PPTX
The Difficult Questions Your Digital Strategist Wants You To Ask (And Some Th...
PPTX
The digital strategy myths 3 things to consider
PPTX
Orchestrating Data to Increase Sales & Reduce Costs
PDF
Simo Ahava slides
The Harvest is Plentiful, but the Workers are Few
How Feed Automation Can Get You to the Next Level
A Market Leading Data Setup and Organisation
Yasamin Malikshahi om 7 tips til mobilsalg - december 2019
Christian Doeleman-Lassen om Konverteringsoptimering: den hemmelige ingredien...
Florian Pertynski session at Google Partner Summit Review
Creating a market-leading data setup in 6 months by Marie Lykke
From growth to profit by Johan Bisgaard Larsen
Driven?
Digital Impact Forum Nov 7
Going Hyper Local
Social Media Advertising Strategies
Conversions and Content that Attract Your Audience
Firebase Analytics - Tales from the Trenches
Consequences and Indications - A High-Level Perspective on Firebase
Technical Deep Dive - Inside Firebase
The Difficult Questions Your Digital Strategist Wants You To Ask (And Some Th...
The digital strategy myths 3 things to consider
Orchestrating Data to Increase Sales & Reduce Costs
Simo Ahava slides

Recently uploaded (20)

PDF
Lecture1 pattern recognition............
PDF
Optimise Shopper Experiences with a Strong Data Estate.pdf
PDF
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
PPTX
SAP 2 completion done . PRESENTATION.pptx
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
PDF
Transcultural that can help you someday.
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PDF
Introduction to the R Programming Language
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
PPTX
Leprosy and NLEP programme community medicine
PDF
Microsoft Core Cloud Services powerpoint
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
importance of Data-Visualization-in-Data-Science. for mba studnts
PDF
Mega Projects Data Mega Projects Data
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
Pilar Kemerdekaan dan Identi Bangsa.pptx
PDF
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
Lecture1 pattern recognition............
Optimise Shopper Experiences with a Strong Data Estate.pdf
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
SAP 2 completion done . PRESENTATION.pptx
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
ISS -ESG Data flows What is ESG and HowHow
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
Transcultural that can help you someday.
Acceptance and paychological effects of mandatory extra coach I classes.pptx
IBA_Chapter_11_Slides_Final_Accessible.pptx
Introduction to the R Programming Language
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
Leprosy and NLEP programme community medicine
Microsoft Core Cloud Services powerpoint
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
importance of Data-Visualization-in-Data-Science. for mba studnts
Mega Projects Data Mega Projects Data
climate analysis of Dhaka ,Banglades.pptx
Pilar Kemerdekaan dan Identi Bangsa.pptx
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...

When You Need Custom Data in GTM but a Developer is Not Available