Streamlining Google Analytics Configuration With The Assistance Of Google Tag Manager

Utilizing analytics through GTM enables you to improve the code set up on your site and rapidly set up cutting edge highlights like cross-domain tracking.

Google Analytics is a pivotal segment of any digital marketer’s toolbox. Getting analytics information begins with an appropriate installation of the tracking code. Fortunately, Google Tag Manager makes this procedure straightforward, even though changes to the Analytics code are required.

Google Tag Manager (GTM) enables you to send Google Analytics tracking without adding any further code to your site. Broad configuration choices enable you to change the arrangement dependent on your needs.

In this article, I’ll spread how to set up Google Analytics through GTM, alongside specific tips for customization depending on your needs.

Introducing a worldwide Google Analytics tag

Explore to your ideal GTM record and holder. From the Overview screen, select “Add a new tag.”

Next, click inside the Tag Configuration box to pick a tag kind. Select “Google Analytics: Universal Analytics.”

Leave the “Track Type” dropdown set to “Page View.” Next, under “Google Analytics Settings,” pick “New Variable.”

Presently, you’ll make a variable that incorporates your one of a kind Google Analytics Tracking ID. After a one-time arrangement, you’ll have the option to reuse this variable in any future GA tags. You can likewise modify settings for the variable under “Advanced Configuration,” or supersede settings inside a particular tag by checking the “Empower overriding settings” hit.

Discover your Tracking ID (you can find this rapidly by going to Tracking Info > Tracking Code inside the Admin part of your GA record) and glue it into the separate field in GTM. Name and save the variable.

Presently, come back to altering your tag and select the GA variable you made.

Next, click inside the Triggering segment to pick which pages you need the tag to show up on. To send comprehensively any place your GTM code is set up, select “All Pages.” Submit changes to push your tag live.

Event Tracking

Occasions are beneficial in Google Analytics to follow any connections that aren’t enrolled naturally. Some potential activities incorporate taps on components inside pages, scroll movement, document downloads, video views, and form entries.

To fire an event, pick “event” from the “Track Type” dropdown when making your GA tag. Next, fill in the fields with the fitting parameters for your event.

For example, in this model, we’re following a whitepaper download. Our fields include:

Classification: “Whitepaper”

Activity: “Download”

Mark: “Blue Whitepaper”

Likewise, note the Non-Interaction Hit dropdown. Of course, when set to “False,” the event will consider a connection, which means the session won’t be viewed as a skip if the client finishes the related activity. If you set this dropdown to “True,” a user could complete the activity yet at the same time consider a skip if they leave the page before doing anything else.

Cross-domain tracking

In case you’re utilizing a similar Google Analytics account over numerous domains, you should empower cross-domain tracking to guarantee that users are being followed when moving between different domains. Else, they’ll be viewed as independent guests to every domain.

Initially, under “More Settings” for your GA variable, open the “Fields to Set” area. Type “allowLinker” for Field Name and “true” for Value.

Next, further down in the “More Settings” alternatives, click the “Cross Domain Tracking” dropdown. In the “Auto Link Domains” field, embed complete domains you’d like to follow, isolated by commas.

In case you’re utilizing a structure that takes a user to another domain upon accommodation, you’ll likewise need to pick “True” in the “Decorate Forms” dropdown.

Spare the variable and submit to push live. You should now observe bound together detailing crosswise over domains, wiping out duplication of user count if similar individuals visit different destinations with your GA tag.

Upgraded interface attribution

Google offers a helpful Page Analytics Chrome extension, which enables you to picture click information for links on your site. You can perceive what number of clicks happened on each link, just as what level of total clicks for a page went to each.

Shockingly, as a matter of course, this report bunches together means any links heading off to a similar URL. So if you clink to the same URL from both a top route bar and your site’s footer, each link will demonstrate a similar click count.

Fortunately, a straightforward setting change enables you to separate between clicks on various components. When altering your Google Analytics variable, search for the “More Settings” choice underneath where you entered your Tracking ID.

Inside the alternatives that show up, click “Advanced Configuration.” You’ll currently observe a dropdown named “Enable Enhanced Link Attribution.” Choose “True” here.

When you’ve spared and distributed this change, you’ll currently observe exceptional counts for each link in the Page Analytics report.


Google Tag Manager offers broad integration with Google Analytics, enabling you to configure anything from introducing the default code to covering advanced tracking situations. Setting up Analytics through GTM allows you to improve the code set up on your site, just as effectively enable access to tweak settings without requiring advancement refreshes. You can rapidly set up advanced highlights like cross-domain tracking.

If you haven’t done as such yet, make GTM a piece of your work process for setting up Google Analytics executions. Investigate advanced choices to tweak as required. You’ll spare time and decrease conflict with developers.

About Martech Leader

You can get updated on the things going around Martech ecosystem with Martechleader. Find any sort of news on Martech,Martech events,Martech Conferences at your finger tips now.

Leave a Comment