Built for Shopify & WooCommerce · Tracking checked every 30 minutes.
Guides

Import your tracking files into Google Tag Manager

6 min readUpdated Nov 17, 2026

In step 5 of the setup, KiteTrack makes two Google Tag Manager files with your platform IDs already filled in. This guide shows how to import them into your containers, what to do about tags you already had, and how to preview and publish.

Before you start

1. Make your files in step 5

Open Setup and go to step 5, Add the tracking files.

  1. Pick every platform you advertise or measure on, then click Continue. You can add more later.
  2. Fill in one page per platform and click Next after each.
  3. Answer Do you use a consent banner? If you have a cookie banner or consent tool, choose Yes, I have one, and your tags wait until the visitor agrees. Otherwise choose No.
  4. Click Generate my files.

2. Download and unzip

Click Download .zip. The file is named after your store, for example yourstore-com-tracking-templates.zip.

Unzip it. Inside are two files:

  • server.json: goes into your server container.
  • web.json: goes into your web container.

3. Import server.json into your server container

  1. Go to tagmanager.google.com and open your server container.
  2. Open the Admin tab and click Import Container.
  3. Under Choose container file, select server.json.
  4. Under Choose workspace, pick your existing workspace, usually Default Workspace.
  5. Under Choose an import option, choose Merge, then Overwrite conflicting tags, triggers, and variables.
  6. Tag Manager shows a summary of what will be added, changed and deleted. Check it (see section 5), then click Confirm.

4. Import web.json into your web container

Do the same in your web container, with web.json:

  1. Open your web container, then Admin → Import Container.
  2. Choose web.json and your workspace.
  3. Choose Merge → Overwrite conflicting tags, triggers, and variables.
  4. Check the summary and click Confirm.

Make sure you pick the web container that is actually on your site. That is the ID you entered in step 2.

Do not publish yet. You publish both containers in step 7, after a quick check.

5. Conflicting and duplicate tags

Why Merge. Merge adds KiteTrack's tags, triggers and variables next to what is already in the container. Never choose Overwrite as the import option itself: it replaces the whole container and deletes everything else you had in it.

Why Overwrite conflicting. A conflict means an item with the same name is already in the container. That is almost always an item from an earlier KiteTrack import. Overwriting replaces the old copy with the new one, so nothing doubles up. If the summary shows a changed item that you made yourself, stop and check its name before you confirm.

Tags you set up before KiteTrack. Your own tags have different names, so the import leaves them alone. If any of them send the same events, you count everything twice. Look in your web container for:

  • a Meta Pixel tag that sends purchases or leads;
  • a Google Ads conversion tag for the same conversion;
  • a GA4 tag that sends the same purchase or lead events;
  • a TikTok Pixel tag.

Pause each one that does the same job as a KiteTrack tag: open the tag, click the three dots at the top right, and choose Pause. Pausing is safer than deleting, because you can undo it.

Pixels can also come from outside Tag Manager, such as a store app, a plugin, or code pasted into your theme. Those do not show in Tag Manager. See Fix missing or duplicate purchases for how to find them.

6. Preview and publish (step 7)

Step 7 opens when your domain is verified and steps 4, 5 and 6 are done. It walks you through this check:

  1. Open your web and server containers in Tag Manager.
  2. Click Preview at the top right of both.
  3. Place a test order, or submit a test lead, and check in the debug window that the tags fire.
  4. When everything fires, click Submit in both containers. In the window that opens, click Publish.

Server Preview does not open? In the server container, go to Admin → Container Settings and check that Server container URL is your tracking domain, such as https://sst.yourstore.com. Save, then try Preview again.

Test your tracking setup explains what to look for in the debug window.

7. Adding a platform later

Started with one platform and now need another? In step 5, click Add a platform. KiteTrack makes both files again with everything in them. Download the new .zip and import both files again with Merge → Overwrite conflicting tags, triggers, and variables, so nothing doubles up. Then preview and publish again.

A wrong ID or label, or a token that leaked? In step 5, click Change an ID or token, pick the platform and fill in only what changed. Anything you leave blank stays as saved. KiteTrack makes both files again: import them the same way and publish both containers. Until you publish, Tag Manager keeps sending the old values.

What success looks like

  • Both containers show KiteTrack's tags, triggers and variables in the workspace.
  • Your old tags that did the same job are paused.
  • After step 7, both containers are published, and each platform in the setup page shows that it received your test.

Stuck? Press Get it done for me on the setup page, or reply to any of our emails. A person reads it.

Let your ads see every sale.

30-day money-back guarantee · free migration · cancel any time