All guides
Duplicates

Why GA4 counts Shopify purchases twice, and how to fix it

Updated November 22, 2026

If Google Analytics 4 shows more purchases than Shopify has orders, or your conversion rate suddenly dropped while sessions jumped, the most common cause is simple: the same GA4 property is loaded more than once on your store.

This guide explains how that happens on Shopify, how to check it in a few minutes, and how to end up with one clean source of GA4 data.

How GA4 ends up installed twice

Shopify stores collect tracking code over time. Each piece looked right when it was added, but together they send the same events twice. The usual combinations are:

  • The Google & YouTube app sends GA4 data, and a Google Tag Manager container also has a GA4 tag for the same measurement ID (G-XXXXXXX).
  • A gtag.js snippet was pasted into theme.liquid years ago, and a tracking app was installed later.
  • A custom pixel in Settings → Customer events sends GA4 events, on top of an app that does the same.
  • Two Google Tag Manager containers run on every page, and both contain GA4 tags.
  • An old theme was replaced, but the new theme was copied with the old snippets inside.

What duplicate GA4 tags do to your reports

  • Page views and events are counted twice, so engagement numbers look better than they are.
  • Sessions can be inflated, which pushes your conversion rate down.
  • Purchases and revenue can be doubled if more than one source sends the purchase event.
  • Google Ads audiences and imported GA4 conversions inherit the same errors.

How to check your store

  1. Open your store in Chrome and go to tagassistant.google.com. Connect it to your store URL and browse a product page. Tag Assistant lists every Google tag it sees. If the same G- ID appears from two sources, it's duplicated.
  2. In GA4, open Reports → Realtime while you browse your own store. One page view from you should add one page_view event, not two.
  3. For purchases, open Explore, build a free-form table with Transaction ID as the dimension and Purchases (or Event count for purchase) as the metric. Any transaction with a count above 1 was sent more than once.
  4. In Shopify, check Settings → Customer events for custom pixels and Online Store → Themes → Edit code → theme.liquid for gtag( or GTM- snippets.
  5. Or run the free TrakIt tracking audit, which lists every GA4 ID on your storefront and where each one is loaded from.

How to fix it

Pick one way to send GA4 data and remove the rest. Which one you keep depends on how you work:

  • If you don't use Tag Manager for anything else, keep the Google & YouTube app (or a single tracking app) and remove GA4 tags from GTM and theme code.
  • If your agency manages everything in GTM, keep the GTM tag and turn off GA4 in the other apps.
  • Delete GA4 tags for old properties you no longer use. They slow the store down and send data nobody reads.

Always send the Shopify order ID as transaction_id with purchase events. It lets you spot repeated purchases in reports, and Google uses it to recognise the same purchase sent more than once.

After the change, repeat the Realtime check: one page view in, one page_view event out.

How TrakIt avoids this

TrakIt sends GA4 purchases from your Shopify order data on its server, with the order ID as transaction_id. Its setup check scans your theme for other GA4, Meta and Google Ads code, so you can see existing tags before they double-count.

Questions

Why does GA4 show more purchases than Shopify?

Usually because more than one tag or app sends the purchase event for the same GA4 property. Check purchases by Transaction ID: any order counted more than once is a duplicate.

Can I keep GA4 in both the Google & YouTube app and Google Tag Manager?

Only if they send to different GA4 properties. If both use the same measurement ID, events are counted twice. Keep one.

Does GA4 remove duplicate page views by itself?

No. Page views, add-to-carts and checkout events are counted every time they arrive. Removing the extra tag is the only fix.