As marketers, we should all understand the critical importance that data plays in our decisions. We need to know what works and what doesn’t. Where can we best spend our marketing budget? You can’t assume your investment is generating any returns without having access to the numbers. That’s why using a marketing tool like Google Analytics on your website is vital. In this article we answer the question, “how can I add Google Analytics to my website using Google Tag Manager?”
If you already have Google Analytics on your website then you can skip this. If not, then this is for you. I’m going to show you step by step how to setup Google Analytics on your website.
Before you install Google Analytics on your website have you actioned these steps?
- Have you – Setup a Google Tag Manager Account
- Have you – Installed Google Tag Manager on your website
Now we can begin our step by step guide.
- I’m going to show you how to install Google Analytics using Google Tag Manager. Before you begin, ensure you have Google Tag Manager installed on your website.
- You’ll need a Google Analytics account if you don’t already have one. Visit analytics.google.com to start.
- Setting up a new Google Analytics account is free and easy. During the process, you’ll be presented with a form, which is straightforward to complete.
- At the end of the sign-up process, you’ll be given a tracking ID. You’ll need the tracking ID in the future, so copy and paste it somewhere for reference.
- Now head over to Google Tag Manager. Select the new tag option.
- For every new tag, we need to set up tag configuration and triggering. Tag configuration is what happens, triggering is when. Click tag configuration to begin.
- Within Tag Manager, Google Analytics is already configured. Just select Google Analytics from the list.
- Once Google Analytics has been added to your tag configuration, click it again to open its settings.
- We need to add our Google Analytics ID to the tag we added. To do this click through again to the settings. In the blank field, paste in your Google Analytics ID.
- You should now see your analytics ID on the tag overview.
- Now we need to configure when the tag will be used. To do this, click on triggering.
- We want analytics to be used on all pages so tick the box. On the same screen, you can create rules for where tags should be used. So you do have full control.
- We want analytics to be used on all pages, so tick the checkbox next to all pages. On the same screen, you can create rules for where tags should be used. This means So you can have full control when or when tags are used.
- Back on the tag overview screen, you should now have everything set up. In the configuration, we’ve added the Google Analytics Tag with our ID. In triggering, we’ve setup triggering to use the tag on all pages.
- Once you’re happy click submit. This is the first step in getting your new tags on your website, and you can do it all without editing code or even logging in to your website.
- Give your new tag version a name. The name you pick doesn’t matter, it should just be something recognisable to you. Then click publish.
- That’s it! Head over to your website and visit a few pages. As a test, over on your Google Analytics dashboard, you should see at least one active visitor on your website.