Google Analytics 4

How to Set Up Google Tag Manager for Google Analytics 4

Ken Bandong
December 7, 2022

Do you sometimes wonder where you could set up and manage all your marketing tags in one place? Going through each tag platform you use, such as Google Analytics, Google Ads, etc., can be stressful and time-consuming. Installing Google Tag Manager (GTM) will help you manage all your tags without needing a developer.

This step-by-step guide will walk you through creating a Google Tag Manager container from scratch and managing your tags in GTM.

Steps to Installing Google Tag Manager on Google Analytics 4

How to Install GTM if You Don’t Have an Account.

The first step would be to create a new account and GTM container.

A new container is created by default when you create a new account.

1. In Tag Manager, click Accounts Tab > Create Account.

2. Indicate an account name. We recommend the company or organization name if you handle multiple websites. Then you may choose whether you'd like to share data anonymously with Google and others.

3. Enter a descriptive container name and select the type of content: Web, AMP, Android, or iOS. If setting up a mobile container, select whether you're using the Firebase SDK or one of the legacy SDKs.

4. Click Create.

5. Review the Terms of Service and click Yes if you agree.

When your new container first loads, you will be prompted with the web container installation code snippet or to get started with Tag Manager as part of the SDK for your chosen mobile platform. You can install your code snippets or click OK to clear this dialog. You can always set up your container first and install the container snippet or SDK later.


How to Install GTM if You Have an Existing Account

If you have an existing GTM Account, here are the steps to create a new container.

1. Add a new container to an existing GTM account

a. In Tag Manager, click Accounts > Meatball Icon (three dots) next to the relevant account name.

b. Choose Create Container.

c. Indicate the container name and select the type of content: Web, AMP, Android, or iOS. 

d. Click Create.

e. Click Yes if you agree to the Terms of Service.

2. Install container

a. In Tag Manager, click on the Workspace you want to use.

b. At the top of the window, you’ll find your container ID, formatted as "GTM-XXXXXX".

c. Click your container ID and a pop-up will launch the Install Tag Manager box.

d. Copy and paste the code snippets into your website as instructed in the Install Tag Manager box, or download and install the appropriate mobile SDK.

3. Once a container is installed, you're ready to add new tags.

a. Click Tags from the navigation menu.

i.) Click New.

ii.) Select the tag type and specify triggers for when the tag should fire.

b. Preview your changes to inspect your Tag Manager configuration on your site or app to ensure everything is working as expected. 

c. Indicate your website then click connect.

d. From here you’ll need to trigger the events and check if your tags are successfully firing.

4. Click Submit to publish changes.

When you're ready, click Submit in the screen's upper-right corner to begin publishing your changes. Indicate the Version Name and Version description, which usually consist of the modifications done on the container, then click Publish.

Now you’re finished, and you may start tracking your website activity or application. It may take time to get familiar with it, but this platform is intuitive and easily understandable, with many online help articles. Feel free to leave us a message if you have any questions or need help.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Ken has been providing Analytics support and giving insights for 4 years and currently works as an Analytics Specialist at AnalyticsMates and Zen Anchor. He is passionate in providing meaningful insights through data captured in Google Analytics. When not analyzing data, he is frequently backpacking the mountains with his dog and enjoys the serenity of being one with nature.