Back to all guides

How to Set Up Google Tag Manager

March 14, 2025

Introduction to Google Tag Manager

Google Tag Manager (GTM) is a free tag management system that allows you to manage and deploy marketing tags (snippets of code or tracking pixels) on your website without having to modify the code.

Step 1: Create a Google Tag Manager Account

Go to tagmanager.google.com and sign in with your Google account. Click on "Create Account" and fill in your account name, country, and container name (usually your website name).

Step 2: Install the GTM Code

After creating your account, GTM will provide you with two code snippets:

  • The first snippet goes in the <head> of your website
  • The second snippet goes immediately after the opening <body> tag

Step 3: Verify Installation

Use the "Preview" mode in GTM to verify that your container is working correctly. You can also use our Tag Checker tool to confirm the installation.

Step 4: Add Tags, Triggers, and Variables

Now you can start adding marketing tags to your GTM container. Common tags include Google Analytics, Facebook Pixel, and conversion tracking pixels.

Step 5: Publish Your Container

Once you've added and tested your tags, click the "Submit" button to publish your container. This will make your tags live on your website.

Need to check your tags?

Use our free tool to verify if your website has the proper tracking tags installed.

Check Your Tags Now