Google Tag Manager (also known as GTM) is Free and one of the best tool by Google for Webmaster or Bloggers like you. You know very well that whenever we develop any blog-site, we need to add some tags by editing Theme Files as Google Analytics tag, Image tags, Custom Scripts, AD tags, etc in the theme’s core files. But doing this editing might not be Easy for many bloggers. As to add so, you must be a PRO Developer or must have enough knowledge of Editing the core files of any Blog-site.
And, Suppose you’re one of them, you don’t have that much knowledge of Editing those theme files or you don’t want them to be Edited. At that time only one thing comes out is Google Tag Manager. With GTM you can manage all those tags from a Single and Easy to Use Interface, you can add or remove the tags anytime you want.
So that way you can also decrease the Page loading time of your blog-site. Just by placing a single tag for Tag Manager instead of placing separate tags for every service you’re using.
By the end of this article you’ll have an idea to manage all your tags with Google Tag Manager, Smartly. But before moving ahead I would like you to know more about GTM, that why you should use it.
All-in-One Tag Management by Google Tag Manager:
I’ve already told you that you just need to add GTM code into the source code of your blog-site, instead of adding separate codes for every product service you use (Google Analytics, and other scripts). And, then you’ll be able to manage all your tags from a single interface of Google Tag Manager.
You need a Google Account to Create a GTM Account, you can Create Multiple GTM Accounts with Single Google Account.
Lets get started to the Management of GTM, browse and login into GTM using your Google Account (Gmail).
Once you’re logged into the Google Tag Manager, at first you’ll see an screen to create a GTM Account and Container. As shown below:
But you might get confused /with some Keywords used in GTM. So before moving ahead you should know enough about:
- Account: Should be the Name of your Company.
- Container: Should be the Name of your Blog or Website.
As an Example: Name of my company is TechnoShort and the name of blog is HowToCracker, then I should name my GTM Account “TechnoShort” and Container as “HowToCracker”.
Note:- In case you just have a Blog-site and don’t have any Company, It’s your choice you can give Blog Name as Company Name. And you shouldn’t be confused here, you can Name your Account anything you want, it’s just for your reference.
- Tags: A Tag is actually a bunch of Script Code which is used to collect data from a Website/App. As you’ll be creating a Google Analytics Tag to collect conversion data of your blog-site, or you can create other Tag according to your needs.
- Triggers: Triggers are the integral part of creating a Tag, Triggers let you control How, When and Where the Tag should be Fired.
- Variables: A Variable used to defining a Trigger on advance level.
Using variable in Triggers, you can even track a Clickable Button, E-commerce Portals, Form Submissions, etc…
So now you’re familiar with most of Google Tag Manager, lets move on.
Continue to Create GTM Account and Container:
To create a GTM Account follow the steps written below:
- Enter your company Name in Account Name field, or name it anything you want.
- Check the Box saying “Share data anonymously with Google and others” and Click Continue.
Once you click on Continue, you’ll get Focus on the Setup Container section. It’s time to Setup 1st Container for GTM Account, lets do it;
- Enter the Name of your Blog in Container Name field
- Select “Web” as the type of property, and click on Crete button.
Now you’ll see Tracking Code for your GTM container, to make it work on your blog or website you need to add this Code in the every page of your blog-site. You can do so by adding that code before the closing body tag (</body>) in your HTML page. And, that is great if you’re a WordPress user, you can use DuracellTomi’s GTM or WP Google Tag Manager plugin to put your container to work on your blog-site.
The only thing remain is to add Tags to the Container, to understand the working of GTM easily, we’re going to add a Google Analytics Tag together.
Setup and Fire Google Analytics Tag with Google Tag Manager:
We’re going to add GA Tag but to add any tag you need to head over to the Container Tab and select the container you want to add tags into. And then click on:
Once you click Add a new tag link, you’ll have a screen to Set-up a Tag you want (as shown in the image right below to the instructions).
- Choose the Tag you want to add to the Container. As we’re adding GA Tag to our 1st Container, click on Google Analytics and click continue.
- Choose the version of Google Analytics, select Universal Analytics (advanced version of GA).
- At first enter the Tracking ID of the blog or website you’re creating this GA Tag for. Then Mark the Enable Display Advertising Features and select Page View in Track type.
- Select All Pages to fire this Google Analytics Tag on every page of your blog or website.
And that’s all you needed to set things, click the Create Tag button and Name it anything you want for your reference.
This is the simplest method to fire Google Analytics Tag on your blog-site. To get more out GA with Google Tag Manager you can use Variables and Data Layers. I’ll discuss them in my upcoming articles.
Similarly you can Add any type of Tag you want, any image tag or script by selecting tag type to HTML Tag in step 1st.
Publish the Container (Unpublished Changes- Tag):
You’ve created tag, its time to publish the container to make it Live on your blog or website. To do so, do as shown in the image below:
Before publishing your changes, you can always check that everything is done right by previewing changes and Tag Assistant Chrome Add-on.
We’ve did this all together. Don’t forget to connect Google Tag Manager with your Blog or Website. WordPress users may use plugin to connect. I’ll publish an another article to help you in connecting your GTM with WordPress easily.
Do let me know via comments, If you’ve any problem doing this all, in connecting your blog-site with GTM.
If this article helped you then please don’t forget to Share it with your Friends on Social Networks like Facebook, Twitter, Google+,and…
Have a Good and Take Care.