The Google Tag Manager, sometimes known as GTM, is one of the best free products that Google offers in order to simplify the lives of webmasters.
Now, let’s look at this from a perspective that isn’t technical. Suppose you just acquired a new tag and you want to add it to your blog. In order to do so, you have to manually modify the core theme file and add the code. This isn’t going to be a simple choice for a lot of people.
You may swiftly add or delete tags at any time with Google Tag Manager, which provides a solution for managing tags from a single online interface. Tags can be managed in any way you choose. Along with this, utilising a single tag for tag management speeds up the time it takes for your website to load. Since Google loads code asynchronously, this means that your Website will not be sluggish because of tags that take a long time to load.
Now, in this article of the tutorial, I will share how you can use Google Tag Manager to manage all of the tags on your Website in a manner that is simple and convenient by working from a single location.
Check out this introduction video, which will explain what the benefits of utilising Google tag manager on your website are, before I continue:
Learning the Basics of Google Tag Manager:
The way that GTM works is straightforward; first, you upload the GTM code to your website, and then you use the GTM interface to control all of the tags on your website, such as the GA script, the advertisement script, and the AdWords conversion tag.
You may find a comprehensive list of features here.
Let’s get this party started, shall we? Head on over to the Google ad tag management site and make sure you’re signed in with your Google account.
There are a few things that you need to be aware of, and they are as follows:
Account: This refers to the account’s name. In most cases, the name of the firm for whom you are responsible for administering the tag will appear.
The name of the website for which you are managing the tag is referred to as the container. Example: The name of my business is ShoutDreams, and the container name for this blog is going to be ShoutMeLoud.
Tags: You will be developing a variety of tags in order to facilitate straightforward administration of tags inside a container. For instance, one tag for the retargeting pixels used by Facebook, and another tag for the analytic codes used by Google.
Rules: Rules provide you the ability to specify when and where a certain tag will be performed. For instance, All pages, or you may construct a custom rule if you don’t want a certain tag to be run on certain pages or directories on your website. Another option is to choose No tags to execute.
In addition to this, additional users may be added to manage your tags if you so want. This comes in particularly handy if you are dealing with an advertising firm or a developer and you want them to take care of adding and deleting code without you having to give them access to your Website or Gmail account.
Now, in the next tutorial, I will demonstrate how I make use of Google Tag manager for Google Analytics and the retargeting pixels that Facebook provides.
Create a new business name in GTM once you’ve logged in. If you just have a single blog, you should call it the “business name” blog.
In my situation, the name of my business is ShoutDreams, and I subsequently expanded it by including LetsTalkrelations as a separate container.
Google tag manager homepage
And the following is the procedure that will be followed in order to add your website to the container:
Make a brand new container.
When you choose the option to Save, you will be presented with the code for your container, which you will need to include on each page of your website. You may include it in your theme’s code by adding it before the closing body tag. Use this plugin if you are running WordPress, and under settings > Google tag manager, add simply the code that reads “GTM-xxxx” or something similar.
Ad code for Google tag manager
Making a brand new tag
Now, go to the bottom of the page and choose Google Analytics to add GA using GTM. Click on the Add rule to tag button once you have entered your Google analytic Web property ID, which can be found in your Google analytic code. The general rule applies to the whole page; just choose it and click on it once again. To add this newly generated tag, be sure to click the Save button.
Adding Google analytics to Tag manager
Similarly, you may create a new tag and include Facebook retargeting, Adwords remarketing, or any other third-party script that you need to include on each and every page of your website. You can do this by following the steps outlined in the previous section. Make sure that the tag type is set to HTML.
Learn how to publish tags in Google Tag Manager by following these steps:
You now have the ability to preview the newly generated tag on your website by clicking on the version that is located in the sidebar on the left. When I tested it out using the preview option, I found that it functioned correctly after I had deleted the BuySellAds script and replaced it with the code directly from Google Tag Manager. When you are completely happy, click the Publish button, and any tags that you added using GTM will be visible on your Website.
Google tag management tag publication
If you click on Users and settings, you will always have the option to add a new user to both your business and container. You may also go on users and settings > Settings and add the code there if you forgot to copy it after establishing your domain container in the first step.
Once you begin using Google tag manager, you will notice that it is simplifying things for you, despite the fact that the procedure as a whole may give the impression that it requires some technical know-how to novice users. Using this free Tag helper browser extension, you can always check to see whether you have integrated the tags carefully or not. Tag assistant is available here. You may send this post to your site developer or the firm that manages your ads and ask them to setup Google tag manager for your domain if the job still seems too difficult for you to do on your own.
To tell you the truth, as someone who is responsible for managing several websites, I find that GTM is a very helpful tool for tag management.
Because I do not need to manually alter the code of each site in order to add new tags, I can save time.
You should find this straightforward help lesson from GTM to be of use in better understanding it.
You may also get further information about tag management in this tutorial provided by SEOMoz.
Please get in touch with me if you have any inquiries or concerns about how to use GTM.
Feel free to put this instruction to use in order to set up your tag management using GTM, and then report back to me on how your experience went.