How to get Google Tag Manager Container ID?

In order to get the Google Tag Manager Container ID, follow the steps below:

Step-1: Create a new Google Tag Manager (GTM) account. If you already have GTM account then skip to step-11.

Note (1): You need a Google account in order to create a GTM account. If you do not have a google account then you can create one by using this link:

Note (2): If you use gmail then you already have a google account.

Step-2: If you already have a google account then navigate to this web page: and then login using your Google Account login (username and password).

Step-3: Click on the ‘create account’ link on the home page:

Step-4: Name your new GTM account after your company name (let us suppose ‘ABC Inc’) and then select your country from the drop down list:

Step-5: Select the checkbox ‘Share data anonymously with Google and others’ (to enable benchmarking) and then click on the ‘continue’ button.

Get the E-book (72 Pages)

Get the E-Book (62 Pages)


Step-6: Enter the name of your container after your website name and then select ‘Web‘ (provided you want to use the Google Tag Manager on a website and not on a mobile app). So if your website name is say ‘’ then your container name should be ‘’:

Step-7: Click on the ‘Create’ button.

Step-8: Read the Google Tag Manager Terms of Service Agreement and then click on the ‘Yes’ button:

Step-9: If you do business in the European Economic Area then you would first need to read and accept the Data Processing Terms as required by GDPR before you can accept the GTM Terms of Service Agreement.

You have now created new GTM account and container.

Step-10: You will now be shown the code for installing Google Tag Manager:

The part of the GTM containter tag code which reads ‘GTM-TPWNQCM’, it is called the container ID.

This ID is used to uniquely identify each GTM container tag.

So do not use the container ID mentioned here.

Find and use your own unique container ID.

Step-11: If you already have GTM account then login and find the GTM container ID located on the top right hand side of the user inferface:

Note: You can click on the container ID and then you will see the code for installing Google Tag Manager.

Most Popular E-Books from OptimizeSmart

Learn to read e-commerce reports book banner

How to learn and master Web Analytics and Google Analytics?

Take the Course

Check out my best selling books on Web Analytics and Conversion Optimization on Amazon

How to get lot more useful information?

I share lot more useful information on Web Analytics and Google Analytics on LinkedIn then I can via any other medium. So there is really an incentive for you, to follow me there.

Himanshu Sharma

Certified web analyst and founder of

My name is Himanshu Sharma and I help businesses find and fix their Google Analytics and conversion issues. If you have any questions or comments please contact me.

  • Over twelve years' experience in SEO, PPC and web analytics
  • Google Analytics certified
  • Google AdWords certified
  • Nominated for Digital Analytics Association Award for Excellence
  • Bachelors degree in Internet Science
  • Founder of and

I am also the author of four books:

error: Alert: Content is protected !!