January 27, 2020
Create a Google Analytics Page View Tag with Google Tag Manager

Create a Google Analytics Page View Tag with Google Tag Manager


When deploying Google Analytics through Google Tag Manager, the first thing you’ll need to do is set up a Google Analytics page view tag. This is a pretty simple process to do. So let’s go ahead and walk through that. Absolutely. When we want to set up a new Google Analytics tag within Google Tag Manager, We can very easily just click this new tag prompt or we can go to the tag screen to create a new tag there. We’ll click in to create a new tag, and we’ll select the tag configuration to choose the tag type. In this case, we’ll want to select Google Analytics, Universal Analytics. The default type selected for me, of course, is the page view tag. So this is the tag that you’re going to want to deploy on all pages of your site to get the base level, of reporting inside of Google Analytics. You’ll notice that the second field here is asking me for a Google Analytics setting variable. If you’ve already set up a Google Analytics Settings Variable, you’ll find it from this drop-down, and all you’ll have to do is select it here. If you haven’t done so already, you can create a new Variable, and go through the process of entering, your property ID, and any other settings that you might want to control centrally. Such as, custom dimensions, custom metrics, advertising settings, and so on. We’ll save this settings variable. Make sure that it’s named. Now anytime in the future we create a Google Analytics tag, we’ll be able to choose this settings variable, so we don’t have to do this again. From here, all we have to do, is apply a trigger. In this case, the default all pages trigger, to choose what pages this tag should fire on. It’s worth noting that if you’d like to control the settings for a given Google Analytics tag, from within that tag instance, instead of from the centralized Google Analytics settings variable, you can do so by, selecting the Enable Overriding Settings option in this tag. And from here you’ll be able to enter in a Tracking ID, and all of those other settings like, fields to set custom dimensions and custom metrics. If you’ve also selected a Google Analytics settings variable, that variable settings will be inherited here, and you can override individual fields as you enter them. Otherwise, if I didn’t select one, only the settings entered in this tag will take effect. Once we have all of the settings ready for our Google Analytics page new tag, and we’ve given it a trigger, we just have to save it and make sure it has a name. In this case, we’ll do Google Analytics page view. Save that tag. Once we’ve published this workspace, we’re good to go.

9 thoughts on “Create a Google Analytics Page View Tag with Google Tag Manager

  1. I've followed step-by-step instructions on multiple videos and I think the smartest choice I can make is give up.

  2. OK, it works but isn't this a step backwards? Or did I do it wrong?

    Now when my page loads, it loads a GTM script for my event tracking, and a GTM GA script which does nothing but calls on a 3rd normal GA script.

    So how I had it before, was only one script, now it's 3 external calls.

    What gives?

  3. Google does not give UA tracking ids anymore so you have use your property ID as your tracking ID with the new GA interface. For Example: Your property ID is 123456789. You will need to submit it in GTM as UA-12345678-9 for it to work. That worked for me.

  4. Ok, so I've set up a series of 30 Pageview tags, then waited two days. I can not find where those tags are recorded on Google Analytics. Please help!

Leave a Reply

Your email address will not be published. Required fields are marked *