SlideShare uma empresa Scribd logo
1 de 35
Baixar para ler offline
HOW GOOGLE TAG MANAGER
CHANGES EVERYTHING YOU KNEW
ABOUT WEBSITE ANALYTICS
Montgomery Webster
User Experience Designer (UX) & Analytics Technologist
2014 November
V2
OUTLINE
• Tag Management Systems (TMS)
• What are tags?
• Benefits
• Google Tag Manager
• Why now? Universal Analytics, 2nd
generation of Google Analytics
• How it works
• Implementation outline
• Complexity and the dataLayer
• Workflow
• The ownership question
• Account creation best practices
• Next steps
THE CASE FOR
TAG MANAGEMENT SYSTEMS (TMS)
Tags are the fundamental building blocks of HTML webpages:
Tag: <tagName>optional text</tagName>
Basic webpage example: <html><body><h1>Hello World!</h1></body></html>
Tracking codes are also tags. ‘Code’ here is used to identify a <script> tag.
GTM container code:
<!-- Google Tag Manager --><noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-00001A"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]
=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.
createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.
parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-00001A');</script> <!-- End Google
Tag Manager -->
What are tags?
Tags can be placed on individual pages or site wide depending on their purpose.
For example, Google Analytics goes on all pages,
while Google AdWords or Doubleclick might only go on specific conversion pages.
Where do tracking tags go?
We add Google Analytics (tracking tag and events) during development.
1. Once the preview site has been approved by client, UX will work with the
developers to specify any event tracking within the budget and contractual
requirements
However, that isn’t the end of the story.
2. When the site goes live, client SEM and display advertising agencies will
start gearing up their requirements and send them through
3. At this point, additional bookings must be secured for the tags to be added
and a deployment to be scheduled
This is painful and inefficient…
How tags are currently added to a website
TMSs replace all existing tags with a single tag.
That TMS tag will then dynamically load all other tags, regardless of the quantity.
The TMS has a management interface where marketers can manage tags
themselves without having to rely on IT.
The Tag Management System value proposition
• Add, update, remove, and replace tags quickly
• Faster page load times, since every old tag added to the page latency
• Auto-event tracking
• Free IT to work on higher priority and more interesting tasks
• View all tags in one place
• Preview mode for debugging
• Version history
TMS Benefits
Clients can break their sites.
An eCommerce site can lose millions of pounds with a single error.
Though this risk is small, never lose sight of it…
TMS Risks
INTRODUCING
GOOGLE TAG MANAGER
Before GTM, not many people had every heard of a TMS.
The reason we are talking about GTM right now is because Google has very
visibly introduced a free solution to a problem a lot of people were having.
Full list of benefits: http://static.googleusercontent.com/media/www.google.
com/en//tagmanager/pdfs/google-tag-manager-technical-factsheet.pdf
Google Tag Manager is a TMS
GTM was released in October 2012, over 2 years ago.
Universal Analytics, effectively Google Analytics version 2,
was released in March 2013.
If clients wanted to move to Universal Analytics, they would have to completely
redo all custom tags:
• eCommerce (enhanced)
• Event tracking
Instead, most clients will move to GTM and UA at the same time.
Why now?
GTM is made of 3 elements:
• Tags
• Variables
• Triggers
Triggers and variables control how and when tags fire.
Once executed, tags then send data to 3rd
parties.
How Google Tag Manager works
The Google Analytics tracking code can be replaced by a single tag in GTM.
However, each GA event you want to send is likely another GTM tag.
Everything is now a tag
1. Client creates GTM account & container (GTM tracking code)
2. Deploy empty GTM container to site
3. Map site: Evaluate current tags on site and future data collection needs
4. Configure GTM account (through management interface)
5. Test in debug mode
6. Migrate: Simultaneously remove old, hard-coded tags and publish GTM version
Implementation outline
Now that you only have replaced all your old tags with the single GTM tag on each
page, any code that uses your previous tags will not function (even if your old
tags are loaded through GTM).
All code must be configured through GTM and / or rewritten to it’s specifications.
For example, all Google Analytics event tracking and eCommerce must be redone.
This can be a lot of work.
Implications: This is where it starts to get complicated
THE TAG MANAGEMENT INTERFACE
Introducing Google Tag Manager
GTM does not store any data itself.
Notice the default Google Analytics tag named “Pageviews”.
The interface
Templates: A simple tag example
Introducing Triggers
Built-in variables
User-defined variables
Common user-defined variables
DOM Element
• Requires HTML element ID
Developer required variables:
• Auto-event variable
• Custom event
• Data layer variable
• JavaScript variable
GTM is adding code to the website without any developer oversight.
Most of these tags have limited risk, especially with the debug tool.
Custom JavaScript variables are the exception…
Danger: Custom JavaScript variables
This field should be a JavaScript function that returns a value
using the 'return' statement. If the function does not explicitly
return a value, it will return undefined and your container may not
behave as expected. Below is an example of this field:
function() {
var now = new Date();
return now.getTime();
}
?
While these variables might work fine at first,
as changes are made to the site over time, they can break.
What this means is that the site now has a runtime-error:
• Prevents other code from running (which could completely break an
eCommerce checkout process and drastically reduce revenue)
• Damages SERP rankings, since errors are an important SEO factor
• Developers are not comfortable with this risk (I’ve asked them)
The risk with custom JavaScript variables
COMPLEXITY AND THE DATALAYER
Introducing Google Tag Manager
Just as Google Analytics leaves a lot to be desired out of the box,
GTM presents a lot of limitations without proper integration.
• If GTM users cannot create a trigger or access a variable accurately,
developers will have to add code to the site.
• While some event tracking can be done in GTM alone, eCommerce
configurations will need developer collaboration.
Out of the box
“The Data Layer is an optional JavaScript object you can use to help manage
the information your tags are gathering from your site.”
<body>
<script>
dataLayer = [{
'visitorType': 'high-value’
'event': 'customizeCar'
}];
</script>
<!-- Google Tag Manager --> … <!-- End Google Tag Manager →
Introducing the dataLayer
Persistent and custom variables: “Data layer variables that are relevant
across pages (e.g. visitorType) must therefore be declared in the data layer on
each page of your website.”
Events: “Google Tag Manager provides a special data layer variable called an
event that is used within JavaScript event listeners to initiate tag firing when a
user interacts with website elements such as a button.”
<a href="#" name="color" onclick="dataLayer.push({ 'color': 'red',
'conversionValue': 50, 'event': 'customizeCar'});">Customize Color</a>
How the dataLayer works
The dataLayer is straightforward for developers to implement.
The bad news is that dataLayer additions are the very problem we are trying to
solve by having a tag manager in the first place.
DataLayer development complexity
HOW GOOGLE TAG MANAGER
CHANGES OUR WORKFLOW
Since Google Tag Manager has been advertised as a tool for marketers,
clients may be interested in managing their account without us.
As a result, when GTM is discussed with a client, a few basic questions must
be answered…
The ownership question
• Who is in charge of managing Google Tag Manager, Jaywing or client?
– If client is managing everything themselves, there isn’t much else for us to do
• What tags are planned for GTM?
– E.g., classic Google Analytics, Universal Analytics, Adwords, DoubleClick,
comScore, etc.
– If classic Google Analytics is in use, do you want to use this opportunity to move to
Universal Analytics?
• What is the implementation plan? (See implementation slide)
Questions to ask clients
If clients do want us to manage their GTM…
…the best practice approach is for clients to create their own account,
then add us as administrators.
[They will need a Google account to do this.]
Google Tag Manager account creation
There is a lot to learn about Google Tag Manager
• Can run side-by-side with Google Analytics and other tracking tags
• Full implementation will require completely replacing all existing tracking code
• Not code-free: more complicated requirements will need development work,
including eCommerce and some event tracking
• There are risks associated with Google Tag Manager
• Be wary of GTM marketing material promises
– GTM can be complicated to learn
– Auto-event tracking isn’t always the correct solution
SUMMARY

Mais conteúdo relacionado

Mais procurados

Google Tag Manager (GTM)
Google Tag Manager (GTM)Google Tag Manager (GTM)
Google Tag Manager (GTM)Dragos Ionita
 
Google Tag Manager for beginners
Google Tag Manager for beginnersGoogle Tag Manager for beginners
Google Tag Manager for beginnersL3analytics
 
Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)Yourposition AG
 
Benefits of Google Tag Manager
Benefits of Google Tag ManagerBenefits of Google Tag Manager
Benefits of Google Tag ManagerPhil Pearce
 
All about google tag manager - Basics
All about google tag manager - Basics All about google tag manager - Basics
All about google tag manager - Basics Rob Levish
 
Bridging google analytics &amp; tag manager #melbseo meetup
Bridging google analytics &amp; tag manager #melbseo meetupBridging google analytics &amp; tag manager #melbseo meetup
Bridging google analytics &amp; tag manager #melbseo meetupDaniel Wild
 
Google Analytics and Google Tag Manager for Startups
Google Analytics and Google Tag Manager for StartupsGoogle Analytics and Google Tag Manager for Startups
Google Analytics and Google Tag Manager for StartupsJoost Hoogstrate
 
Track Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsTrack Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsEmpirical Path
 
What is google tag manager and how to get started
What is google tag manager and how to get startedWhat is google tag manager and how to get started
What is google tag manager and how to get startedNithish P
 
Secrets to Optimize Website Tracking for User Engagement
Secrets to Optimize Website Tracking for User EngagementSecrets to Optimize Website Tracking for User Engagement
Secrets to Optimize Website Tracking for User EngagementAlightAnalytics
 
One Further - Spektrix and Google Analytics 4
One Further - Spektrix and Google Analytics 4One Further - Spektrix and Google Analytics 4
One Further - Spektrix and Google Analytics 4One Further
 
Matteo Zambon Measurecamp europe 2021 - conversion api con google tag manag...
Matteo Zambon   Measurecamp europe 2021 - conversion api con google tag manag...Matteo Zambon   Measurecamp europe 2021 - conversion api con google tag manag...
Matteo Zambon Measurecamp europe 2021 - conversion api con google tag manag...Matteo Zambon
 
What to Expect from the Google Analytics Exam 2014
What to Expect from the Google Analytics Exam 2014What to Expect from the Google Analytics Exam 2014
What to Expect from the Google Analytics Exam 2014IndigoVerge
 
[Android] Publish on Google Play & Google Analytics
[Android] Publish on Google Play & Google Analytics[Android] Publish on Google Play & Google Analytics
[Android] Publish on Google Play & Google AnalyticsNatã Melo
 
[Android] Google Service Play & Google Maps
[Android] Google Service Play & Google Maps[Android] Google Service Play & Google Maps
[Android] Google Service Play & Google MapsNatã Melo
 
Data mining with Google analytics
Data mining with Google analyticsData mining with Google analytics
Data mining with Google analyticsGreg Bray
 
Google Tag Manager for actionable metrics - Beyond basic Google Analytics
Google Tag Manager for actionable metrics - Beyond basic Google AnalyticsGoogle Tag Manager for actionable metrics - Beyond basic Google Analytics
Google Tag Manager for actionable metrics - Beyond basic Google AnalyticsDesignHammer
 
Content marketing for Startups - Making Your Funnel Work
Content marketing for Startups - Making Your Funnel WorkContent marketing for Startups - Making Your Funnel Work
Content marketing for Startups - Making Your Funnel WorkJoost Hoogstrate
 

Mais procurados (19)

Google Tag Manager (GTM)
Google Tag Manager (GTM)Google Tag Manager (GTM)
Google Tag Manager (GTM)
 
Google tag manager
Google tag managerGoogle tag manager
Google tag manager
 
Google Tag Manager for beginners
Google Tag Manager for beginnersGoogle Tag Manager for beginners
Google Tag Manager for beginners
 
Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)
 
Benefits of Google Tag Manager
Benefits of Google Tag ManagerBenefits of Google Tag Manager
Benefits of Google Tag Manager
 
All about google tag manager - Basics
All about google tag manager - Basics All about google tag manager - Basics
All about google tag manager - Basics
 
Bridging google analytics &amp; tag manager #melbseo meetup
Bridging google analytics &amp; tag manager #melbseo meetupBridging google analytics &amp; tag manager #melbseo meetup
Bridging google analytics &amp; tag manager #melbseo meetup
 
Google Analytics and Google Tag Manager for Startups
Google Analytics and Google Tag Manager for StartupsGoogle Analytics and Google Tag Manager for Startups
Google Analytics and Google Tag Manager for Startups
 
Track Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsTrack Report & Optimize Your Web Creations
Track Report & Optimize Your Web Creations
 
What is google tag manager and how to get started
What is google tag manager and how to get startedWhat is google tag manager and how to get started
What is google tag manager and how to get started
 
Secrets to Optimize Website Tracking for User Engagement
Secrets to Optimize Website Tracking for User EngagementSecrets to Optimize Website Tracking for User Engagement
Secrets to Optimize Website Tracking for User Engagement
 
One Further - Spektrix and Google Analytics 4
One Further - Spektrix and Google Analytics 4One Further - Spektrix and Google Analytics 4
One Further - Spektrix and Google Analytics 4
 
Matteo Zambon Measurecamp europe 2021 - conversion api con google tag manag...
Matteo Zambon   Measurecamp europe 2021 - conversion api con google tag manag...Matteo Zambon   Measurecamp europe 2021 - conversion api con google tag manag...
Matteo Zambon Measurecamp europe 2021 - conversion api con google tag manag...
 
What to Expect from the Google Analytics Exam 2014
What to Expect from the Google Analytics Exam 2014What to Expect from the Google Analytics Exam 2014
What to Expect from the Google Analytics Exam 2014
 
[Android] Publish on Google Play & Google Analytics
[Android] Publish on Google Play & Google Analytics[Android] Publish on Google Play & Google Analytics
[Android] Publish on Google Play & Google Analytics
 
[Android] Google Service Play & Google Maps
[Android] Google Service Play & Google Maps[Android] Google Service Play & Google Maps
[Android] Google Service Play & Google Maps
 
Data mining with Google analytics
Data mining with Google analyticsData mining with Google analytics
Data mining with Google analytics
 
Google Tag Manager for actionable metrics - Beyond basic Google Analytics
Google Tag Manager for actionable metrics - Beyond basic Google AnalyticsGoogle Tag Manager for actionable metrics - Beyond basic Google Analytics
Google Tag Manager for actionable metrics - Beyond basic Google Analytics
 
Content marketing for Startups - Making Your Funnel Work
Content marketing for Startups - Making Your Funnel WorkContent marketing for Startups - Making Your Funnel Work
Content marketing for Startups - Making Your Funnel Work
 

Semelhante a How Google Tag Manager changes everything you knew about website analytics

Introduction about Google Tag manager
Introduction about Google Tag manager Introduction about Google Tag manager
Introduction about Google Tag manager Jam Hassan
 
Introduction to Google Tag Manager
Introduction to Google Tag ManagerIntroduction to Google Tag Manager
Introduction to Google Tag ManagerSteven Stadler
 
Expert Tips and Techniques for Using Google Tag Manager
Expert Tips and Techniques  for Using Google Tag ManagerExpert Tips and Techniques  for Using Google Tag Manager
Expert Tips and Techniques for Using Google Tag ManagerOWOX BI
 
Boondoggle University: Google Tag Manager
Boondoggle University: Google Tag ManagerBoondoggle University: Google Tag Manager
Boondoggle University: Google Tag ManagerBoondoggle
 
A Detailed Guide on New Google Global Site Tag.pdf
A Detailed Guide on New Google Global Site Tag.pdfA Detailed Guide on New Google Global Site Tag.pdf
A Detailed Guide on New Google Global Site Tag.pdfecommerce Trends
 
Google Tag Manager in 28 Minutes
Google Tag Manager in 28 MinutesGoogle Tag Manager in 28 Minutes
Google Tag Manager in 28 Minutes610 Digital, LLC
 
Having fun with Google Tag Manager (implement cool things like weather tracki...
Having fun with Google Tag Manager (implement cool things like weather tracki...Having fun with Google Tag Manager (implement cool things like weather tracki...
Having fun with Google Tag Manager (implement cool things like weather tracki...Eventz.Digital
 
googletagmanager-230602072244-9b17e12b (1).pptx
googletagmanager-230602072244-9b17e12b (1).pptxgoogletagmanager-230602072244-9b17e12b (1).pptx
googletagmanager-230602072244-9b17e12b (1).pptxarthiravi92
 
Universal Analytics and Google Tag Manager
Universal Analytics and Google Tag ManagerUniversal Analytics and Google Tag Manager
Universal Analytics and Google Tag ManagerYehoshua
 
Universal Analytics and Google Tag Manager - Superweek 2014
Universal Analytics and Google Tag Manager - Superweek 2014Universal Analytics and Google Tag Manager - Superweek 2014
Universal Analytics and Google Tag Manager - Superweek 2014Analytics Ninja LLC
 
Most Advanced GTM Deployment. Ever!
Most Advanced GTM Deployment. Ever!Most Advanced GTM Deployment. Ever!
Most Advanced GTM Deployment. Ever!Phil Pearce
 
Google Tag Manager - 5 years. What have we learned?
Google Tag Manager - 5 years. What have we learned?Google Tag Manager - 5 years. What have we learned?
Google Tag Manager - 5 years. What have we learned?Simo Ahava
 
Crash Course on Google Analytics
Crash Course on Google AnalyticsCrash Course on Google Analytics
Crash Course on Google AnalyticsGrowth Hacking Asia
 
[29-05-2023] All Brands Audit & Solution performances.pptx
[29-05-2023] All Brands Audit & Solution performances.pptx[29-05-2023] All Brands Audit & Solution performances.pptx
[29-05-2023] All Brands Audit & Solution performances.pptxrahmathidayat471220
 

Semelhante a How Google Tag Manager changes everything you knew about website analytics (20)

Introduction about Google Tag manager
Introduction about Google Tag manager Introduction about Google Tag manager
Introduction about Google Tag manager
 
Tag Management Systems
Tag Management SystemsTag Management Systems
Tag Management Systems
 
Introduction to Google Tag Manager
Introduction to Google Tag ManagerIntroduction to Google Tag Manager
Introduction to Google Tag Manager
 
Expert Tips and Techniques for Using Google Tag Manager
Expert Tips and Techniques  for Using Google Tag ManagerExpert Tips and Techniques  for Using Google Tag Manager
Expert Tips and Techniques for Using Google Tag Manager
 
Boondoggle University: Google Tag Manager
Boondoggle University: Google Tag ManagerBoondoggle University: Google Tag Manager
Boondoggle University: Google Tag Manager
 
Google Tag Manager
Google Tag ManagerGoogle Tag Manager
Google Tag Manager
 
A Detailed Guide on New Google Global Site Tag.pdf
A Detailed Guide on New Google Global Site Tag.pdfA Detailed Guide on New Google Global Site Tag.pdf
A Detailed Guide on New Google Global Site Tag.pdf
 
Google Tag Manager in 28 Minutes
Google Tag Manager in 28 MinutesGoogle Tag Manager in 28 Minutes
Google Tag Manager in 28 Minutes
 
Having fun with Google Tag Manager (implement cool things like weather tracki...
Having fun with Google Tag Manager (implement cool things like weather tracki...Having fun with Google Tag Manager (implement cool things like weather tracki...
Having fun with Google Tag Manager (implement cool things like weather tracki...
 
googletagmanager-230602072244-9b17e12b (1).pptx
googletagmanager-230602072244-9b17e12b (1).pptxgoogletagmanager-230602072244-9b17e12b (1).pptx
googletagmanager-230602072244-9b17e12b (1).pptx
 
Google Tag Manager.pptx
Google Tag Manager.pptxGoogle Tag Manager.pptx
Google Tag Manager.pptx
 
Universal Analytics and Google Tag Manager
Universal Analytics and Google Tag ManagerUniversal Analytics and Google Tag Manager
Universal Analytics and Google Tag Manager
 
Universal Analytics and Google Tag Manager - Superweek 2014
Universal Analytics and Google Tag Manager - Superweek 2014Universal Analytics and Google Tag Manager - Superweek 2014
Universal Analytics and Google Tag Manager - Superweek 2014
 
Stima mkt cloud-tms_20150319
Stima mkt cloud-tms_20150319Stima mkt cloud-tms_20150319
Stima mkt cloud-tms_20150319
 
Google Tag Manager 101
Google Tag Manager 101Google Tag Manager 101
Google Tag Manager 101
 
Most Advanced GTM Deployment. Ever!
Most Advanced GTM Deployment. Ever!Most Advanced GTM Deployment. Ever!
Most Advanced GTM Deployment. Ever!
 
Google Tag Manager - 5 years. What have we learned?
Google Tag Manager - 5 years. What have we learned?Google Tag Manager - 5 years. What have we learned?
Google Tag Manager - 5 years. What have we learned?
 
Crash Course on Google Analytics
Crash Course on Google AnalyticsCrash Course on Google Analytics
Crash Course on Google Analytics
 
[29-05-2023] All Brands Audit & Solution performances.pptx
[29-05-2023] All Brands Audit & Solution performances.pptx[29-05-2023] All Brands Audit & Solution performances.pptx
[29-05-2023] All Brands Audit & Solution performances.pptx
 
Magento SEO Tips and Tricks
Magento SEO Tips and TricksMagento SEO Tips and Tricks
Magento SEO Tips and Tricks
 

Último

Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa494f574xmv
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhimiss dipika
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Paul Calvano
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predieusebiomeyer
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一Fs
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMartaLoveguard
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一Fs
 
Intellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptxIntellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptxBipin Adhikari
 
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New OrleansElevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleanscorenetworkseo
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一Fs
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书rnrncn29
 

Último (20)

Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhi
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptx
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
 
Intellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptxIntellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptx
 
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New OrleansElevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleans
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
 

How Google Tag Manager changes everything you knew about website analytics

  • 1. HOW GOOGLE TAG MANAGER CHANGES EVERYTHING YOU KNEW ABOUT WEBSITE ANALYTICS Montgomery Webster User Experience Designer (UX) & Analytics Technologist 2014 November V2
  • 2. OUTLINE • Tag Management Systems (TMS) • What are tags? • Benefits • Google Tag Manager • Why now? Universal Analytics, 2nd generation of Google Analytics • How it works • Implementation outline • Complexity and the dataLayer • Workflow • The ownership question • Account creation best practices • Next steps
  • 3. THE CASE FOR TAG MANAGEMENT SYSTEMS (TMS)
  • 4. Tags are the fundamental building blocks of HTML webpages: Tag: <tagName>optional text</tagName> Basic webpage example: <html><body><h1>Hello World!</h1></body></html> Tracking codes are also tags. ‘Code’ here is used to identify a <script> tag. GTM container code: <!-- Google Tag Manager --><noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-00001A" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l] =w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d. createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f. parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-00001A');</script> <!-- End Google Tag Manager --> What are tags?
  • 5. Tags can be placed on individual pages or site wide depending on their purpose. For example, Google Analytics goes on all pages, while Google AdWords or Doubleclick might only go on specific conversion pages. Where do tracking tags go?
  • 6. We add Google Analytics (tracking tag and events) during development. 1. Once the preview site has been approved by client, UX will work with the developers to specify any event tracking within the budget and contractual requirements However, that isn’t the end of the story. 2. When the site goes live, client SEM and display advertising agencies will start gearing up their requirements and send them through 3. At this point, additional bookings must be secured for the tags to be added and a deployment to be scheduled This is painful and inefficient… How tags are currently added to a website
  • 7. TMSs replace all existing tags with a single tag. That TMS tag will then dynamically load all other tags, regardless of the quantity. The TMS has a management interface where marketers can manage tags themselves without having to rely on IT. The Tag Management System value proposition
  • 8. • Add, update, remove, and replace tags quickly • Faster page load times, since every old tag added to the page latency • Auto-event tracking • Free IT to work on higher priority and more interesting tasks • View all tags in one place • Preview mode for debugging • Version history TMS Benefits
  • 9. Clients can break their sites. An eCommerce site can lose millions of pounds with a single error. Though this risk is small, never lose sight of it… TMS Risks
  • 11. Before GTM, not many people had every heard of a TMS. The reason we are talking about GTM right now is because Google has very visibly introduced a free solution to a problem a lot of people were having. Full list of benefits: http://static.googleusercontent.com/media/www.google. com/en//tagmanager/pdfs/google-tag-manager-technical-factsheet.pdf Google Tag Manager is a TMS
  • 12. GTM was released in October 2012, over 2 years ago. Universal Analytics, effectively Google Analytics version 2, was released in March 2013. If clients wanted to move to Universal Analytics, they would have to completely redo all custom tags: • eCommerce (enhanced) • Event tracking Instead, most clients will move to GTM and UA at the same time. Why now?
  • 13. GTM is made of 3 elements: • Tags • Variables • Triggers Triggers and variables control how and when tags fire. Once executed, tags then send data to 3rd parties. How Google Tag Manager works
  • 14. The Google Analytics tracking code can be replaced by a single tag in GTM. However, each GA event you want to send is likely another GTM tag. Everything is now a tag
  • 15. 1. Client creates GTM account & container (GTM tracking code) 2. Deploy empty GTM container to site 3. Map site: Evaluate current tags on site and future data collection needs 4. Configure GTM account (through management interface) 5. Test in debug mode 6. Migrate: Simultaneously remove old, hard-coded tags and publish GTM version Implementation outline
  • 16. Now that you only have replaced all your old tags with the single GTM tag on each page, any code that uses your previous tags will not function (even if your old tags are loaded through GTM). All code must be configured through GTM and / or rewritten to it’s specifications. For example, all Google Analytics event tracking and eCommerce must be redone. This can be a lot of work. Implications: This is where it starts to get complicated
  • 17. THE TAG MANAGEMENT INTERFACE Introducing Google Tag Manager
  • 18. GTM does not store any data itself. Notice the default Google Analytics tag named “Pageviews”. The interface
  • 19. Templates: A simple tag example
  • 23. Common user-defined variables DOM Element • Requires HTML element ID Developer required variables: • Auto-event variable • Custom event • Data layer variable • JavaScript variable
  • 24. GTM is adding code to the website without any developer oversight. Most of these tags have limited risk, especially with the debug tool. Custom JavaScript variables are the exception… Danger: Custom JavaScript variables This field should be a JavaScript function that returns a value using the 'return' statement. If the function does not explicitly return a value, it will return undefined and your container may not behave as expected. Below is an example of this field: function() { var now = new Date(); return now.getTime(); } ?
  • 25. While these variables might work fine at first, as changes are made to the site over time, they can break. What this means is that the site now has a runtime-error: • Prevents other code from running (which could completely break an eCommerce checkout process and drastically reduce revenue) • Damages SERP rankings, since errors are an important SEO factor • Developers are not comfortable with this risk (I’ve asked them) The risk with custom JavaScript variables
  • 26. COMPLEXITY AND THE DATALAYER Introducing Google Tag Manager
  • 27. Just as Google Analytics leaves a lot to be desired out of the box, GTM presents a lot of limitations without proper integration. • If GTM users cannot create a trigger or access a variable accurately, developers will have to add code to the site. • While some event tracking can be done in GTM alone, eCommerce configurations will need developer collaboration. Out of the box
  • 28. “The Data Layer is an optional JavaScript object you can use to help manage the information your tags are gathering from your site.” <body> <script> dataLayer = [{ 'visitorType': 'high-value’ 'event': 'customizeCar' }]; </script> <!-- Google Tag Manager --> … <!-- End Google Tag Manager → Introducing the dataLayer
  • 29. Persistent and custom variables: “Data layer variables that are relevant across pages (e.g. visitorType) must therefore be declared in the data layer on each page of your website.” Events: “Google Tag Manager provides a special data layer variable called an event that is used within JavaScript event listeners to initiate tag firing when a user interacts with website elements such as a button.” <a href="#" name="color" onclick="dataLayer.push({ 'color': 'red', 'conversionValue': 50, 'event': 'customizeCar'});">Customize Color</a> How the dataLayer works
  • 30. The dataLayer is straightforward for developers to implement. The bad news is that dataLayer additions are the very problem we are trying to solve by having a tag manager in the first place. DataLayer development complexity
  • 31. HOW GOOGLE TAG MANAGER CHANGES OUR WORKFLOW
  • 32. Since Google Tag Manager has been advertised as a tool for marketers, clients may be interested in managing their account without us. As a result, when GTM is discussed with a client, a few basic questions must be answered… The ownership question
  • 33. • Who is in charge of managing Google Tag Manager, Jaywing or client? – If client is managing everything themselves, there isn’t much else for us to do • What tags are planned for GTM? – E.g., classic Google Analytics, Universal Analytics, Adwords, DoubleClick, comScore, etc. – If classic Google Analytics is in use, do you want to use this opportunity to move to Universal Analytics? • What is the implementation plan? (See implementation slide) Questions to ask clients
  • 34. If clients do want us to manage their GTM… …the best practice approach is for clients to create their own account, then add us as administrators. [They will need a Google account to do this.] Google Tag Manager account creation
  • 35. There is a lot to learn about Google Tag Manager • Can run side-by-side with Google Analytics and other tracking tags • Full implementation will require completely replacing all existing tracking code • Not code-free: more complicated requirements will need development work, including eCommerce and some event tracking • There are risks associated with Google Tag Manager • Be wary of GTM marketing material promises – GTM can be complicated to learn – Auto-event tracking isn’t always the correct solution SUMMARY