google tag manager - basic introduction

31
Google Tag Manager Basic Introduction Carl Franzon [email protected]

Upload: carlfranzon

Post on 13-Apr-2017

270 views

Category:

Data & Analytics


0 download

TRANSCRIPT

Page 1: Google Tag Manager - Basic Introduction

Google Tag ManagerBasic Introduction

Carl Franzon [email protected]

Page 2: Google Tag Manager - Basic Introduction

Google Tag Manager

Page 3: Google Tag Manager - Basic Introduction

Agenda

• Why GTM?

• Tracking Script

• Migrating from Standard tracking

• GTM Advantages

• Account structure

Page 4: Google Tag Manager - Basic Introduction

Why GTM?

I need this script added on our site!

Page 5: Google Tag Manager - Basic Introduction

1 month later…

Page 6: Google Tag Manager - Basic Introduction

Why GTM?

The script doesn’t work / I need another

script!

Oops! Create a new task and add it to the

list!

Page 7: Google Tag Manager - Basic Introduction

Why GTM?

• Time-consuming

• Development-demanding

• Resource-heavy

• Difficult to manage all scripts

Page 8: Google Tag Manager - Basic Introduction

Why GTM?

I need this script added on our site!

Page 9: Google Tag Manager - Basic Introduction

1 month later…

Page 10: Google Tag Manager - Basic Introduction

Why GTM?

Page 11: Google Tag Manager - Basic Introduction

Why GTM?

• Good overview of all scripts on site (tags)

• No developer required (although some technical knowledge is helpful…)

• Deploy-on-demand (mind the risks)

Page 12: Google Tag Manager - Basic Introduction

Google Tag ManagerWhat is it?

Page 13: Google Tag Manager - Basic Introduction

UI - Accounts View

• Accounts

• Containers

• Connected to logged-in user

• Containers/account is limited

Page 14: Google Tag Manager - Basic Introduction

UI - Container View• Most used view

• Current status

• Tags

• Triggers

• Variables

• Folders

• Versions

Page 15: Google Tag Manager - Basic Introduction

UI - Container View• Most used view

• Current status

• Tags

• Triggers

• Variables

• Folders

• Versions

Page 16: Google Tag Manager - Basic Introduction

Tags• Snippet of code that is

executed on your website

• Often sends data to 3rd-party

Examples:

• Google Analytics Pageviews

• Events / Transactions / Search

• Behavior-tracking services

Page 17: Google Tag Manager - Basic Introduction

UI - Container View• Most used view

• Current status

• Tags

• Triggers

• Variables

• Folders

• Versions

Page 18: Google Tag Manager - Basic Introduction

Triggers

• Rules that decide if a tag is executed or not (fire / non-fire)

• Made up of conditions

• Default triggers

• Custom triggers

Page 19: Google Tag Manager - Basic Introduction

Triggers

• Rules that decide if a tag is executed or not (fire / non-fire)

• Made up of conditions

• Default triggers

• Custom triggers

Fire on:

• All Pages

• Some Pages

• Click

• Form

• Other

Page 20: Google Tag Manager - Basic Introduction

Triggers

• Rules that decide if a tag is executed or not (fire / non-fire)

• Made up of conditions

• Default triggers

• Custom triggers

Page 21: Google Tag Manager - Basic Introduction

UI - Container View• Most used view

• Current status

• Tags

• Triggers

• Variables

• Folders

• Versions

Page 22: Google Tag Manager - Basic Introduction

Variables

• Name-value pair

• Used in triggers and tags

• Default variabels

• Custom variables

Page 23: Google Tag Manager - Basic Introduction

Name Value

Page URL ”http://www…”

Page Title ”Atea eSHOP”

Event Click

Click Element IMG Object

Form ID ”registration-form”

Variables

• Name-value pair

• Used in triggers and tags

• Default variabels

• Custom variables

Page 24: Google Tag Manager - Basic Introduction

Variables

• Name-value pair

• Used in triggers and tags

• Default variabels

• Custom variables

Really powerful tool

Extract data from website

Fetch value from a cookie / dataLayer

Where the ”magic” happens

Page 25: Google Tag Manager - Basic Introduction

UI - Container View• Most used view

• Current status

• Tags

• Triggers

• Variables

• Folders

• Versions

Page 26: Google Tag Manager - Basic Introduction

GTM - Example

”I want to send an event to Google Analytics when a visitor clicks on a banner on the front page.”

Page 27: Google Tag Manager - Basic Introduction

GTM - Example

”I want to send an event containing the image name to Google Analytics when a visitor clicks on a banner on the front page.”

Page 28: Google Tag Manager - Basic Introduction

GTM - ExampleTag Trigger Variables

Google Analytics Event Tag

Banner Clicks on Front Page ”Click URL Query”

”Click Element”

”Page path”

Page 29: Google Tag Manager - Basic Introduction

UI - Versions View• Most used view

• Current status

• Tags

• Triggers

• Variables

• Folders

• Versions

Page 30: Google Tag Manager - Basic Introduction

Best practice

• 1 Version for each ”function”

• Use the Preview mode

• If you are unsure, ask someone to review

• Set right access to right people (powerful tool)

Page 31: Google Tag Manager - Basic Introduction

Thank you!