How do you set up Google Tag Manager for your website?
Tips 'n tricks about the web, digital trends, and online marketing
Google Tag Manager (GTM) is a powerful tool that allows you to easily manage various tracking codes (also known as 'tags') on your website. Whether you want to set up Google Analytics, measure conversions or add remarketing tags, GTM makes it all easier. In this tutorial, we explain step by step how to set up Google Tag Manager for your website and manage your marketing and analytics tools more efficiently.
What is Google Tag Manager?
Before we get started, it is important to understand exactly what Google Tag Manager does. It is a tag management system that allows you to add and update JavaScript and HTML tags without having to dive directly into your website's code. This means you can implement new tracking code quickly, without depending on a developer. GTM thus helps you save time and effort, while keeping control over the analysis and optimisation of your website.
Step 1: Create a Google Tag Manager account
The first thing you need is a Google Tag Manager account. Follow these simple steps to create one:
- Go to the Google Tag Manager website.
- Log in with your Google account or create one if you don't already have one.
- Click Create Account and enter the name of your company or website.
- Next, enter the name of your container. A container is simply the place where all your tags are kept.
- Usually, you give this the same name as your website.
- Choose Web as the platform for which you want to set up GTM (other options include apps).
- Click Create and agree to the terms of use.
Now your account and container have been created, and you can proceed with adding GTM to your website.
Step 2: adding Google Tag Manager to your website
To use Google Tag Manager, you need to place the GTM code on your website. To do so, follow these steps:
Once you have created your container, you will see two pieces of code: one that you put in the <head> of your website should be posted, and another one just after the opening of the <body> should be added.
Copy both codes and paste them in the right place in your website's HTML. This can be done manually via your website's code editor, or via your content management system (CMS) such as WordPress.
Don't have experience editing HTML? No worries. Most CMSs have plug-ins or modules to easily add GTM, such as Google Tag Manager for WordPress.
Step 3: Adding tags in Google Tag Manager
Now that GTM is on your website, you can start adding tags. A tag is a piece of code that activates, for example, Google Analytics, Facebook Pixel or other tools. Here's how to add a tag:
- Log in to your Google Tag Manager account.
- Click Tags in the menu on the left.
- Click New tag to add a new tag.
- Give your tag a name and click Tag configuration.
- Choose one of the many built-in templates, such as Google Analytics: Universal Analytics, or choose Custom HTML if you want to add a different tracking code.
- Configure the tag by choosing the appropriate settings, for example the tracking ID from Google Analytics.
Step 4: Setting triggers
Triggers determine when a tag is activated. This could be when a user visits a particular page, fills in a form or clicks a button, for example. To set a trigger:
Your trigger is now ready to be attached to a tag. Triggers help you track specific user actions and further refine your analytics.
Step 5: Testing your settings with preview mode
Before you put your changes live, it is important to test them first. GTM has a handy preview mode that lets you check if your tags and triggers are working correctly. Follow these steps:
Step 6: Publishing your container
Once you are happy with your settings and everything works well, it's time to put your changes live.
Your Google Tag Manager settings are now live, and the tags and triggers you created are now activated on your website.
Step 7: Managing and updating tags
One of the biggest advantages of Google Tag Manager is that you can easily add new tags or update existing ones without having to dive into your website's code every time. For each new tracking tool or campaign, all you have to do is create a new tag and publish it via GTM.
Conclusion
Google Tag Manager is an indispensable tool for any website owner who wants control over their tracking codes without the help of a developer. It allows you to manage and test tags quickly and easily, which can greatly streamline your marketing and analytics processes. By following the steps in this tutorial, you will have GTM up and running within minutes and be ready to accurately measure and optimise your website performance.
With Google Tag Manager, you are better equipped to gather valuable insights and refine your online strategy-and that without any hassle!
Is steam coming out of your ears after reading this tutorial? Feel free to contact us and we are happy to arrange it for you!
👉 Funkhaus goes the extra mile for you
We are the all-in-one partner that takes care of everything: from creative web designs to technical optimisations and strategic content. You focus on your business, we take care of the rest.
Send us an email for personal advice
Get in touch, and we'll schedule an appointment soon
👋 Hi, we are there for you!
What our partners say
Angelique Lijffijt
I approached Wout as part of a website for an estate agent where Realworks needed to be built in and am very pleased with the result. Funkhous has a professional approach and fast service. Definitely highly recommended.
Yasmine D'hanis
Thanks Funkhaus for the clear view on my website (www.minro-legal.be) ! Thanks to your clear and concrete tips, I was able to make the website a lot more user-friendly. Thanks to you, I have also been able to eliminate errors that had previously gone unnoticed.
Thank you! Definitely highly recommended!
Domaine de Renesse
We are very happy with the website Funkhaus created for us. The design is modern and attractive, and the user-friendliness (especially for making changes and adding activities ourselves) is excellent. The service is also very pleasant: in case of questions or changes, the response is quick and helpful. In short, a fine cooperation and a result we are proud of.
Charlotte Lambrecht - Charlie's Fit Studio
Would you like to have a top website/logo developed?
Then you've come to the right place at Funkhaus!
What I myself find hugely important in a collaboration is good communication. Wout was always very quick in answering my questions and looking for solutions. Everything was always discussed in consultation and there was room for brainstorming and creativity. If something didn't feel 100% right, Wout provided several alternatives until the feeling was completely right. It was also an absolute bonus to receive such positive support as a start-up.
A very nice collaboration resulting in a top website. Go check it out at www.charliesfitstudio.be
Nick Van der Hallen
Fantastic and honest company with very flexible and fast customer service. Funkhaus took our new website to the next level, with plenty of options to expand on later. Great to work with and highly recommended!
Sander van Schoonhoven
Professional company. Contracted for website renewal. Sprint type approach. Are willing to adapt the project execution pace to the customer's available resources.
WIS WIS
Fast and strong service.
Customer-tailored advice.
Chayenne Van Den Eynden
Very satisfied with the service , always in good order
Patrick Dewitte
Funkhaus is a fantastic communications agency! Smooth and fast communication, very professional approach.
Our website is all back on point.
The social media campaign is running at full speed and is already bearing fruit, top!
And on top of that, Wout is a top guy to work with.
Patrick Dewitte
theswimmingpond.be
Niels Geenen
These guys definitely deserve 5 stars! good approach, good communication and beautiful design.
Definitely highly recommended!