Google Tag Manager
Welcome
Phil Pearce
PPC and Analytics Expert
Freelancer
@philpearce
phil@precisionppc.me
www.linkedin.com/in/philpearce

T...
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...
Q: How many GTM installations
have YOU done?
Newbie - 1-2 installation
Experienced - 3-4 installation
Advanced - 4+ instal...
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 Fir...
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....
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})

G...
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 websit...
Ways to fire tags on GTM
Macros

Rules

Tags

• Runtime Values

• Condition that
evaluates to either
true or false at
runt...
Example of a tag
Tags
Sends data about URL
to Google Analytics
for all pages loaded

• HTML code that
executes on a page

...
Advance Functions
DataLayers and evaluate tags
DataLayers
 Variables you want to
collect and their different
values

Variables

Values

page_virtual

/en/home

page_gro...
Tags with Data Layer
Macros

Rules

Tags

• Runtime Values

• Condition that
evaluates to either
true or false at
runtime
...
Preview Mode
• Visit website and see how tags
are firing
• Checked if they are firing
correctly
• Preview is only for your...
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 accessor...
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 Googl...
Other Demo Examples
Debugging
GTM Preview & Debug
GTM Debug console mode
Chrome Tag assistant

DataLayer
Onload (ecommerce...
Thankyou
Appendix
http://search4phil.com/gtm-demo/guest1/index.html
http://search4phil.com/gtm-demo/guest2/index.html
http://search...
Cheat sheet
Upcoming SlideShare
Loading in...5
×

Phil Pearce - Workshop: Google Tag Manager for Advanced Users

1,877

Published on

Don't miss the next year of Marketing Festival Brno - http://www.marketingfestival.cz

You can also buy a video of this presentation at marketingfestival.cz

0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,877
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
54
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide
  • Welcome :)
  • Fun fact
  • Phil Pearce - Workshop: Google Tag Manager for Advanced Users

    1. 1. Google Tag Manager
    2. 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. 3. Please download: bit.ly/gtmdevguide And join GTM community on Google+ bit.ly/gtmcommunity
    4. 4. Fun fact... I`m almost Unique Twin brother
    5. 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. 6. Q: How many GTM installations have YOU done? Newbie - 1-2 installation Experienced - 3-4 installation Advanced - 4+ installation
    7. 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. 8. Answer “B” B) 1. gtm.js 2. gtm.dom 3. gtm.load
    9. 9. AdWords I am on my 8th installation...
    10. 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. 11. But first… Why use a TagManagmentSystem?
    12. 12. Because of Cats
    13. 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. 14. Intro to GTM video http://www.youtube.com/watch?v=usxqxuQI4w&list=PLMau-ivfXpoON3Rf90dkt5uKH2KhlpI0y
    15. 15. Planning GTM bit.ly/gtmdevguide
    16. 16. Basic Functions Containers and Tags
    17. 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. 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. 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
    20. 20. Advance Functions DataLayers and evaluate tags
    21. 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. 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. 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. 24. Publishing • Only admin users can publish
    25. 25. Account permissions example
    26. 26. dataLayer is called a “macro” in GTM • Macro are based on dataLayer variables. • E.g. language variable
    27. 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. 28. How to push a customHTML tag • Easy to do...
    29. 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. 30. Other Demo Examples Debugging GTM Preview & Debug GTM Debug console mode Chrome Tag assistant DataLayer Onload (ecommerce) Onclick (event) GTM certification
    31. 31. Thankyou
    32. 32. 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
    33. 33. Cheat sheet
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×