<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap">

Google Tag Manager

Generate official GTM install snippets from your Container ID, copy the head and body code, then optionally verify the tag on a live URL.

Install + verify100% Free
1

Enter Your GTM Container ID

Paste your Google Tag Manager Container ID to generate the install code.

3

Verify Installation (Optional)

Check a public URL (or paste HTML) for the GTM head script and noscript iframe.

Many sites allow Googlebot but block other server fetches. If URL check fails, open the page in your browser, View Page Source, and use Paste HTML — that check is still valid.

Google Tag Manager Install Code Generator

Google Tag Manager (GTM) is a container that loads your other tags, such as Google Analytics 4, Google Ads conversions or a Meta pixel, so marketers can add and change them without a code release. Installing it takes two snippets: a script in the <head> and a noscript iframe right after the opening <body> tag.

This tool builds both snippets from your Container ID and can check a page to see whether GTM is installed. The checker reports whether the head script, the noscript iframe and a dataLayer are present, whether the container ID matches yours, and any GA4 (G-) or Google Ads (AW-) IDs loaded with gtag.js instead.

How to install and verify GTM

  1. Enter your Container ID in the form GTM-XXXXXXX and click Generate Code.
  2. Copy the head snippet into the <head> of every page, as high as possible.
  3. Copy the body snippet and paste it immediately after the opening <body> tag.
  4. Publish your site, then check the live URL or paste the page source to confirm both snippets and the right ID are found.
  5. Use Google Tag Assistant to confirm the tags inside the container actually fire.

When it helps

  • New sites: get a correct install snippet without logging in to GTM again.
  • Agency handovers: check which container a client site loads and whether it is complete.
  • Troubleshooting: find out whether a page uses GTM, gtag.js or both.

GTM vs gtag.js and other tips

  • gtag.js loads one Google product directly, such as a single GA4 property. GTM is a manager for many tags with triggers and versions. Pick one approach per tag to avoid double-counting.
  • If GA4 is set up inside GTM, remove any hard-coded gtag.js for the same measurement ID, or page views will be recorded twice.
  • Changes in GTM only go live when you click Submit and publish a new container version. Use Preview mode to test first.
  • Install the same container on every page you want tracked, including landing pages built outside your main CMS.

Frequently Asked Questions

What does this Google Tag Manager tool do?

It generates the official GTM head and body install snippets from your Container ID (GTM-XXXXXXX) and can check a public URL or pasted HTML for those snippets.

Where do I paste the generated code?

Put the head snippet as high as possible in the page <head>. Put the noscript iframe immediately after the opening <body> tag on every page that should load the container.

How do I find my GTM Container ID?

In Google Tag Manager, open your account and container. The ID appears at the top of the container workspace and looks like GTM-XXXXXXX.

My page has Google Analytics / gtag but the tool says GTM is missing. Why?

Google Tag Manager (GTM-XXXXXXX) and gtag.js (G-XXXX / AW-XXXX) are different. Many sites install Analytics and Ads with gtag only. This tool’s install snippets are for a GTM container. The checker now reports gtag/GA4/Ads when those are present, even if no GTM container is found.

Why did URL check fail but the page opens in Google / my browser?

Your browser and Googlebot are trusted visitors. Neemtools checks from a server fetch, and Cloudflare/WAF often blocks that. Open the page yourself, View Page Source, paste the HTML, and run Check Paste — that is a correct verification.

Why did URL check fail but Tag Assistant works?

Tag Assistant runs in your browser on the live page. Our URL check uses a server-side fetch that many sites block. Prefer Tag Assistant for live firing checks, or paste HTML here to confirm the snippets are in the source.

Is my Container ID stored on Neemtools servers?

No. Code generation runs in your browser. URL checks only fetch the page through the SEO proxy to scan HTML and are not used to store your tags.

Is Google Tag Manager free on Neemtools?

Yes. All Neemtools utilities are free to use with no signup required.

Is Google Tag Manager free, and do I need an account?

It is free with no signup. Open the page and start using it immediately.