9

Click here to load reader

Understanding Google Tag Manager

Embed Size (px)

DESCRIPTION

Understanding Google Tag Manager

Citation preview

Page 1: Understanding Google Tag Manager

UNDERSTANDING THE TAGMANAGER

@REGALIX ACADEMY 2014

Page 2: Understanding Google Tag Manager

GOOGLE TAG MANAGER

Google Tag Manager allows you to quickly and easily update tags on your website.

@REGALIX ACADEMY 2014

Page 3: Understanding Google Tag Manager

WHAT IS A TAG?

A tag is snippet of JavaScript that sends information to a third party, such as Google.

If you don't use a tag management solution such as Google Tag Manager, you need to add these snippets of JavaScript directly to the source code of your site.

In contrast, with Google Tag Manager, you no longer need to maintain each of these JavaScript snippets in your source code;

instead, you specify the tags that you want to fire, and when you want them to fire, in the Google Tag Manager user interface.

@REGALIX ACADEMY 2014

Page 4: Understanding Google Tag Manager

HOW IT WORKS

Google Tag Manager works via a container snippet, that you place on all your website pages.

The container snippet replaces AdWords, Google Analytics, Floodlight, and other tags on your site.

Once a container snippet has been added to your site, you update, add, and administer tags from your Google Tag Manager account.

You’ll typically

only need one

Google Tag Manager account

per company

@REGALIX ACADEMY 2014

Page 5: Understanding Google Tag Manager

CREATING A CONTAINER

As part of creating a Google Tag Manager account, you’ll be asked to create a container. A container holds all the tags for a specific website, so it’s best to name the container after the site.

For the site example.com, you might name the container "example".Create a new container whenever you start managing tags for a new website. To create a new container:

1. 1. In Google Tag Manager, select an account. The Containers page appears.

2. On the Containers page, click New Container.3. Enter a container name, select "Web Pages" under Where to Use

Container, and click Save (or Create Account and Container if you are creating this container as a part of creating an account.)

@REGALIX ACADEMY 2014

Page 6: Understanding Google Tag Manager

ADDING THE CONTAINERSNIPPET

A container snippet is provided for each container. Copy and paste this snippet immediately after the opening <body> tag on every page on the site. Be sure to remove tags (e.g. Google Analytics, AdWordsConversion Tracking, etc) from the site pages at the same time.

To find the container snippet:

1. In Google Tag Manager, select an account. The Containers page appears.

2. Click the desired container in the list.3. Using the left navigation, go to Users & Settings > Settings.

@REGALIX ACADEMY 2014

Page 7: Understanding Google Tag Manager

ADDING, UPDATING ANDPUBLISHING TAGS

Once a container has been created and the container tag has been added to the site, you’re ready to add and update all tags from the Tags page.

1. In Google Tag Manager, select an account. The Containers page appears.2. Click your site’s container in the list. The Tags page appears.3. To add a tag:

Click New > Tag. Select the tag type (for example, Google Analytics) and specify rules for when the tag should fire. Read Tags to learn more.

To edit a tag: (for example, update the rules for when the tag should fire)Click the tag in the list. Make changes on the Edit Tag page. Read Tags to learn more.

To delete a tag:Click the tag in the list. On the Edit Tag page, click Delete this tag.

@REGALIX ACADEMY 2014

Page 8: Understanding Google Tag Manager

ADDING, UPDATING ANDPUBLISHING TAGS

4. Preview your site. Previewing gives you an opportunity to perform quality assurance (QA) on your site. You can make sure the site looks and behaves as you expect and, using the debugging option, see which tags fire as you browse and interact with the site.From any page under Container Draft in the left navigation, click Create Version. Click Preview > Preview and Debug. Read Previewing and Debugging to learn more.

5. Publish the changes live to your site.Using the left navigation, go to Versions > Overview. In the table, select the version you saved when you previewed your site. Click Publish.

You should only publish container versions that you've previewed. However it's possible to create a version and publish it without previewing. From the Tags page, click Create Version. Click Publish. Read Publishing and Versions to learn more.

@REGALIX ACADEMY 2014

Page 9: Understanding Google Tag Manager

The End

@REGALIX ACADEMY 2014