Sarghy - Digital Solutions & SEO Automation
Back to homepage

Tool

Sarghy GTM Wizardexperimental V.2Free GTM container generator

Scan your site to get the right tags recommended, or tick them yourself. Then generate a Google Tag Manager container ready to import.

📘 Full guide: from zero to an imported container
1

Create an account and your first GTM container

  • Go to tagmanager.google.com and sign in with your Google account.
  • Click Create Account.
  • Account Name: your company/site name. Country: your country.
  • Container name: your site domain (e.g. example.com). Target platform: Web.
  • Click Create and accept the terms (the Yes button, top-right).
  • GTM gives you an install snippet (one for <head> and one for <body>). Put it on your site (or via your site's plugin). You can come back to this step later.
2

Import the file generated here

  • Download the JSON file from this wizard (the Download button).
  • In GTM, at the top, click Admin.
  • In the Container column → Import Container.
  • Choose container file → pick the downloaded .json file.
  • Workspace: choose Existing → Default Workspace (or New).
  • Mode: choose Merge (recommended — keeps existing tags). WARNING: Overwrite DELETES the entire existing container and keeps only what's in the file — use it only on an empty/new container.
  • Click Confirm, review the preview of what gets added, then Confirm again.
3

Check the IDs

The Const - GA4 Measurement ID variable already holds the ID you entered. Open it in GTM (Variables) and confirm it's correct.

4

Publish

Top-right, click SubmitPublish. Done — the tags are live.

Troubleshooting: if the import errors out, use the English label variant (above). If you see an Invalid JSON message, re-download the file and don't edit it by hand in an editor with autocorrect.

Scan your site (optional)

Drop in your site address and we'll check what's already on it. We tick the tags that fit, and you decide whether to keep our picks or choose your own.

Tags by category

Google Analytics 4validated

GA4 base code plus engagement and ecommerce events. Structure validated on a real GTM account.

Base code

Engagement

Ecommerce

Google Adsexperimental

Conversion tracking, remarketing and conversion linker. EXPERIMENTAL — validated during testing.

Google Ads tags

Meta / Facebook Pixelexperimental

Meta Pixel base code (Custom HTML). EXPERIMENTAL — validated during testing.

Meta Pixel

Consent & utilitiesexperimental

Consent Mode v2 default and utilities. EXPERIMENTAL — validated during testing.

Consent

Required details

Tick tags above to see which fields you need to fill in.

Container settings (optional)

Fill these in so the export carries your container's name and ID. Leave blank → we use placeholder values (GTM remaps them on import anyway).

Label language inside the JSON

English tag names are pure ASCII → safest on import. Both variants are diacritics-free.

Where to find it: GTM → top, next to the container name; or Admin → Container settings · Open

Tick at least one tag.

Free GTM container generator for Google Tag Manager

What the generator does

This GTM container generator builds a ready-to-import Google Tag Manager container from the tags you choose. Pick GA4, Google Ads, Meta Pixel or Consent Mode v2, type in your IDs, and you get a clean .json file that imports straight into GTM. It all runs in your browser, so your IDs never leave your device.

How it works

Tick the tags you want, fill in the IDs they ask for, and download. The generator only shows the fields your selection needs, and it checks each one before you export.

Real GTM tags

Choose GA4 base code, engagement and ecommerce events, Google Ads, Meta Pixel and Consent Mode v2 from grouped categories.

Only the fields you need

A field shows up when a selected tag requires it, and it checks the format (G-XXXX, AW-XXXX) before you generate.

Import-safe .json output

Tag names default to plain ASCII English, the variant that imports into any GTM account without encoding trouble.

Runs in your browser

The container is built client-side. Your IDs and choices stay on your device, and nothing is uploaded.

Automatic site scan

Type your site address and the generator checks what's already there: GA4, Google Ads, Meta Pixel or GTM. From what it finds, it ticks the tags that suit your kind of site and fills in the IDs it can read from the page. You decide whether to take the recommendation or pick manually. On sites that load their tags through JavaScript, some IDs aren't visible in the source, so you fill those in yourself.

What you can generate

GA4 tracking, validated

Base code plus scroll, time on page, outbound clicks, file downloads, form leads and the full ecommerce event set.

Google Ads conversions

Conversion tracking, remarketing and the conversion linker, ready for your Ads account.

Meta Pixel

The Meta (Facebook) Pixel base code as a Custom HTML tag, firing PageView on every page.

Consent Mode v2

A default consent state that runs before your other tags, set up the way Consent Mode v2 expects.

Why use it

Most GTM templates online are fixed files you download and then trim down. This GTM container generator builds the container around your choices instead, so you import only the tags you asked for. You still review it in GTM before publishing, and the import never touches your live site on its own.

Generate your GTM container now

Pick your tags above, add your IDs, and download a Google Tag Manager container you can import in a couple of minutes.

Frequently asked questions

Yes. It's free and needs no account. You pick your tags, the generator builds the container in your browser, and you download the .json file. Nothing is uploaded to a server.

Yes. Enter your site address and the generator scans the page, then tells you whether it has GA4, Google Ads, Meta Pixel or GTM. It ticks the matching tags and fills in the IDs it finds in the source. If your site loads its tags through GTM or JavaScript, some IDs won't show in the page, so you add those yourself.

A GTM container holds your tags, triggers and variables in one place. Download the .json file from the generator, then in Google Tag Manager open Admin → Import Container, pick the file, and choose Merge to keep your existing setup.

No. Importing into Google Tag Manager never publishes anything. Your site stays the same until you click Submit → Publish in GTM. Merge mode also leaves your current tags untouched.

GA4 base code with engagement and ecommerce events, Google Ads conversions and remarketing, Meta Pixel, and Consent Mode v2.

The GA4 code is validated on a real GTM account. Google Ads, Meta Pixel and Consent are newer, so test them on a spare container before you rely on them in production.

You choose English or Romanian. English is plain ASCII, which imports cleanly into any GTM account, so it's the default.