SlideShare una empresa de Scribd logo
1 de 33
Google Tag Manager
Welcome
Phil Pearce
PPC and Analytics Expert
Freelancer
@philpearce
phil@precisionppc.me
www.linkedin.com/in/philpearce

Tracking
750 GA
Web Analytics
questions answered
protection
Exchange
group
mentor
#GTMadvanced #MktFest
Please download:
bit.ly/gtmdevguide
And join GTM community on Google+
bit.ly/gtmcommunity
Fun fact... I`m almost Unique

Twin brother
Agenda
• Start: 12:00am

• Basic Examples: 12:20am
• Advanced Examples: 12:40am
• Interactive demo: 1pm
• Questions:1:30pm
• Finish: 2pm

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.

Intro
Definition
Caching
Logins & Access levels
Account structure
Tags
Macros
Rules
Examples
Debugging
–
–

11.

DataLayer
–
–

12.
13.
14.

Preview & Debug
Tag assistant

Onload
(ecommerce)
Onclick (event)

Power Examples
GTM certification
Questions
Q: How many GTM installations
have YOU done?
Newbie - 1-2 installation
Experienced - 3-4 installation
Advanced - 4+ installation
Q: What is the load order of these?
B)
1. gtm.js
2. gtm.dom
3. gtm.load

A)
1. gtm.js
2. gtm.load
3. gtm.dom

Tip: See Firebug > DOM for dataLayer
Answer “B”
B)
1. gtm.js
2. gtm.dom
3. gtm.load
AdWords

I am on my 8th installation...
Session Goals
1. Enable GTM on a website
2. Know how to debug GTM
3. Know what the difference between a macro and rule
is.
4. Know what the dataLayer is.
5. Know common mistakes & answers.
6. Learn from my mistakes from MY mistakes from 8
installations.
But first…
Why use a TagManagmentSystem?
Because of Cats
Four ways to skin a cat

Legacy
pageTracker()

Faster Async
gaq.push(["pagetracker")

Beta Universal
ga(send{pageview})

GTM
dataLayer.push({"page_virtual":""});
Intro to GTM video

http://www.youtube.com/watch?v=usxqxuQI4w&list=PLMau-ivfXpoON3Rf90dkt5uKH2KhlpI0y
Planning GTM

bit.ly/gtmdevguide
Basic Functions
Containers and Tags
First Steps
1. Creation of Google account
2. Open a GTM account
3. Set up a GTM container
4. Add GTM script to your website
source code
Ways to fire tags on GTM
Macros

Rules

Tags

• Runtime Values

• Condition that
evaluates to either
true or false at
runtime

• HTML code that
executes on a page

E.g. URL

Rules define which
pages will receive
tags.
E.g. Pages with Thanks in
URL

Scripts to be pushed
on website according
to rules and macros
Example of a tag
Tags
Sends data about URL
to Google Analytics
for all pages loaded

• HTML code that
executes on a page

Scripts to be pushed
on website according
to rules and macros
Advance Functions
DataLayers and evaluate tags
DataLayers
 Variables you want to
collect and their different
values

Variables

Values

page_virtual

/en/home

page_group

homepage

Note: Use lowercase please
Tags with Data Layer
Macros

Rules

Tags

• Runtime Values

• Condition that
evaluates to either
true or false at
runtime

• HTML code that
executes on a page

One macro for one
variable of your Data
Layer.

Rules define which
pages will receive
tags.

E.g. Macro Brand for
variable Brand

E.g. Pages with Thanks in
URL

Scripts to be pushed
on website according
to rules and macros
Preview Mode
• Visit website and see how tags
are firing
• Checked if they are firing
correctly
• Preview is only for your google
log in
Publishing
• Only admin users can publish
Account permissions example
dataLayer is called a “macro” in GTM

• Macro are based on dataLayer
variables.

•

E.g. language variable
Rules
• Rules depend on your tag.
• Rules can be
•
•
•
•

•

All pages
Thank you pages
Pages with cars
Pages with accessories…

Here an example of a rule
for conversion data.
How to push a customHTML tag
• Easy to do...
Demo
1. Login using your Google Account
https://www.google.com/tagmanager

2. Search for “google tag manager”
3. Add Google Analytics Tag with UA-000-1
4. Create & publish version
5. Click Preview & debug
Other Demo Examples
Debugging
GTM Preview & Debug
GTM Debug console mode
Chrome Tag assistant

DataLayer
Onload (ecommerce)
Onclick (event)

GTM certification
Thankyou
Appendix
http://search4phil.com/gtm-demo/guest1/index.html
http://search4phil.com/gtm-demo/guest2/index.html
http://search4phil.com/gtm-demo/guest3/index.html
Cheat sheet

Más contenido relacionado

Destacado

Destacado (8)

Analytics Crystal maze
Analytics Crystal mazeAnalytics Crystal maze
Analytics Crystal maze
 
Google Data Studio - First impressions @ Measurecamp
Google Data Studio - First impressions @ MeasurecampGoogle Data Studio - First impressions @ Measurecamp
Google Data Studio - First impressions @ Measurecamp
 
SEO analytics: How to report & improve performance
SEO analytics: How to report & improve performanceSEO analytics: How to report & improve performance
SEO analytics: How to report & improve performance
 
"Taster Slides" for Most advanced GTM implementation
"Taster Slides" for Most advanced GTM implementation"Taster Slides" for Most advanced GTM implementation
"Taster Slides" for Most advanced GTM implementation
 
Supercharging your Organic CTR
Supercharging your Organic CTRSupercharging your Organic CTR
Supercharging your Organic CTR
 
Common mistakes with media tagging (utm tags) and how to fix them!
Common mistakes with media tagging (utm tags) and how to fix them!Common mistakes with media tagging (utm tags) and how to fix them!
Common mistakes with media tagging (utm tags) and how to fix them!
 
Most Advanced GTM Deployment. Ever!
Most Advanced GTM Deployment. Ever!Most Advanced GTM Deployment. Ever!
Most Advanced GTM Deployment. Ever!
 
The Kamasutra of GTM container positions
The Kamasutra of GTM container positionsThe Kamasutra of GTM container positions
The Kamasutra of GTM container positions
 

Más de Marketing Festival

Shailin dhar – Fighting Ad-Fraud: Understanding Monetization of the Internet
Shailin dhar – Fighting Ad-Fraud: Understanding Monetization of the InternetShailin dhar – Fighting Ad-Fraud: Understanding Monetization of the Internet
Shailin dhar – Fighting Ad-Fraud: Understanding Monetization of the Internet
Marketing Festival
 
Rand Fishkin - The Invisible Giant that Mucks Up Our Marketing
Rand Fishkin - The Invisible Giant that Mucks Up Our MarketingRand Fishkin - The Invisible Giant that Mucks Up Our Marketing
Rand Fishkin - The Invisible Giant that Mucks Up Our Marketing
Marketing Festival
 
Oli Gardner – Data Driven Design
Oli Gardner – Data Driven Design Oli Gardner – Data Driven Design
Oli Gardner – Data Driven Design
Marketing Festival
 
Kim Goodwin – Right Research, Right Value
Kim Goodwin – Right Research, Right ValueKim Goodwin – Right Research, Right Value
Kim Goodwin – Right Research, Right Value
Marketing Festival
 
Joe wade - We Must Scare Our Clients
Joe wade - We Must Scare Our Clients Joe wade - We Must Scare Our Clients
Joe wade - We Must Scare Our Clients
Marketing Festival
 
Bob Hoffman - Marketers Are From Mars, Consumers Are From New Jersey
Bob Hoffman - Marketers Are From Mars, Consumers Are From New JerseyBob Hoffman - Marketers Are From Mars, Consumers Are From New Jersey
Bob Hoffman - Marketers Are From Mars, Consumers Are From New Jersey
Marketing Festival
 
Michael Aagaard - You’re Making My Brain Hurt! The Psychology Behind Terrible...
Michael Aagaard - You’re Making My Brain Hurt! The Psychology Behind Terrible...Michael Aagaard - You’re Making My Brain Hurt! The Psychology Behind Terrible...
Michael Aagaard - You’re Making My Brain Hurt! The Psychology Behind Terrible...
Marketing Festival
 
Frederick Vallaeys - Will Robots Take Over PPC? What the Future of the Indust...
Frederick Vallaeys - Will Robots Take Over PPC? What the Future of the Indust...Frederick Vallaeys - Will Robots Take Over PPC? What the Future of the Indust...
Frederick Vallaeys - Will Robots Take Over PPC? What the Future of the Indust...
Marketing Festival
 
Lucie Sperkova - Pioneering multi-channel attribution for the lack of compreh...
Lucie Sperkova - Pioneering multi-channel attribution for the lack of compreh...Lucie Sperkova - Pioneering multi-channel attribution for the lack of compreh...
Lucie Sperkova - Pioneering multi-channel attribution for the lack of compreh...
Marketing Festival
 
Marcus Tober - SEO Has Changed Forever – Why User Signals and Content Relevan...
Marcus Tober - SEO Has Changed Forever – Why User Signals and Content Relevan...Marcus Tober - SEO Has Changed Forever – Why User Signals and Content Relevan...
Marcus Tober - SEO Has Changed Forever – Why User Signals and Content Relevan...
Marketing Festival
 

Más de Marketing Festival (20)

Shailin dhar – Fighting Ad-Fraud: Understanding Monetization of the Internet
Shailin dhar – Fighting Ad-Fraud: Understanding Monetization of the InternetShailin dhar – Fighting Ad-Fraud: Understanding Monetization of the Internet
Shailin dhar – Fighting Ad-Fraud: Understanding Monetization of the Internet
 
Rand Fishkin - The Invisible Giant that Mucks Up Our Marketing
Rand Fishkin - The Invisible Giant that Mucks Up Our MarketingRand Fishkin - The Invisible Giant that Mucks Up Our Marketing
Rand Fishkin - The Invisible Giant that Mucks Up Our Marketing
 
Oli Gardner – Data Driven Design
Oli Gardner – Data Driven Design Oli Gardner – Data Driven Design
Oli Gardner – Data Driven Design
 
Kim Goodwin – Right Research, Right Value
Kim Goodwin – Right Research, Right ValueKim Goodwin – Right Research, Right Value
Kim Goodwin – Right Research, Right Value
 
Joe wade - We Must Scare Our Clients
Joe wade - We Must Scare Our Clients Joe wade - We Must Scare Our Clients
Joe wade - We Must Scare Our Clients
 
Bob Hoffman - Marketers Are From Mars, Consumers Are From New Jersey
Bob Hoffman - Marketers Are From Mars, Consumers Are From New JerseyBob Hoffman - Marketers Are From Mars, Consumers Are From New Jersey
Bob Hoffman - Marketers Are From Mars, Consumers Are From New Jersey
 
Filip Podstavec - Get inside the head of a crawler
Filip Podstavec - Get inside the head of a crawlerFilip Podstavec - Get inside the head of a crawler
Filip Podstavec - Get inside the head of a crawler
 
Andrej Pancik - Scaling e-commerce with marketing automation
Andrej Pancik - Scaling e-commerce with marketing automationAndrej Pancik - Scaling e-commerce with marketing automation
Andrej Pancik - Scaling e-commerce with marketing automation
 
Michael Aagaard - You’re Making My Brain Hurt! The Psychology Behind Terrible...
Michael Aagaard - You’re Making My Brain Hurt! The Psychology Behind Terrible...Michael Aagaard - You’re Making My Brain Hurt! The Psychology Behind Terrible...
Michael Aagaard - You’re Making My Brain Hurt! The Psychology Behind Terrible...
 
Frederick Vallaeys - Will Robots Take Over PPC? What the Future of the Indust...
Frederick Vallaeys - Will Robots Take Over PPC? What the Future of the Indust...Frederick Vallaeys - Will Robots Take Over PPC? What the Future of the Indust...
Frederick Vallaeys - Will Robots Take Over PPC? What the Future of the Indust...
 
Stephen Anderson - Speaking up for experiences
Stephen Anderson - Speaking up for experiencesStephen Anderson - Speaking up for experiences
Stephen Anderson - Speaking up for experiences
 
Jonas Viksten - Audience-powered Search
Jonas Viksten - Audience-powered SearchJonas Viksten - Audience-powered Search
Jonas Viksten - Audience-powered Search
 
Martin Brixí - How content marketing influences sales – TchiboBlog.cz
Martin Brixí - How content marketing influences sales – TchiboBlog.czMartin Brixí - How content marketing influences sales – TchiboBlog.cz
Martin Brixí - How content marketing influences sales – TchiboBlog.cz
 
Josef Kadlec - How to crack LinkedIn direct approach and get a 100% response ...
Josef Kadlec - How to crack LinkedIn direct approach and get a 100% response ...Josef Kadlec - How to crack LinkedIn direct approach and get a 100% response ...
Josef Kadlec - How to crack LinkedIn direct approach and get a 100% response ...
 
Petr Prochazka - How we raised 650k USD on Kickstarter
Petr Prochazka - How we raised 650k USD on Kickstarter Petr Prochazka - How we raised 650k USD on Kickstarter
Petr Prochazka - How we raised 650k USD on Kickstarter
 
Kevin Hillstrom - How The Future of Retail is Like Professional Sports
Kevin Hillstrom - How The Future of Retail is Like Professional SportsKevin Hillstrom - How The Future of Retail is Like Professional Sports
Kevin Hillstrom - How The Future of Retail is Like Professional Sports
 
Panel: Programmatic revolution - end of the advertising as we know it?
Panel: Programmatic revolution - end of the advertising as we know it?Panel: Programmatic revolution - end of the advertising as we know it?
Panel: Programmatic revolution - end of the advertising as we know it?
 
Lucie Sperkova - Pioneering multi-channel attribution for the lack of compreh...
Lucie Sperkova - Pioneering multi-channel attribution for the lack of compreh...Lucie Sperkova - Pioneering multi-channel attribution for the lack of compreh...
Lucie Sperkova - Pioneering multi-channel attribution for the lack of compreh...
 
Marcus Tober - SEO Has Changed Forever – Why User Signals and Content Relevan...
Marcus Tober - SEO Has Changed Forever – Why User Signals and Content Relevan...Marcus Tober - SEO Has Changed Forever – Why User Signals and Content Relevan...
Marcus Tober - SEO Has Changed Forever – Why User Signals and Content Relevan...
 
Colin Woon - The bigger the business, the bigger the SEO challenge
Colin Woon - The bigger the business, the bigger the SEO challengeColin Woon - The bigger the business, the bigger the SEO challenge
Colin Woon - The bigger the business, the bigger the SEO challenge
 

Último

Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecJual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
ZurliaSoop
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
daisycvs
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
Challenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
Challenges and Opportunities: A Qualitative Study on Tax Compliance in PakistanChallenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
Challenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
vineshkumarsajnani12
 

Último (20)

Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTSDurg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
 
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecJual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
 
Chennai Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Av...
Chennai Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Av...Chennai Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Av...
Chennai Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Av...
 
JAJPUR CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JAJPUR ESCORTS
JAJPUR CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JAJPUR  ESCORTSJAJPUR CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JAJPUR  ESCORTS
JAJPUR CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JAJPUR ESCORTS
 
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
 
Berhampur Call Girl Just Call 8084732287 Top Class Call Girl Service Available
Berhampur Call Girl Just Call 8084732287 Top Class Call Girl Service AvailableBerhampur Call Girl Just Call 8084732287 Top Class Call Girl Service Available
Berhampur Call Girl Just Call 8084732287 Top Class Call Girl Service Available
 
Arti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdfArti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdf
 
WheelTug Short Pitch Deck 2024 | Byond Insights
WheelTug Short Pitch Deck 2024 | Byond InsightsWheelTug Short Pitch Deck 2024 | Byond Insights
WheelTug Short Pitch Deck 2024 | Byond Insights
 
Falcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business GrowthFalcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business Growth
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service AvailableNashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Buy gmail accounts.pdf buy Old Gmail Accounts
Buy gmail accounts.pdf buy Old Gmail AccountsBuy gmail accounts.pdf buy Old Gmail Accounts
Buy gmail accounts.pdf buy Old Gmail Accounts
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
 
UAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur Dubai
UAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur DubaiUAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur Dubai
UAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur Dubai
 
GUWAHATI 💋 Call Girl 9827461493 Call Girls in Escort service book now
GUWAHATI 💋 Call Girl 9827461493 Call Girls in  Escort service book nowGUWAHATI 💋 Call Girl 9827461493 Call Girls in  Escort service book now
GUWAHATI 💋 Call Girl 9827461493 Call Girls in Escort service book now
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Challenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
Challenges and Opportunities: A Qualitative Study on Tax Compliance in PakistanChallenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
Challenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
 

Phil Pearce - Workshop: Google Tag Manager for Advanced Users

  • 2. Welcome Phil Pearce PPC and Analytics Expert Freelancer @philpearce phil@precisionppc.me www.linkedin.com/in/philpearce Tracking 750 GA Web Analytics questions answered protection Exchange group mentor #GTMadvanced #MktFest
  • 3. Please download: bit.ly/gtmdevguide And join GTM community on Google+ bit.ly/gtmcommunity
  • 4. Fun fact... I`m almost Unique Twin brother
  • 5. Agenda • Start: 12:00am • Basic Examples: 12:20am • Advanced Examples: 12:40am • Interactive demo: 1pm • Questions:1:30pm • Finish: 2pm 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Intro Definition Caching Logins & Access levels Account structure Tags Macros Rules Examples Debugging – – 11. DataLayer – – 12. 13. 14. Preview & Debug Tag assistant Onload (ecommerce) Onclick (event) Power Examples GTM certification Questions
  • 6. Q: How many GTM installations have YOU done? Newbie - 1-2 installation Experienced - 3-4 installation Advanced - 4+ installation
  • 7. Q: What is the load order of these? B) 1. gtm.js 2. gtm.dom 3. gtm.load A) 1. gtm.js 2. gtm.load 3. gtm.dom Tip: See Firebug > DOM for dataLayer
  • 8. Answer “B” B) 1. gtm.js 2. gtm.dom 3. gtm.load
  • 9. AdWords I am on my 8th installation...
  • 10. Session Goals 1. Enable GTM on a website 2. Know how to debug GTM 3. Know what the difference between a macro and rule is. 4. Know what the dataLayer is. 5. Know common mistakes & answers. 6. Learn from my mistakes from MY mistakes from 8 installations.
  • 11. But first… Why use a TagManagmentSystem?
  • 13. Four ways to skin a cat Legacy pageTracker() Faster Async gaq.push(["pagetracker") Beta Universal ga(send{pageview}) GTM dataLayer.push({"page_virtual":""});
  • 14. Intro to GTM video http://www.youtube.com/watch?v=usxqxuQI4w&list=PLMau-ivfXpoON3Rf90dkt5uKH2KhlpI0y
  • 17. First Steps 1. Creation of Google account 2. Open a GTM account 3. Set up a GTM container 4. Add GTM script to your website source code
  • 18. Ways to fire tags on GTM Macros Rules Tags • Runtime Values • Condition that evaluates to either true or false at runtime • HTML code that executes on a page E.g. URL Rules define which pages will receive tags. E.g. Pages with Thanks in URL Scripts to be pushed on website according to rules and macros
  • 19. Example of a tag Tags Sends data about URL to Google Analytics for all pages loaded • HTML code that executes on a page Scripts to be pushed on website according to rules and macros
  • 21. DataLayers  Variables you want to collect and their different values Variables Values page_virtual /en/home page_group homepage Note: Use lowercase please
  • 22. Tags with Data Layer Macros Rules Tags • Runtime Values • Condition that evaluates to either true or false at runtime • HTML code that executes on a page One macro for one variable of your Data Layer. Rules define which pages will receive tags. E.g. Macro Brand for variable Brand E.g. Pages with Thanks in URL Scripts to be pushed on website according to rules and macros
  • 23. Preview Mode • Visit website and see how tags are firing • Checked if they are firing correctly • Preview is only for your google log in
  • 24. Publishing • Only admin users can publish
  • 26. dataLayer is called a “macro” in GTM • Macro are based on dataLayer variables. • E.g. language variable
  • 27. Rules • Rules depend on your tag. • Rules can be • • • • • All pages Thank you pages Pages with cars Pages with accessories… Here an example of a rule for conversion data.
  • 28. How to push a customHTML tag • Easy to do...
  • 29. Demo 1. Login using your Google Account https://www.google.com/tagmanager 2. Search for “google tag manager” 3. Add Google Analytics Tag with UA-000-1 4. Create & publish version 5. Click Preview & debug
  • 30. Other Demo Examples Debugging GTM Preview & Debug GTM Debug console mode Chrome Tag assistant DataLayer Onload (ecommerce) Onclick (event) GTM certification

Notas del editor

  1. Welcome :)
  2. Fun fact