Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

85
Tag Management Solutions BEST. DATA. EVER. Simo Ahava (NetBooster) – Marketing Festival

description

Tag Management Solutions can really change things for your organization. Their biggest asset is the fact that they'll help you turn your processes around. In this talk I gave at Marketing Festival (CZ) 2014, I go over six of the most commonly asked questions around TMSs, and I explain the ways you can use the answers to improve the way your organization collects and uses data.

Transcript of Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Page 1: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Tag Management Solutions

BEST. DATA. EVER.

Simo Ahava (NetBooster) – Marketing Festival

Page 2: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Q1: Why Should I Care?

Page 3: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Idea Implementation Analysis Results

TYPICAL (WATERFALL) PROCESS

Page 4: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Idea Implementation Analysis Results

THE BUSINESS OWNER / EXECUTIVE

Page 5: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Idea Implementation Analysis Results

THE MARKETER / NON-DEVELOPER

Page 6: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Idea Implementation Analysis Results

THE DEVELOPER / IT

Page 7: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Idea Implementation Analysis Results

SILOS

Page 8: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Idea Implementation Analysis Results

SILOS

Page 9: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Idea Implementation Analysis Results

SILOS

Page 10: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Idea Implementation Analysis Results

SILOS

Page 11: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Idea Implementation Analysis Results

INEFFECTIVE, NON-ITERATIVE PROCESS

Page 12: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Business Requireme

nt

Data Point(s

)

Measurable Goal

Ticket / Reques

t

Design

Develop Test

Publish

Approve

INEFFECTIVE, NON-ITERATIVE PROCESS

Page 13: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Business Requireme

nt

Data Point(s

)

Measurable Goal

Ticket / Reques

t

Design

Develop Test

Publish

Approve

Marketer /Non-developer

Developer

INEFFECTIVE, NON-ITERATIVE PROCESS

Page 14: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Business Req.

TMS &

Data Layer

Data Heave

n

INVOLVE EVERYONE AROUND DATA

Page 15: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Business Req.

TMS &

Data Layer

Data Heave

n

Rinse & Repeat

AND MAKE IT AGILE!

Page 16: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Silos and non-involvement lead to bad data quality

YOU SHOULD CARE BECAUSE

Page 17: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Silos and non-involvement lead to bad data quality Bad data quality leads to misalignment of analytics

and business goals

YOU SHOULD CARE BECAUSE

Page 18: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Silos and non-involvement lead to bad data quality Bad data quality leads to misalignment of analytics

and business goals Proper tools and processes improve data quality

YOU SHOULD CARE BECAUSE

Page 19: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Q2: What Is ”Tag Management”

Page 20: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

BEFORE

Page 21: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

BEFORE

Page 22: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

BEFORE

Page 23: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

BEFORE

Page 24: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

BEFORE

Page 25: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

BEFORE

Page 26: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

BEFORE

Page 27: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

AFTER

Page 28: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

AFTER

Picard Layer

Kirk Layer

Data Layer

Page 29: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

AFTER

Page 30: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Consolidation of marketing-related web development

TAG MANAGEMENT IS

Page 31: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Consolidation of marketing-related web development A common terminology for all working with data

TAG MANAGEMENT IS

Page 32: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Consolidation of marketing-related web development A common terminology for all working with data Fertile ground for agile growth in data organization

TAG MANAGEMENT IS

Page 33: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Q3: What Is The Data Layer?

Page 34: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Marketing Platform I

Marketing Platform II

Marketing Platform III

WITHOUT A DATA LAYER…

Page 35: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Marketing Platform I

Marketing Platform II

Marketing Platform III

WITHOUT A DATA LAYER…

Page 36: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Marketing Platform I

Marketing Platform II

Marketing Platform III

WITHOUT A DATA LAYER…

Page 37: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Marketing Platform I

Marketing Platform II

Marketing Platform III

WITHOUT A DATA LAYER…

Page 38: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Marketing Platform I

Marketing Platform II

Marketing Platform III

WITHOUT A DATA LAYER…

Page 39: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Marketing Platform I

Marketing Platform II

Marketing Platform III

WITHOUT A DATA LAYER…

Page 40: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Marketing Platform I

Marketing Platform II

Marketing Platform III

WITHOUT A DATA LAYER…

Page 41: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Marketing Platform I

Marketing Platform II

Marketing Platform III

WITHOUT A DATA LAYER…

Page 42: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Marketing Platform I

Marketing Platform II

Marketing Platform III

WITH A DATA LAYER…

Page 43: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Marketing Platform I

Marketing Platform II

Marketing Platform III

WITH A DATA LAYER…

Page 44: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Marketing Platform I

Marketing Platform II

Marketing Platform III

WITH A DATA LAYER…

Page 45: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

A structured repository for all marketing data

DATA LAYER IS

Page 46: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

A structured repository for all marketing data Dynamic and flexible

DATA LAYER IS

Page 47: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

A structured repository for all marketing data Dynamic and flexible Platorm- and vendor-independent

DATA LAYER IS

Page 48: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Q4: How Do You Do eCommerce With A TMS?

Page 49: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

You don't!

Page 50: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

<script> window.dataLayer = window.dataLayer || []; dataLayer.push({ 'transactionId' : '12345', 'transactionAffiliation' : 'MKTFEST', 'transactionTotal' : 9.99, 'transactionTax' : 1.32, 'transactionShipping' : 2.50, 'transactionProducts' : [{ 'sku' : 'WhenIGrowUp', 'name' : 'IWantToBe', 'category' : 'Avinash', 'price' : 5.50, 'quantity' : 1 },{ 'sku' : 'BEST', 'name' : 'CONFERENCE', 'category' : 'EVER', 'price' : 3.50, 'quantity' : 2 }] });</script><!-- Google Tag Manager Container Snippet Here -->

Page 51: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

<script> window.dataLayer = window.dataLayer || []; dataLayer.push({ 'transactionId' : '12345', 'transactionAffiliation' : 'MKTFEST', 'transactionTotal' : 9.99, 'transactionTax' : 1.32, 'transactionShipping' : 2.50, 'transactionProducts' : [{ 'sku' : 'WhenIGrowUp', 'name' : 'IWantToBe', 'category' : 'Avinash', 'price' : 5.50, 'quantity' : 1 },{ 'sku' : 'BEST', 'name' : 'CONFERENCE', 'category' : 'EVER', 'price' : 3.50, 'quantity' : 2 }] });</script><!-- Google Tag Manager Container Snippet Here -->

Triggers your eCommerce Transaction tag

Page 52: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

<script> window.dataLayer = window.dataLayer || []; dataLayer.push({ 'transactionId' : '12345', 'transactionAffiliation' : 'MKTFEST', 'transactionTotal' : 9.99, 'transactionTax' : 1.32, 'transactionShipping' : 2.50, 'transactionProducts' : [{ 'sku' : 'WhenIGrowUp', 'name' : 'IWantToBe', 'category' : 'Avinash', 'price' : 5.50, 'quantity' : 1 },{ 'sku' : 'BEST', 'name' : 'CONFERENCE', 'category' : 'EVER', 'price' : 3.50, 'quantity' : 2 }] });</script><!-- Google Tag Manager Container Snippet Here -->

Triggers your eCommerce Transaction tag

The dataLayer is written by your eCommerce platform or CMS!

Page 53: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

<html> <head> <title>MARKETING FESTIVAL RULES OK</title> <script> window.dataLayer = window.dataLayer || []; dataLayer.push({ 'transactionId' : '12345', 'transactionAffiliation' : 'MKTFEST', 'transactionTotal' : 9.99, 'transactionTax' : 1.32, 'transactionShipping' : 2.50, 'transactionProducts' : [{ 'sku' : 'WhenIGrowUp', 'name' : 'IWantToBe', 'category' : 'Avinash', 'price' : 5.50, 'quantity' : 1 },{ 'sku' : 'BEST', 'name' : 'CONFERENCE', 'category' : 'EVER', 'price' : 3.50, 'quantity' : 2 }] }); </script> </head> <body> <!-- Google Tag Manager Container Snippet Here --> </body></html>

1. eCommerce platform or CMS renders the page template…

Page 54: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

<script> window.dataLayer = window.dataLayer || []; dataLayer.push({ 'transactionId' : '12345', 'transactionAffiliation' : 'MKTFEST', 'transactionTotal' : 9.99, 'transactionTax' : 1.32, 'transactionShipping' : 2.50, 'transactionProducts' : [{ 'sku' : 'WhenIGrowUp', 'name' : 'IWantToBe', 'category' : 'Avinash', 'price' : 5.50, 'quantity' : 1 },{ 'sku' : 'BEST', 'name' : 'CONFERENCE', 'category' : 'EVER', 'price' : 3.50, 'quantity' : 2 }] });</script>

1. eCommerce platform or CMS renders the page template…

2. …and populates dataLayer with details about the transaction…

Page 55: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

1. eCommerce platform or CMS renders the page template…

2. …and populates dataLayer with details about the transaction…

3. …these details are then picked up by a tag in GTM…

Page 56: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

1. eCommerce platform or CMS renders the page template…

2. …and populates dataLayer with details about the transaction…

3. …these details are then picked up by a tag in GTM…

4. …which sends this data to Google Analytics

Page 57: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Using the data layer

YOU ”DO” ECOMMERCE

Page 58: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Using the data layer By observing and respecting structural requirements

YOU ”DO” ECOMMERCE

Page 59: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Using the data layer By observing and respecting structural requirements With the developer and marketer working together

YOU ”DO” ECOMMERCE

Page 60: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Q5: Why Don't The Auto-Event Listeners Work?

Page 61: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

EVENT DELEGATION

HTML

HEAD

BODY

ARTICLE

DIV

DIV

FORM

GTM's form submit handler

Page 62: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

EVENT DELEGATION

HTML

HEAD

BODY

ARTICLE

DIV

DIV

FORM

GTM

submit()

Page 63: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

EVENT DELEGATION

HTML

HEAD

BODY

ARTICLE

DIV

DIV

FORM

GTM

submit()

Page 64: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

EVENT DELEGATION

HTML

HEAD

BODY

ARTICLE

DIV

DIV

FORM

GTM

submit()

Page 65: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

EVENT DELEGATION

HTML

HEAD

BODY

ARTICLE

DIV

DIV

FORM

GTM

submit()

Page 66: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

EVENT DELEGATION

HTML

HEAD

BODY

ARTICLE

DIV

DIV

FORM

GTM

submit()

Page 67: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

EVENT DELEGATION

HTML

HEAD

BODY

ARTICLE

DIV

DIV

FORM

GTM

submit()

return falseJS

Page 68: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

EVENT DELEGATION

HTML

HEAD

BODY

ARTICLE

DIV

DIV

FORM

GTM

submit()

return falseJS

Page 69: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

EVENT DELEGATION

HTML

HEAD

BODY

ARTICLE

DIV

DIV

FORM

GTM

submit()

return falseJS

Page 70: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

EVENT DELEGATION

HTML

HEAD

BODY

ARTICLE

DIV

DIV

FORM

GTM

submit()

return falseJS

X

X

X

Page 71: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

SAMPLE FIX

$('a.toTop').on('click', function() { $('html, body') .animate({ scrollTop: $('#top').offset().top – 5 }, 500); return false; });

Binds a specific link click to scroll the screen to the top of the page

Page 72: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

SAMPLE FIX

$('a.toTop').on('click', function() { $('html, body') .animate({ scrollTop: $('#top').offset().top – 5 }, 500); return false; });

Binds a specific link click to scroll the screen to the top of the page

Page 73: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

SAMPLE FIX

$('a.toTop').on('click', function(e) { e.preventDefault(); $('html, body') .animate({ scrollTop: $('#top').offset().top – 5 }, 500); return false; });

Binds a specific link click to scroll the screen to the top of the page

Page 74: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

GTM's listeners are primed on the document node

EVENT DELEGATION

Page 75: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

GTM's listeners are primed on the document node For them to work, events must bubble / propagate

EVENT DELEGATION

Page 76: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

EVENT DELEGATION

GTM's listeners are primed on the document node For them to work, events must bubble / propagate If events aren't captured, work with your developers

to find possible functions that stop propagation

Page 77: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

Q6: What Tools Should I Use?

Page 78: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

FOR MAPPING TAGS

Google Tag Assistant

http://goo.gl/qF6OQM

WASP.crawler

http://goo.gl/1fieUZ

Page 79: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

FOR DEBUGGING HITS

GA Debugger

http://goo.gl/GmqodA

WASP.inspector

http://goo.gl/Tl9Nhi

Page 80: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

FOR DEBUGGING GTM

GTM Sonar

http://goo.gl/NVmBhv

GTM Preview

http://tagmanager.google.com/

Page 81: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

GTM TOOLS

http://www.gtmtools.com/

Page 82: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

GTM TOOLS V2.0

Page 83: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

FOR DOING AWESOME STUFF

Page 84: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Marketing Festival 2014 | #mktfest | @SimoAhava

FOR DOING AWESOME STUFF

http://goo.gl/7wxHCD

Page 85: Tag Management Solutions - Best Data Ever (Marketing Festival 2014)

Simo Ahava | NetBooster

@SimoAhava

http://google.me/+SimoAhava

[email protected]

www.simoahava.comwww.netbooster.fi

THANK YOU!