How to Use the Google Tag Manager
In order to know how to use the Google Tag Manager, let us first discuss what it is. You know, managers are usually known for making lives miserable but GTM is completely the other way around. On the surface, Google Tag Manager is about the tags, scripts, and code snippets associated with your website. Hence, let us first understand what is the purpose of a tag, where can you find them on your website, and how can you use them accurately. A tag is basically a snippet of code that measures your website traffic, tells the user behavior, and monitor your campaigns.
Some of the popular Tags are Google Analytics, Crazy Egg, and Floodlight. Prior to GTM, every time you want a tag to be added or removed or edited, a web developer is a must-have piece. But, not anymore! Google Tag Manager is a tag management system that gives the freedom to create or monitor tags on a user interface without having to write code every time you create one. All you need to do is embed the GTM code on every single page of your website.
Okay! Keep that excitement hang on. Since we got to know what is the use of Google Tag Manager, let us know how to use it next.
1. Create a Google Tag Manager account
It is more like a directory submission. Simple and clear. You will be asked the name of your business and set up the same as a container. In this section, you can either insert your main domain or certain landing pages where you want the GTM to be effective. Also, as you can see
below, you also get to choose the Target Platform such as a website or a mobile app. In this case, let us go with the Web.
2. Add Snippet Code to your Respective Website
Once you are done with the creation of account and container, you will be redirected to a pagewith a snippet of code. Like this.
You can copy and paste this code onto any page of your website to enable GTM.
3. Create a Tag
Look at the GTM dashboard and you will find what I am about to talk. Click on “Add a New Tag”which opens a new window where you are given the options to configure your tag. Before you go and create your tags, here is a gentle reminder: Make sure you name the tags clearly as you would be creating multiple tags and there should be no confusion of what tag does what. Got it?
By default, GTM provides commonly used tags but if you do not find what you are looking for, it also does provide you to customize the tag by choosing “Custom HTML” to add your version of code. For instance, let us see how Google Analytics tag works.
As you can see in the image above, we have chosen Page View from the “Track Type” the drop-down menu which fires immediately when the browser begins to load a page.
Likewise, you can find the “Trigger Configuration” right below this Tag Configuration. A trigger is something that becomes alert to your web page for events like button click, submissions, page views etc., As the name suggests, triggers notify the tag to fire when a certain event is detected. That’s why every tag needs at least one trigger to fire. Dishoom!
As your tag and trigger are now configured, publish the container. So, what does Google Tag Manager do ? It lets us create and customize any tag within the Tag Manager interface. See, it is that easy.
If there is anything you’d like to know more about the Google Tag Manager, shoot us in the the comments section below