Google Analytics 4 (GA4) has lots of great features. In fact, it has lots of capabilities compared to its predecessor, Universal Analytics. One of the most powerful ways to use GA4 is with Google Tag Manager (GTM), which allows you to add and manage tags on your website without modifying the code.
In this blog post, you will learn the process of integrating GA4 with GTM. You’ll learn how to create a GA4 property and tracking code, set up a GTM container, and configure tags and triggers to send data to GA4.
Let’s get started.
Step 1: Create a GA4 Property and Tracking Code
The first step in integrating GA4 with GTM is to create a GA4 property and tracking code. To do
this, follow these steps:
First, sign in to your Google Analytics account and click “Admin” in the bottom left corner.
In the “Property” column, click “Create Property”.
In the next window under property setup, give your property a name, timezone, and currency and proceed to click “Next”.
GA4 will take you to the next option, Business Information. Here you will fill in your business details, including; business category, size, and how you intend to use GA4 with your business.
Once you’re done, Click “Create,” and Google analytics will show a message confirming that you’ve created the property.
On the next page, you will see the option to add a data stream. Here, you can choose web, iOS, or android. So select your data stream of choice, give it a name and click “Create stream”.
Once you have created your stream, youll be able to see your GA4 tracking code under ‘webstream details’(if you chose Web as a data stream).
Step 2: Set up a GTM Container
The next step is to set up a GTM container for your website. You can skip this step if you already have a GTM container for your website. To create a new container, follow these steps:
Sign in to your GTM account and click “Admin”. Then click the (+) sign under Container.
Next, give your container a name, and select “Web” as the target platform. Finally, click “Create” and accept the terms of service.
Follow the instructions to add the GTM code to your website. It will include copying code and pasting it on your website’s pages.
Step 3: Configure Tags and Triggers
Once you have created a GA4 property and a GTM container, you can start configuring tags and triggers to send data to GA4. To do this, follow these steps:
In GTM, navigate to the “Tags” section and Click create a new tag by clicking “New”.
Give your new tag a name and under Tag Type, select the “Google Analytics: GA4 Configuration” tag template.
Then enter your GA4 tracking code under Measurement ID.
Next up, in the “Triggering” section, select the triggers that activate your tag. For instance, you can create a trigger that fires on all pages or only on specific web pages.
Finally, click “Save”.
Step 4: Publish and Test
The final step is to publish your container and test that it’s working correctly. To do this, follow these steps:
In GTM, navigate to the “Workspace” section.
Click the “Submit” button and give your container a name and description.
Once your container is published, use the GA4, and GTM debug tools to test your implementation and ensure that data is being sent correctly.
That’s it. You’ve published your container and implemented Google Analytics 4 with Google Tag Manager.
Get More Insights
Integrating GA4 with GTM allows you to take full advantage of the new features and capabilities of GA4 while also streamlining the process of adding and managing tags on your website.
By following the steps outlined in this post, you can easily set up GA4 to work with GTM. Having the GTM for Tagging your websites helps you track your conversion better and get better site analytics.
This blog has helped you learn how to combine GA4 and GTM to get more and better insights from your site data. Stay tuned to our blog for more information on GA4.

Magesh
Magesh is a distinguished Data Scientist with over 14 years of experience in Advanced Analytics, Machine Learning, and Artificial Intelligence. As the Vice President of Analytics, he brings a wealth of expertise in tools such as R, SPSS, Tableau, Power BI, and Google Analytics. Magesh is renowned for his profound analytical problem-solving skills and strategic decision-making abilities, making him a leading force in transforming complex data into actionable insights.