How to Get Started with Google Tag Manager

While Google Analytics provides you with a lot of valuable data on your visitors, Google Tag Manager takes your conversion rate optimization strategy to a new level by allowing you to track specific conversion events. You’d think Google Tag Manager’s higher level of functionality would mean you’d also need a higher level of technical know-how, but that’s not the case. The great thing about Google Tag Manager is that you don’t need the expertise of a developer to make changes to what you’re tracking. In fact, the powerful conversion tracking platform is specifically designed to be used by website owners and marketers.

In this piece, we’ll show you the step-by-step process for (1) creating your Google Tag Manager account, and (2) linking your Google Tag Manager and Google Analytics accounts together with an ‘All Pages’ tag.

How to set up your Google Tag Manager account

If you don’t already have a Google Tag Manager account set up, you’ll be happy to know that it’s a fairly straightforward process if you already have a Google account. Simply go to tagmanager.google.com. Your screen should look like this:

GTM setup 1

Name your account and hit “Continue.”

Next, add your site URL as the container name, and select where your container will be used. Then click “Create.”

GTM container setup

You will then be shown a service agreement. Give it a read and then click “Yes” to continue.

GTM setup 2

You will then be navigated to a page like the one below, where you will be instructed to embed two distinct codes within every page of your site:

GTM container code

This container code is what holds all the tags you will be using to track conversions and other on-page activities. These tags should serve a specific purpose and have a designated “trigger” — such as a tag that tracks form submissions or digital downloads.

How to Set Up Commonly Used Variables in Google Tag Manager

If you plan to set up certain conversion tracking measures, you’ll want to make sure you have certain variables set up. Starting at your dashboard, click on “Variables” in the left menu bar. Click on “Configure” and a menu of variables will pop up. We recommend having the the most common variables checked:

How to Set Up an ‘All Pages’ Tag in Google Tag Manager

Once you’ve set up your Google Tag Manager account and embedded the container code on your site (using our instructions above), click “OK” and this is what your page will look like:

GTM setup 3

The next step is to connect your Google Tag Manager account with the appropriate Google Analytics account. You do this by setting up an “All pages” tag within your Google Tag Manager account. To do this, click on “Tags” in the left sidebar:

GTM setup 3.5

On the next page, click “New” to create your first tag.

GTM setup 4

You will be presented with a popup window that looks like this:

GTM setup 5

Since the tag is currently labeled as “Untitled tag,” change the name of the tag for easier identification later. For our purposes, we are naming it “All Pageviews.” Next, you’ll click on “Choose a tag type to begin setup…”

GTM setup 6

Select “Universal Analytics” — this is how we will connect your Google Analytics account to Google Tag Manager.

GTM setup 7

Below is what your screen should look like after clicking on “Universal Analytics.”

GTM setup 8

Click on “Enable overriding settings in this tag” to bring up a “Tracking ID” field.

GTM setup 9

Input your Google Analytics Tracking ID into that field.

GTM setup 10

Next, click on “Choose a trigger to make this tag fire…” in the Triggering box:

GTM setup 11

A window will popup that allows you to choose a trigger. The only one that should be available to you at this time is the “All Pages” trigger you just created. Select it.

GTM setup 12

Your Tag Configuration and Triggering boxes should now look like this:

GTM setup 14

Once you’ve satisfied with your tag, there’s a multistep process to push it live. First, click “Save” in the upper right-hand corner. You will be brought to the main Tags dashboard. Click on “Submit” to continue the process:

Create a new tag

You will be brought to a screen that looks like this:

GTM setup 15

This page allows you to document the changes you’ve made to your tags. Simply explain what you’ve done in this version. In this case, just write “Added ‘All Pages’ tag” in the name and description, then click on “Publish.”

GTM setup 16

The next page will give you a brief rundown of information about your new tag version:

GTM setup 17

Congrats! With that “All Pages” tag in place, you’re now ready to move on to conversion tracking.



Related Articles