SlideShare une entreprise Scribd logo
1  sur  38
THE NEW
Shuki Mann
shuki@booot.co.il
www.booot.co.il
GTM
IS
+ WP + GA
shuki@booot.co.il www.booot.co.il
ME
• 28, Married + 2
• Road bike rider
• B.s.w
• M.B.A
• Google Partner & Google Analytics
Qualified
• Google Adwords
• Google Analytics
• Google Tag Manager
• Google Facebook
• Google Wordpress :)
• etc.
shuki@booot.co.il www.booot.co.il
MEASUREMENT MODEL THAT
WORKS !!!
1. What is your business trying to do?
2. What are your goals?
3. KPIs
4. Define “success”
5. Segment
5X3:
A - Acquisition
B - Behavior
C - Conver$ion$$$
shuki@booot.co.il www.booot.co.il
MEASUREMENT MODEL THAT
WORKS !!!
1. What is your business trying to do?
2. What are your goals? (SMART: Specific
Measurable Achievable Relevant Time-
bound)
3. KPIs
4. Define “success”
5. Segment
5X3:
A - Acquisition
B - Behavior
C - Conver$ion$$$
EBAY
sell products
attract
sellers
• more visitors (panda 4.0?)
• more returning buyers
• satisfied customers
• increase customer spend per
order
• incentives
• conference
• more products
• more non-branded traffic
• newsletter open-rate
• more feedback/positive
feedback
• faster support
• avg. order value
• 20% more visitors from GOOG
• +10% signups, +2.3% open rate
• 4.5 stars avg. for each category
• traffic source
• device
• day of visit
• hour of day
• product price
shuki@booot.co.il www.booot.co.il
MEASUREMENT MODEL THAT WORKS !!!
shuki@booot.co.il www.booot.co.il
ACCOUNT STRUCTURE
google login
account
container
A - client A
container
B - client B
container
C - client C
Tags,
Macros,
Rules…
Tags,
Macros,
Rules…
Tags,
Macros,
Rules…
google login
account B - client
B
container A
- site
container B
- lps
Tags,
Macros,
Rules…
Tags,
Macros,
Rules…
account A - client
A
container
C - shop
Tags,
Macros,
Rules…
container A
- site
container B
- lps
Tags,
Macros,
Rules…
Tags,
Macros,
Rules…
container
C - shop
Tags,
Macros,
Rules…
shuki@booot.co.il www.booot.co.il
JSON array
key-value pair
GTM’s raison d'être
Before GTM snippet - dataLayer = [{‘key’:’value’}]
After GTM snippet - dataLayer.push({‘key’:’value’})
Layer with L
<a href=“www.paypal.com” onclick=“dataLayer.push({‘price’:’100’});”>100 ILS</a>
<a href=“www.paypal.com” onclick=“dataLayer.push({‘price’:’130’});”>130 ILS</a>
<a href=“www.other-site.com” onclick=“dataLayer.push({‘event’:’outbound’});”>Exit this site</a>
dataLayer
shuki@booot.co.il www.booot.co.il
• Google Analytics (Universal/Classic)
Google Adwords Conversion
Custom HTML
Third party platforms
…Event listeners!!!
Tags are the “WHAT to do”
TAGS
shuki@booot.co.il www.booot.co.il
TAGS EXAMPLES
shuki@booot.co.il www.booot.co.il
TAGS EXAMPLES
Custom Dimensions & Custom Metrics - The Full Guide
shuki@booot.co.il www.booot.co.il
CUSTOM DIMENSIONS (Yeah!)
Custom Dimensions & Custom Metrics - The Full Guide
shuki@booot.co.il www.booot.co.il
CUSTOM DIMENSIONS (Yeah!)
Custom Dimensions & Custom Metrics - The Full Guide
shuki@booot.co.il www.booot.co.il
CUSTOM DIMENSIONS
Custom Dimensions & Custom Metrics - The Full Guide
• ga(‘send’ , ‘pageview’, {‘dimension1’ : ‘author_name’ });
ga(‘send’ , ‘pageview’, {‘dimension1’ :' <?php echo get_the_author();?> ' });
<script> dataLayer = [{‘dimension1’ : <?php echo get_the_author();?>}] <script>
shuki@booot.co.il www.booot.co.il
CUSTOM DIMENSIONS
Custom Dimensions & Custom Metrics - The Full Guide
shuki@booot.co.il www.booot.co.il
CUSTOM DIMENSIONS
Custom Dimensions & Custom Metrics - The Full Guide
shuki@booot.co.il www.booot.co.il
TAGS EXAMPLES
• Adwords Remarketing with custom params from
dL
Adwords Conversion with dynamic value (macro)
shuki@booot.co.il www.booot.co.il
TAGS - Auto Event Listeners
• Link Click - <a href> -> gtm.linkClick event
Click - onclick -> gtm.click event
Form Submit - submit -> gtm.formSubmit
Timer - gtm.timer
JS - gtm.pageError
History - AJAX
Case sensitive!
Competing listeners
<html>
<head>
<title>My Page</title>
</head>
<body>
<!-- Google Tag Manager Container here -->
<div id="main">
<a id=“A” href=“http://www.A.co.il”>A</a>
<a id=“B” href=“http://www.B.co.il”>B</a>
</div>
</body>
</html>
shuki@booot.co.il www.booot.co.il
JSON array
key-value pair
GTM’s raison d'être
Before GTM snippet - dataLayer = [{‘key’:’value’}]
After GTM snippet - dataLayer.push({‘key’:’value’})
Layer with L
<a href=“www.paypal.com” onclick=“dataLayer.push({‘price’:’100’});”>100 ILS</a>
<a href=“www.paypal.com” onclick=“dataLayer.push({‘price’:’130’});”>130 ILS</a>
<a href=“www.other-site.com” onclick=“dataLayer.push({‘event’:’outbound’});”>Exit this site</a>
dataLayer
shuki@booot.co.il www.booot.co.il
TAGS - Auto Event Listeners - Example
• <html>
<head>
<title>My Page</title>
</head>
<body>
<!-- Google Tag Manager Container here -->
<div id="main">
<a id=“A” href=“http://www.A.co.il”>A</a>
<a id=“B” href=“http://www.B.co.il”>B</a>
</div>
</body>
</html>
shuki@booot.co.il www.booot.co.il
TAGS - Auto Event Listeners
shuki@booot.co.il www.booot.co.il
TAGS - Auto Event Listeners
shuki@booot.co.il www.booot.co.il
shuki@booot.co.il www.booot.co.il
RULES
• [macro][operator][value]
contains, equals, matches RegEx
2 condition, same rule = AND
2 different rules = OR
GTM goes to dataLayer to find the value of
objects ONLY when they’re events.
Blocking Rule always win
1st: gtm.js
2nd: gtm.dom
3rd: gtm.load
Rules are the “WHEN to do”
shuki@booot.co.il www.booot.co.il
MACROS
• = Functions
Must return a value with “return”
You can even use the macro inside your
HTML tag!
Exactly like regular function.
Every Macro return value. JS Macro must
include “return”
Auto event - the DOM element that
triggered the event.
shuki@booot.co.il www.booot.co.il
MACRO EXAMPLES
• Constant String - very useful for
GA/Adwords code
shuki@booot.co.il www.booot.co.il
MACRO EXAMPLES
• Constant String - very useful for
GA/Adwords code
HTML tag with macro
Auto-Event vars
shuki@booot.co.il www.booot.co.il
MACRO EXAMPLES
• Constant String - very useful for
GA/Adwords code
HTML tag with macro
Auto-Event vars
Lookup Table!!
shuki@booot.co.il www.booot.co.il
MACRO EXAMPLES
• Constant String - very useful for
GA/Adwords code
HTML tag with macro
Auto-Event vars
Lookup Table!!
dataLayer!!!!!
shuki@booot.co.il www.booot.co.il
REAL EXAMPLE - 1
shuki@booot.co.il www.booot.co.il
REAL EXAMPLE - 1
shuki@booot.co.il www.booot.co.il
REAL EXAMPLE - 2
REAL EXAMPLE - eCommerce Tracking
REAL EXAMPLE - eCommerce Tracking
REAL EXAMPLE - 4
REAL EXAMPLE - 4
<script>
dataLayer = [{'post_title' : '<?php echo get_the_title();?>’ }]
</script>
<!-- GTM Code -->
shuki@booot.co.il www.booot.co.il
dataLayer = [{
'gtm.blacklist': ['<html>', '<nonGoogleScripts >', ...]
'gtm.whitelist': ['<ID>', '<class>', '<ID>', ...]
}];
Black wins!
Classes have relationships (nonGooglePixels > nonGoogleScripts)
SECURITY
shuki@booot.co.il www.booot.co.il
Tags: Category - Type - what it does
(meaningful)
ex: GA - Event - click on menu item
ex: Adwords - Conversion - 10x pages
Macro: Type - what is does
ex: Lookup Table - change A macros by B
Rules - Where/When it happens
ex: All pages, event equals
NAMING
shuki@booot.co.il www.booot.co.il
THE END
THANK YOU :)
contact me at: shuki@booot.co.il
read my posts: www.booot.co.il
be my friend: www.facebook.com/mann.shuki

Contenu connexe

Plus de Shuki Mann

Plus de Shuki Mann (17)

Saar Golde - All Things DATA 2017
Saar Golde - All Things DATA 2017Saar Golde - All Things DATA 2017
Saar Golde - All Things DATA 2017
 
Dan-Ya Schwartz - All Things DATA 2017
Dan-Ya Schwartz - All Things DATA 2017Dan-Ya Schwartz - All Things DATA 2017
Dan-Ya Schwartz - All Things DATA 2017
 
Jonathan Weber - All Things DATA 2017
Jonathan Weber - All Things DATA 2017Jonathan Weber - All Things DATA 2017
Jonathan Weber - All Things DATA 2017
 
Tobias Kraeft - All Things DATA 2017
Tobias Kraeft - All Things DATA 2017Tobias Kraeft - All Things DATA 2017
Tobias Kraeft - All Things DATA 2017
 
Martijn Scheijbeler @ All Things DATA 2016
Martijn Scheijbeler @ All Things DATA 2016Martijn Scheijbeler @ All Things DATA 2016
Martijn Scheijbeler @ All Things DATA 2016
 
Refael Bitton @ All Things DATA 2016 - Firebase Analytics
Refael Bitton @ All Things DATA 2016 - Firebase AnalyticsRefael Bitton @ All Things DATA 2016 - Firebase Analytics
Refael Bitton @ All Things DATA 2016 - Firebase Analytics
 
Matt Kaufman @ All Things DATA 2016
Matt Kaufman @ All Things DATA 2016Matt Kaufman @ All Things DATA 2016
Matt Kaufman @ All Things DATA 2016
 
Jeff Sauer @ All Things DATA 2016 - Automating Google Analytics
Jeff Sauer @ All Things DATA 2016 - Automating Google AnalyticsJeff Sauer @ All Things DATA 2016 - Automating Google Analytics
Jeff Sauer @ All Things DATA 2016 - Automating Google Analytics
 
Roi Lavan - Convertro (All Things Data 2015)
Roi Lavan - Convertro (All Things Data 2015)Roi Lavan - Convertro (All Things Data 2015)
Roi Lavan - Convertro (All Things Data 2015)
 
Ori Lavie - Dynamic Yield (All Things Data 2015)
Ori Lavie - Dynamic Yield (All Things Data 2015)Ori Lavie - Dynamic Yield (All Things Data 2015)
Ori Lavie - Dynamic Yield (All Things Data 2015)
 
Oren Cohen - Optimizely (All Things Data 2015)
Oren Cohen - Optimizely (All Things Data 2015)Oren Cohen - Optimizely (All Things Data 2015)
Oren Cohen - Optimizely (All Things Data 2015)
 
Miko Levi - Outbrain (All Things Data 2015)
Miko Levi - Outbrain (All Things Data 2015)Miko Levi - Outbrain (All Things Data 2015)
Miko Levi - Outbrain (All Things Data 2015)
 
Meir Gold - Fiverr (All Things Data 2015)
Meir Gold -  Fiverr (All Things Data 2015)Meir Gold -  Fiverr (All Things Data 2015)
Meir Gold - Fiverr (All Things Data 2015)
 
Jacob Kildebogaard - Web Juice (All Things Data 2015)
Jacob Kildebogaard - Web Juice (All Things Data 2015)Jacob Kildebogaard - Web Juice (All Things Data 2015)
Jacob Kildebogaard - Web Juice (All Things Data 2015)
 
Yehoshua Coren - Analytics Ninja (All Things Data 2015)
Yehoshua Coren - Analytics Ninja (All Things Data 2015)Yehoshua Coren - Analytics Ninja (All Things Data 2015)
Yehoshua Coren - Analytics Ninja (All Things Data 2015)
 
Charles Farina - Analytics Pros (All Things Data 2015)
Charles Farina - Analytics Pros (All Things Data 2015)Charles Farina - Analytics Pros (All Things Data 2015)
Charles Farina - Analytics Pros (All Things Data 2015)
 
Shuki Mann - LIXFIX (All Things Data 2015)
Shuki Mann - LIXFIX (All Things Data 2015)Shuki Mann - LIXFIX (All Things Data 2015)
Shuki Mann - LIXFIX (All Things Data 2015)
 

Dernier

The 100x Factor Growth with AI - Susan Diaz
The 100x Factor  Growth with AI - Susan DiazThe 100x Factor  Growth with AI - Susan Diaz

Dernier (20)

Campfire Stories - Matching Content to Audience Context - Ryan Brock
Campfire Stories - Matching Content to Audience Context - Ryan BrockCampfire Stories - Matching Content to Audience Context - Ryan Brock
Campfire Stories - Matching Content to Audience Context - Ryan Brock
 
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
 
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
 
No Cookies No Problem - Steve Krull, Be Found Online
No Cookies No Problem - Steve Krull, Be Found OnlineNo Cookies No Problem - Steve Krull, Be Found Online
No Cookies No Problem - Steve Krull, Be Found Online
 
W.H.Bender Quote 61 -Influential restaurant and food service industry network...
W.H.Bender Quote 61 -Influential restaurant and food service industry network...W.H.Bender Quote 61 -Influential restaurant and food service industry network...
W.H.Bender Quote 61 -Influential restaurant and food service industry network...
 
Alpha Media March 2024 Buyers Guide.pptx
Alpha Media March 2024 Buyers Guide.pptxAlpha Media March 2024 Buyers Guide.pptx
Alpha Media March 2024 Buyers Guide.pptx
 
Situation Analysis | Management Company.
Situation Analysis | Management Company.Situation Analysis | Management Company.
Situation Analysis | Management Company.
 
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
 
How to utilize calculated properties in your HubSpot setups
How to utilize calculated properties in your HubSpot setupsHow to utilize calculated properties in your HubSpot setups
How to utilize calculated properties in your HubSpot setups
 
The 100x Factor Growth with AI - Susan Diaz
The 100x Factor  Growth with AI - Susan DiazThe 100x Factor  Growth with AI - Susan Diaz
The 100x Factor Growth with AI - Susan Diaz
 
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptxDigital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
 
Labour Day Celebrating Workers and Their Contributions.pptx
Labour Day Celebrating Workers and Their Contributions.pptxLabour Day Celebrating Workers and Their Contributions.pptx
Labour Day Celebrating Workers and Their Contributions.pptx
 
Top 5 Breakthrough AI Innovations Elevating Content Creation and Personalizat...
Top 5 Breakthrough AI Innovations Elevating Content Creation and Personalizat...Top 5 Breakthrough AI Innovations Elevating Content Creation and Personalizat...
Top 5 Breakthrough AI Innovations Elevating Content Creation and Personalizat...
 
Martal Group - B2B Lead Gen Agency - Onboarding Overview
Martal Group - B2B Lead Gen Agency - Onboarding OverviewMartal Group - B2B Lead Gen Agency - Onboarding Overview
Martal Group - B2B Lead Gen Agency - Onboarding Overview
 
How to Create a Social Media Plan Like a Pro - Jordan Scheltgen
How to Create a Social Media Plan Like a Pro - Jordan ScheltgenHow to Create a Social Media Plan Like a Pro - Jordan Scheltgen
How to Create a Social Media Plan Like a Pro - Jordan Scheltgen
 
Instant Digital Issuance: An Overview With Critical First Touch Best Practices
Instant Digital Issuance: An Overview With Critical First Touch Best PracticesInstant Digital Issuance: An Overview With Critical First Touch Best Practices
Instant Digital Issuance: An Overview With Critical First Touch Best Practices
 
Uncover Insightful User Journey Secrets Using GA4 Reports
Uncover Insightful User Journey Secrets Using GA4 ReportsUncover Insightful User Journey Secrets Using GA4 Reports
Uncover Insightful User Journey Secrets Using GA4 Reports
 
Foundation First - Why Your Website and Content Matters - David Pisarek
Foundation First - Why Your Website and Content Matters - David PisarekFoundation First - Why Your Website and Content Matters - David Pisarek
Foundation First - Why Your Website and Content Matters - David Pisarek
 
Digital Strategy Master Class - Andrew Rupert
Digital Strategy Master Class - Andrew RupertDigital Strategy Master Class - Andrew Rupert
Digital Strategy Master Class - Andrew Rupert
 
Unraveling the Mystery of the Hinterkaifeck Murders.pptx
Unraveling the Mystery of the Hinterkaifeck Murders.pptxUnraveling the Mystery of the Hinterkaifeck Murders.pptx
Unraveling the Mystery of the Hinterkaifeck Murders.pptx
 

Google Tag Manager + Wordpress - Wordcamp 2014 Presentation