Google Tag Manager top-tips and common mistakes
At Cog, we look after 70+ websites so we’ve amassed quite a lot of experience. Here are some of our top-tips and the common mistakes we’ve learned to avoid.
Common mistake – making changes and not publishing them
One of the easiest mistakes to make is to add your tags and relevant triggers but not actually publish them. You have to remember to click the “Submit” button to make your new tags and any changes live.
If you’re not sure if you have unpublished changes, you’ll be able to see this in the ‘Workspace Changes’ area on the Overview screen.
Common mistake – duplicate tags
If you’re switching to Google Tag Manager, having previously had tags directly added into the code of your website (or on the walls of your house in my analogy), remember to remove those old tags before you add them to Google Tag Manager.
If you don’t, you’ll be doubling up on the data you record, and the process will slow down your site.
If you have tags set up in Google Tag Manager and also installed on the code of your website you could be tracking everything twice
Common mistake – forgetting to add Google Tag Manager code to any iframes or external pages connected to your website.
This is especially relevant if you use a separate system for ticketing or other sales (even if those systems are embedded in your site using iframes). You need to add the Google Tag Manager container code onto your external systems / iframes otherwise you won’t be able to track the activity happening on those pages.
Tip – write notes for future you
Google Tag Manager has areas where you can save notes about the changes you’re making. It’s good practice to add a relevant ‘Version Name’ and ‘Version Description’ every time you publish your Google Tag Manager container. This means you have a record of what was done and why and future you (or anyone else who will be updating the container in future) will be thankful for those notes.
An example of useful notes to include when you're making updates
Tip – check if the tag you’re adding has a pre-built template
One of the other benefits of using Google Tag Manager is the ever-growing set of ‘tag templates’.
These tag templates are created by web developers to make it easier for you to add your tags. They’re like a shortcut to the tag setup process and they’re useful if you’re not as experienced with tracking tags as they often have simple entry boxes for you to fill in and tick boxes.
Many well-established tracking and advertising platforms (like TikTok, Meta, Hotjar and Quantcast) have invested in creating tag templates. When you’re adding a new tag, all you have to do is search the tag templates gallery to see if there is a template available.
Related tip – check that the pre-built template is current and legitimate
It’s worth checking and verifying the creator of the tag template you’ve chosen; click on their name to view more about the creator. Look for ‘official’ templates from the company who is providing the pixel.
It’s also useful to check the ‘last updated’ date on the tag template and being conscious of any tag templates that haven’t been updated in the last 18 months.
I found there is a “Facebook Pixel” tag template that was last updated on 30+ months ago, and the creator states that the ‘facebookarchive’ projects have been archived and are generally unsupported. So I wouldn’t use that one. In contrast the ‘TikTok Pixel’ tag template is only a month or two old so that is a good one to use.
Tip – delete any tags that are not in use
A bit of basic housekeeping is always a good investment of time.
The process of firing tags does take time and if you have many tags it will slow down your site which makes for a poor user experience. And if your site performs slowly then that will also affect your Search Engine Optimisation (SEO) rankings.
We’d recommend reviewing your tags every few months and deleting or pausing any tags that aren’t in use.
Pause any tags which you may want to switch on again in the future and delete any which you know you won’t need, for example tags which are specific to an event which has now finished.
What to do next
I’ve covered the basics of Google Tag Manager but of course there’s lots more to delve into and take advantage of.
Adding and updating tags, and auditing Google Tag Manager, is something I do regularly for Cog clients. If you’re not a Cog client then it’s worth checking in with whoever manages your website to see if you have Google Tag Manager set up and to check you’re not making any of the common mistakes I’ve covered.
If you’re looking to expand your personal knowledge of Google Tag Manager and have time for some in depth learning, I’d recommend starting with this guide from Julius Fedorovicius at Analytics Mania Google Tag Manager Tutorial for Beginners.