Test your skills on our all Hosting services and get 15% off!

Use code at checkout:

Skills
21.10.2024

How to Set Up and Find Your Google Tag Manager ID

Google Tag Manager (GTM) is a powerful tool that allows you to manage and deploy various marketing tags (like Google Analytics, Facebook Pixel, and more) on your website without modifying the code manually. Setting it up and finding your GTM ID is straightforward. Here’s a step-by-step guide on how to set up Google Tag Manager and locate your GTM ID.

Step 1: Create a Google Tag Manager Account

If you don’t already have a Google Tag Manager account, you’ll need to create one.

  1. Go to the Google Tag Manager website:
  2. Create an account:
    • Once logged in, click on Create Account.
    • In the Account Name field, enter the name of your business or website.
    • Choose the country where your business operates.
  3. Set up a container:
    • In the Container Name field, enter the name of your website (e.g., example.com).
    • Select where you want to use the container (Web, iOS, Android, AMP). For a standard website, choose Web.
    • Click on Create.
  4. Agree to the terms:
    • Read and agree to the Google Tag Manager terms of service.

Step 2: Install Google Tag Manager on Your Website

Once you’ve created your Google Tag Manager account and container, you’ll be provided with two pieces of code that need to be added to your website.

  1. Copy the GTM container code:
    • You’ll see two sets of code snippets. The first snippet should be placed in the
      <head>
      section, and the second snippet should go immediately after the opening
      <body>
      tag.
  2. Add the code to your website:
    • If you’re using a platform like WordPress, you can either add the code manually by editing your theme’s files or use a plugin (like Insert Headers and Footers plugin) to place the code in the correct sections.
    • For other CMS platforms, such as Shopify, Squarespace, or custom-built websites, follow the respective instructions for inserting the GTM code in the appropriate sections.
  3. Verify the installation:
    • After placing the code, you can use the Tag Assistant Chrome extension or preview mode in Google Tag Manager to ensure the installation was successful.

Step 3: Find Your Google Tag Manager ID

Your Google Tag Manager ID is essential for integrating it with other tools, like Google Analytics or third-party platforms. It’s easy to find:

  1. Log in to Google Tag Manager:
  2. Select your container:
    • After logging in, you’ll see your account and containers. Select the container for which you want to find the ID.
  3. Locate your GTM ID:
    • In the top-right corner of the screen, you’ll see your GTM ID, which starts with “GTM-“. It looks something like this:
      GTM-XXXXXX
      .

Alternatively:

  • You can also find the GTM ID by clicking on the Admin tab in the container and looking for the container ID at the top.

Step 4: Use the GTM ID

Once you’ve found your GTM ID, you can use it in several ways:

  • Add it to other platforms: Many third-party platforms, such as WordPress plugins, Facebook, or Shopify, will ask for your GTM ID to enable tracking via Google Tag Manager.
  • Install GTM manually: If you haven’t installed GTM yet, use the ID to implement the provided code on your website as explained in Step 2.

Conclusion

Setting up Google Tag Manager is an essential step for streamlining your website’s marketing tags and tracking capabilities. By following these steps, you can easily set up GTM, add the necessary code to your website, and locate your Google Tag Manager ID to begin managing your tags more effectively.

Test your skills on our all Hosting services and get 15% off!

Use code at checkout:

Skills