TRACKING SPECIALIST — BARIS ASA · LONDON
Synctag
Start the check → TRACKING SPECIALIST — BARIS ASA · LONDON
F-101
F-101 · COLLECTION & DUPLICATION · FILED 2026 · REVISED 24 NOV 2026 · FREQ ▮▮▮▮▯

Duplicate conversion firing

Also filed as “ga4 revenue higher than shopify”“ga4 purchases counted twice”“my purchase event fires twice in ga4”“meta reports more sales than the store”“google ads conversions higher than actual orders”“purchase event firing twice in tag assistant”“thank you page counting conversion on reload”“shopify orders counted twice in ga4”“ga4 purchases doubled after installing the google & youtube app”

When GA4 revenue is higher than Shopify and GA4 also records more purchases than Shopify has orders, some orders are arriving twice. That is duplicate conversion firing (F-101): the purchase tag fires more than once per order. Compare order counts for a closed week before revenue. Matching counts with a gap near your refund rate is normal, not this fault.

Symptom and cause

Symptom
Purchases counted twice: revenue inflated on Meta, and in GA4 and Google Ads once transaction_id goes missing or changes per fire. ROAS looks great, until finance disagrees.
Cause
The purchase tag fires more than once per order: a theme update double-injects it, a tag lives in both GTM and the platform, or a thank-you page reloads.
Where it's caught
Tag Assistant / GA4 DebugView: two purchase events for one order, the second with a missing or different transaction_id. Or GA4 purchases running ahead of the store's own order count.

How one order gets counted twice

A purchase fires twice in four common ways. The tag is attached to two triggers, or to a broad one such as All Custom Events. Two copies of the tag load: a Google tag hardcoded in the theme as well as the same tag in GTM, a second GTM container, or a theme and an app both installing GTM (common on Shopify). A single-page checkout pushes the purchase again on a route change. Or the thank-you page is reloaded, bookmarked or reached with the back button, and the hit goes out again.

What happens next depends on each platform's dedup key. GA4 drops a repeat purchase that carries the same transaction_id. Google publishes no time window for this, so do not rely on it across days. Google Ads drops a second conversion on the same conversion action with the same transaction_id. Meta does not key on the order number at all: it merges a Pixel and a Conversions API copy that share the same event_id and event name, within 48 hours.

So two hits carrying the same order number are absorbed by GA4 and Google Ads. The copies that inflate GA4 and Ads are the ones with no transaction_id, or a different one. On Meta, two copies without a shared event_id both count.

Two traps run the other way. An empty transaction_id makes GA4 treat every empty-id purchase as one. An id reused across orders makes GA4 and Ads drop genuine orders as duplicates. Both undercount.

DevTools · Network · collect for one checkout · reconstructed · client data anonymised
t+mseventtransaction_idsource
0page_view—GTM · GA4
+1180add_payment_info—GTM · GA4
+2090purchase████-4471GTM · GA4 tag
+2130purchase(none)hardcoded gtag

How to catch it

  1. (Anyone, no tools) Count before you compare money. Set GA4 purchases against the store's orders (Shopify, Woo, the order table) for a closed week, with test and deleted orders taken out. More purchases than orders, beyond a handful, is this fault. If each platform sends once per order but browser and server copies still add up to two, that is F-102. The checks below need GTM access or a developer.
  2. (Anyone with GA4 access) In an exploration, put Transaction ID against Purchases for the same week. A (not set) row carrying purchases, or two ID formats side by side, means a second sender with no transaction_id or a different one. Those are the copies GA4 counts twice. On Shopify, register shopify_event_name as an event-scoped custom dimension and add it to the same table: the Google & YouTube app's copies carry it, a GTM copy shows (not set).
  3. (GTM access) Place one test order with DevTools open on the Network panel and Preserve log switched on, so hits survive the thank-you redirect. Filter on collect for GA4 and on /tr for the Meta Pixel. Two purchase hits for one order means a second sender. Then read the IDs. The same transaction_id on both: GA4 and Ads drop one, Meta may still count both. One missing or different: GA4 counts both.
  4. (GTM access) Count the fires in the GTM Preview Summary. Clear the stream, place the order once, open Summary and click the purchase tag. Two fires is a tag or trigger problem inside GTM. One fire means the second copy comes from outside GTM: a hardcoded Google tag, a second container or a replayed dataLayer push. Then repeat the order with Preview closed, in a fresh session, and count collect hits again: that is what production sends.
  5. (Developer) Hunt the double load in the page source. Search for gtm.js, G-, gtag( and the AW- and Pixel IDs. Two gtm.js loads, a hardcoded Google tag alongside GTM, or a theme and an app both installing GTM doubles every tag on the page, not only purchase.
  6. (Developer) Check the reload and the single-page path. Reload the thank-you page and press the back button while watching the Network panel. If purchase goes out again, that is the reload or route-change refire. To read it in DebugView, turn on debug mode with Tag Assistant or GTM Preview, or set debug_mode on the Google tag. Also check GA4 Enhanced Measurement, Page changes based on browser history events, against any page_view you push yourself.

What putting it right involves

  1. One sender per platform. If GTM owns the GA4, Ads or Meta tag, remove the hardcoded copy from the theme, or the other way round. Remove any second GTM container. Where a theme and an app both install GTM, keep one. This fixes the cases where every event doubles.
  2. On Shopify, check two second senders specific to the platform. First, the Google & YouTube app connected to GA4 while a GTM purchase tag, usually inside a custom pixel, sends to the same property: Shopify's own help says adding Google Analytics to GTM on top of its built-in integration can result in duplicate tracking. Keep one sender, usually the app, and remove the GA4 purchase from GTM. Second, a post-purchase upsell: Shopify fires checkout_completed on the first upsell offer page instead of the Thank you page, and an upsell app that sends its own purchase for the accepted offer adds a second purchase to one order. Switch off the app's analytics purchase or the pixel's. Both are worked through in the notes under Questions on this file.
  3. Send transaction_id on every purchase, stable and unique. Generate it at order creation and pass the same value to every tag on the confirmation page: the order number works. Never empty, never reused across orders, never regenerated per fire, and no longer than 64 characters (the Google Ads limit). A repeated, real transaction_id is what lets GA4 and Google Ads drop the duplicate themselves.
  4. Tighten the trigger. Attach the purchase tag to one trigger, on the genuine purchase dataLayer push only. In the tag's Advanced Settings, set Tag firing options to Once per page, so a second push in the same page load does not send it again. That setting resets on every reload, which is why step 5 is still needed. On single-page checkouts, push the purchase once from the order-confirmed state rather than from a component that re-renders.
  5. Add a reload guard. Store each sent transaction_id in a first-party cookie or localStorage and block the purchase tag when the ID is already stored. In GTM: a dataLayer variable for the ID, a tag sequenced after the GA4 tag that writes it to a cookie, a cookie variable, and a trigger exception that stops the tag when the stored ID matches. This catches the thank-you reload the trigger alone cannot.
  6. If the Pixel and the Conversions API both send the purchase, give both the same event_id, built from the order number, and the same event name. The rest of that work is F-102.
  7. Verify. Place one order with Preview closed, in a fresh session: one collect hit, one purchase per transaction_id. Then count GA4 purchases against store orders for the first full week after the fix.
How I'd fix this

Sources on file

Cited in these case files

F-101 turns up as evidence across the archive. It is cited in:

Questions on this file

My Shopify store shows more GA4 purchases than orders. Where does the second purchase come from?

On Shopify, look at two senders first. The Google & YouTube app sends a purchase from Shopify's checkout, and a GA4 tag in GTM, often in a custom pixel, can send a second one to the same property; GA4 keeps both unless they carry the same transaction_id. The app's copy carries a shopify_event_name parameter, so the two can be told apart: the note on the Google & YouTube app and GTM both sending purchase. If the store runs a post-purchase upsell, the purchase fires on the first offer page, and an upsell app sending its own purchase doubles that order: the note on post-purchase upsells and the purchase event.

My purchase event fires twice in GA4. How do I fix it?

Find the second sender and remove it, then send the order number as transaction_id on the one that stays. One test order with GTM Preview and the Network panel open shows whether the tag fired twice inside GTM or a second copy loads outside it. The sender-by-sender walk-through is in the note on a GA4 purchase event firing twice.

Why is GA4 revenue higher than Shopify?

Count before you compare money. Set GA4 purchases against Shopify orders for a closed week, with test and deleted orders taken out. More purchases than orders, beyond a handful, is F-101: the purchase event fires more than once per order. Matching counts with a gap close to your refund rate is normal: Shopify takes refunds off its sales, and GA4 does not unless a refund event is sent. GA4 usually sits below Shopify, since some buyers refuse cookies or block scripts. Every cause, normal and fault, is in the note on GA4 revenue higher than Shopify.

How do I tell F-101 (duplicate firing) apart from F-102 (signals not deduplicated)?

F-101 is one platform's tag sending the same purchase more than once: two collect hits for one order, or the GTM purchase tag fired twice. F-102 is two systems, the browser Pixel and the server, each sending once but without a shared event_id, so Meta counts both. Place one order and read the Network panel. Two hits from the same tag is F-101. One browser hit plus a server event with a missing or different event_id is F-102. Both can be live at once.

The thank-you page counts a conversion every time it reloads. How do I stop that?

A reload, a bookmark or the back button sends whatever fires on page load again, purchase included. Set the tag to fire on the genuine purchase push only, with Tag firing options at Once per page, and add a guard that stores each sent transaction_id in a first-party cookie or localStorage and blocks the tag when the ID is already stored. Once per page resets on reload; the stored ID does not.

Will setting Google Ads Count to One fix duplicate conversions?

No, it is a different lever. Count One allows one conversion per ad click, which suits lead generation and is wrong for ecommerce, where one click can lead to two genuine orders. What stops the same order counting twice is the transaction_id on the conversion. For ecommerce, send a unique transaction_id and leave Count on Every. The Count choice itself is F-104.

I removed the duplicate but DebugView still shows two purchase events. What did I miss?

Read production, not the debug session. Close Preview, open the site in a fresh session, place one order and count collect hits for purchase in the Network panel. One hit means the fix held. Two hits with Preview closed is real: a second load you have not found, so search the page source for a hardcoded Google tag, a second gtm.js, or a theme and an app both installing GTM.

Does an empty transaction_id cause double-counting in GA4?

No, the opposite. Google says GA4 deduplicates all purchase events sent with an empty transaction_id, so many real orders collapse into one and you undercount. The overcount comes from a missing or changing ID on a real double-fire. A stable, unique ID that repeats on both copies is the state you want.