Store check · Tracking
The same tracking is set up twice
Last updated: 2026-11-18
What the store check found
The same tracking ID (for example G-ABC123XYZ for Google Analytics 4, or a Meta pixel number) is set up more than once
on the pages we read. The report shows which tool it is, the ID, and where each copy comes from:
- added 2 times to the page code: two copies sit in your theme, in an app embed, or in an app's script;
- added to the page code, and again through the Google & YouTube app (or the Facebook & Instagram or TikTok app): Shopify's own app already sets it up, and a second copy was pasted into the theme or added by another app.
The usual story: the tracking was first added by pasting code into the theme (or with Google Tag Manager), and later someone connected Shopify's Google & YouTube or Facebook & Instagram app, which sets up the same ID again. Nobody removed the old copy.
Why it matters
- Wrong numbers: each copy can record the visit, the add-to-cart and the sale, so reports show more than really happened.
- Ads learn from the wrong data: Google Ads, Meta and TikTok optimise your ads on these events. Counted twice, a campaign can look better than it is, and you spend on what isn't working.
- Slower pages: the browser loads and runs the same tracking code twice.
How to check
Open the report's Technical details (for your developer): it lists each ID and how many copies we found.
To see it yourself, use the tool's own helper on your live store:
- Google Analytics 4 / Tag Manager: Tag Assistant. Connect your store's address
and look for the same
G-orGTM-ID listed twice. - Meta pixel: Meta's Meta Pixel Helper extension for Chrome. It warns when a pixel is set up more than once.
- TikTok pixel: TikTok's TikTok Pixel Helper extension for Chrome.
How to fix it
Keep one copy. If one of them comes from Shopify's Google & YouTube, Facebook & Instagram or TikTok app, keep that one: it also tracks checkout and purchases correctly, and it is switched off when you uninstall the app.
Then find the other copy. It is almost always in one of these places:
- Your theme code. Go to Online Store → Themes, click … next to your live theme and choose Duplicate.
On the copy, choose … → Edit code, open
layout/theme.liquidand search (Ctrl+F or Cmd+F) for the ID from the report. Delete the<script>block that contains it, usually marked with a comment such asor. If it isn't there, search the theme's snippets the same way. - An app embed. Go to Online Store → Themes → Customize → App embeds and look for a tracking or analytics app that adds the same tool. If you also use Shopify's own app for it, switch the extra one off, and uninstall it in Settings → Apps if it does nothing else.
- Google Tag Manager. If your store loads GTM, the second copy can be a tag inside your GTM container (for example a
"Google tag" with the same
G-ID). Ask whoever manages GTM to pause that tag, or remove GTM from the theme if Shopify's app now does the job.
After you change the theme copy, Preview it, and if everything looks right, Publish it. The report is saved for 24 hours, so run the store check again the next day to see the change.
If the same ID is in Google Tag Manager twice (GTM added two times), remove one of the two GTM snippets from the theme in the same way.
Working with a developer
Send them the store address and the ID from the report. Ask them to keep Shopify's app (or one setup if there is no app), remove the rest, and then place a test order and check that it is recorded once in Google Analytics, Meta Events Manager or TikTok Events Manager.
When you can ignore it
Rarely. A few setups load the same Google tag twice on purpose with different settings; your developer will know if yours is one of them. If nobody does, it is almost certainly a leftover.