Top Banner
Google Tag Manager Google Tag Manager
32

Google Tag Manager (GTM)

Apr 16, 2017

Download

Software

Dragos Ionita
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

Page 2: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

Squirrels `are members of the family Sciuridae, consisting of small or medium-size rodents. The family includes tree squirrels, ground squirrels, chipmunks, marmots (including woodchucks), flying squirrels, and prairie dogs. Squirrels are indigenous to the Americas, Eurasia, and Africa, and have been introduced to Australia. The earliest known squirrels date from the Eocene and are most closely related to the mountain beaver and to the dormouse among living rodent families.

Page 3: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

Tyrannosaurus (/t ræn s r s/ or /taᵻˌ əˈ ɔː ə ɪræn s r s/, meaning "tyrant lizard", ˌ əˈ ɔː əfrom the Ancient Greek tyrannos (τύραννος), "tyrant", and sauros (σα ρος), ῦ"lizard") is a genus of coelurosaurian theropod dinosaur. The species Tyrannosaurus rex (rex meaning "king" in Latin), commonly abbreviated to T. rex, is one of the most well-represented of the large theropods.

Page 4: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

Sorry! Was a joke!Sorry! Was a joke!Further, even we talk about GTMFurther, even we talk about GTM

Page 5: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

I Introducing Google Tag Manager

II Setting up a basic Google Analytics / Criteo tracking

III Enhancing your implementation with a Data Layer

Subjects:Subjects:

Page 6: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

I Introducing Google Tag Manager

II Setting up a basic Google Analytics / Criteo tracking

III Enhancing your implementation with a Data Layer

Subjects:Subjects:

Page 7: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

IntroducingIntroducing Google Tag Manager Google Tag Manager

Page 8: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag ManagerWhat's the Google Tag Manager?

Page 9: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag ManagerWhat's the Google Tag Manager?

GTM is a Tag Management System (TMS).

Page 10: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag ManagerWhat's the Google Tag Manager?

GTM is a Tag Management System (TMS).

What's a Tag Management System?

Page 11: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag ManagerWhat's the Google Tag Manager?

GTM is a Tag Management System (TMS).

What's a Tag Management System?

Tag Management Systems aim to simplify the deployment and maintenance of JavaScript tags.Or in a business definition: TMS is designed to help manage the lifecycle of e-marketing tags, which are used to integrate third-party software into digital properties.

Page 12: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag ManagerWhat's the Google Tag Manager?

GTM is a Tag Management System (TMS).

What's a Tag Management System?

Tag Management Systems aim to simplify the deployment and maintenance of JavaScript tags.Or in a business definition: TMS is designed to help manage the lifecycle of e-marketing tags, which are used to integrate third-party software into digital properties.

But how it works?

Page 13: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag ManagerWhat's the Google Tag Manager?

GTM is a Tag Management System (TMS).

What's a Tag Management System?

Tag Management Systems aim to simplify the deployment and maintenance of JavaScript tags.Or in a business definition: TMS is designed to help manage the lifecycle of e-marketing tags, which are used to integrate third-party software into digital properties.

But how it works?

Tag management systems replace the multiple tags with a single container tag and afterwards arrange and “fire” individual tags as appropriate based on business rules.

Page 14: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

Tag Container

<html>

</html>

Website Google Tag Manager

Page 15: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

Tag Container

<html>

</html>

Website Google Tag Manager

Sorry :D

Page 16: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag ManagerWhy the Google Tag Manager?

- Gain independece from long development processes- Experiment new partenerships more often- Keep improving the quality of your data- Do not bother programmers for each new pixel :D

- You will always remain dependant from your marketing departament- Transition to migrate hard coded tags can be painful

Pros:Pros:

Cons:Cons:

Page 17: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag ManagerWhy the Google Tag Manager?

- Gain independece from long development processes- Experiment new partenerships more often- Keep improving the quality of your data- Do not bother programmers for each new pixel :D

- You will always remain dependant from your marketing departament- Transition to migrate hard coded tags can be painful

Pros:Pros:

Cons:Cons:

Score:

4 : 2GTM win :D

Page 18: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag ManagerGoogle Tag Manager vs Paid Solutions

- Support- A wider tag library- Controlling tag load order- Interface to select DOM elements- Real-time deduplication- A/B Testing

Page 19: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

Setting up a basic Google Analytics / Setting up a basic Google Analytics / Criteo trackingCriteo tracking

Page 20: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

1. Signing in with a Google Account: http://www.google.com/tagmanager/

2. Creating a Google Tag Manager Account (company name):

Page 21: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

3. Setting up a container (usually one per website)

Page 22: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

4. Implementing the container on all pages after the opening <body> tag (not in the header)

Page 23: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager4. Creating a new Google Analytics Tag: (For a Criteo tag, you need a Custom Tag with a snipped code from your partener)

Page 24: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager5. Creating a new variable: (Label will have a dynamic value so we need to send that value from our application)

Page 25: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager5a. Set type and configure the new variable:

Page 26: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager6. Back on the Tag for configuration: (it will be an Event Track Type with a Category, an action and also a label)

Page 27: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager7. Create a new trigger: (it will be necessary for dictation when that Tag will be fired)

Page 28: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager8.That's all with 'My First Tag'. if all went well, you will be able to see the following screen:

9. The last step is to publish your changes (click on Publish button)

Page 29: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

Enhancing your implementation with a Enhancing your implementation with a Data LayerData Layer

Page 30: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag ManagerWhat's the point of a Data Layer?

“A Data Layer is an object that contains all of the information that you want to pass to Google Tag Manager” (Google Developer Guide)

In a developer language: A data layer is only a JavaScript object

Page 31: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag ManagerHow will be a Data Layer for our “My First Tag”?

Below is an example of how it will look the Data Layer for our Tag.We need category and action as constants.When you click on the View Product button, we will send the “product_label” that will be the “ProductLabel” variable and also we send the event: “view_product” for the trigger.

Page 32: Google Tag Manager (GTM)

Google Tag ManagerGoogle Tag Manager

That's all for todayThat's all for todayThanks for watching!Thanks for watching!

Dragos IonitaSoftware Engineerhttps://ro.linkedin.com/in/dragos-ionita-8ab20756

A presentation by:A presentation by: