Google Tag Manager is a free tool that makes it comfortable for the webmasters to add and update website tags. You can add conversion tracking, site analytics, remarketing, and more—with just a few clicks, and without needing to edit your website code.

Google Tag Manager (GTM) is a widely used tag management solution providing a quick and easy deployment mechanism for a variety of 3rd party solutions.

Google Tag Manager

How it Works

1. After you, login to your GTM account, navigate to an existing GTM container for the website where you wish to add the code (or create a new container if one doesn’t already exist).

2. Create a new Custom HTML tag in your GTM container by clicking the “New” button and selecting “tag” from the drop-down options.

3. Under “Tag Name,” you can add the desired name for your tag, e.g. “MYTAG.”

4. Under “Tag Type’,’” select “Custom HTML Tag.”

5. Copy and paste your project’ tracking code into the “HTML” window.

6. Make sure to check the Support document Write checkbox.

7. Create a rule in GTM to define the logic for injecting the code onto your pages, and save it.

8. Save the new tag and publish the updated version of the container.

9. To confirm that code has been deployed successfully, add the “?ct=enable,debug” query string to your page’s URL.


Google Tag Manager works via a container snippet, that you place on all your website pages. The container snippet replaces AdWords, Google Analytics, Floodlight, and other tags on your site. (For a list of supported tags, read Tags.) Once a container snippet has been added to your site, you update, add, and administer tags from your Google Tag Manager account.

Your Google Tag Manager account allows you to administer the tags for one or more websites. Although you can set up, multiple Google Tag Managers account from a single Google account, you’ll typically only need one Google Tag Manager account per company.