"Meta Pixel counting Shopify sales twice? Check and fix duplicate purchases"
If Meta shows more purchases than your Shopify store, some orders are probably being counted twice: one customer, one order, two Purchase events. The fix is to send every purchase once, from one place, with the Shopify order ID as its event ID, so Meta drops any copy that still slips through.
Not sure what your store sends today? The free Tracking Check lists the tags it finds on your site in about two minutes.
What double counting breaks
- Return on ad spend looks better than it is. You scale ads that aren't really making money.
- Meta learns from purchases that never happened. It goes looking for the wrong buyers.
- Cost per purchase looks too low. Your reports and budget decisions are built on the wrong numbers.
- Meta and Shopify never match. And you stop trusting both of them.
Why duplicate purchase events happen
Most of the time it's one of four things:
- Two pixels send the same purchase. For example, Meta's app and a Google Tag Manager tag on the same store.
- One tag fires twice. It has two triggers, or the Tag Manager container loads twice.
- Every copy carries a different event ID, or none. Meta can't tell they're the same order.
- Browser and server send the purchase, but their event IDs don't match.
Meta keeps one copy only when the copies share the same event name and the same event ID, for the same pixel, within 48 hours (Meta for Developers, handling duplicate pixel and Conversions API events). That's why the event ID is the heart of the fix.
Step 1: check one order in Meta Test events
Open Meta Events Manager, pick your pixel (dataset), and open Test events. Place one test order on your store.
On my test store, one order gave two Purchase events at the same second. Both had the same value (14) and the same currency (USD): the same order, sent twice. But look at the event IDs: each copy has a different one. So Meta counts this order twice.

Test events also shows where each copy came from. Here both say Manual setup: two pieces of Meta code on the store, each sending its own Purchase.
No test order? Compare Meta's purchases for one day in Overview with your Shopify orders for the same day. If Meta shows close to twice as many, a second copy is almost always the reason. Look at a full week before you decide; one day can be off because Meta and Shopify don't always put a sale on the same day. If Meta shows fewer purchases than Shopify, that's the opposite problem: see why Meta shows fewer purchases than Shopify.
Step 2: find the second copy in Shopify Customer events
In Shopify, open Settings → Customer events. This list shows every app pixel and custom pixel that runs on your store and your checkout.

On this store:
- KiteTrack.io DataLayer sends every store event into the data layer and loads Google Tag Manager. That's where the new purchase tag will live.
- Meta Pixel and Facebook Pixel are old custom pixels. Each has its own Meta code, and each sends its own Purchase.
- checkout pixel is left over from an old setup. It loads Google Tag Manager a second time on the checkout, so every tag in the container can fire twice there.
- Facebook & Instagram is Meta's own app. Here it's not connected. If yours is connected with data sharing on, and a tag also sends Purchase, every order goes to Meta twice. Pick one of them.
Also search your theme code for GTM-. You want your container loaded once, from one place.
Step 3: rebuild the purchase tag in Google Tag Manager
Start from a clean container, so nothing old gets in the way. If you've never set up Meta in Tag Manager before, our guide to the Facebook pixel with Google Tag Manager covers the basics.
The Meta Pixel template
Open Templates, search the Gallery, and add Meta Pixel by Meta to your workspace.
Three data layer variables
Open Variables → New → Data Layer Variable, and create three:
ecommerce.value: the order value.ecommerce.currency: the three-letter currency code.ecommerce.transaction_id: the Shopify order ID. This one matters most here.

Why the order ID? Every copy of one order carries the same order ID. So if two copies ever reach Meta with it as the event ID, Meta keeps only one.
One custom event trigger
Open Triggers → New → Custom Event. Type the purchase event name exactly as your data layer sends it. On this store it's kd_purchase. Name the trigger Purchase and save.

Keep just one trigger on your purchase tag. Two triggers is a common reason a tag fires twice. Make a second Custom Event trigger for the page view the same way (here kd_page_view).
The Meta purchase tag, with the order ID as event ID
Open Tags → New and choose the Meta Pixel template.
- Paste your pixel ID.
- Event name:
Purchase, with a capital P. Meta treats lowercasepurchaseas a different event. - Under Object Properties, add
value(the value variable) andcurrency(the currency variable). - Under More Settings → Event ID, pick the order ID variable. This is the field that stops double counting.
- Under Advanced Settings, keep the firing option Once per event. Once per page sounds safer, but it doesn't stop a refresh, because a refresh is a new page.
- Trigger: Purchase, and only that one. Name the tag "Meta - Purchase" and save.

Page view tag, then publish
Add one more Meta Pixel tag for the base page view, with the same pixel ID. The event stays PageView, and the trigger is the page view custom event, not All Pages: on this store the data layer already sends one page view for every page.
Then Submit, name the version clearly (for example "Meta purchase with event ID"), and Publish. Until you publish, nothing changes on your store.
Step 4: disconnect the old pixels
Back in Shopify's Customer events, open the old Meta Pixel and disconnect it. Do the same for Facebook Pixel and the old checkout pixel.

Now only one place sends the purchase, and Google Tag Manager loads once. Shopify's help explains how to manage and disconnect pixels in Customer events (Shopify Help Center, pixels overview).
Step 5: test again, one order, one Purchase
Go back to Test events and place one more test order. This time: one order, one Purchase. Open it: value and currency are there, and the event ID is now the order ID.

Using the Conversions API too? Send the same order ID as the event ID from your server. Then Meta matches the browser copy and the server copy and counts the order once. Our Meta CAPI deduplication guide shows how to check that in Events Manager.
The thank-you page refresh test
A customer opens the thank-you page again, or refreshes it. On Shopify's checkout, the purchase event fires once per checkout, so Test events still shows one Purchase for this order.
But if your purchase code sits in an old thank-you page script, it can fire on every visit. Test it on your own store: refresh the thank-you page after a test order and count the Purchases.
Don't switch off the server to stop duplicates
If you send purchases from both the browser and a server, don't turn the server off just to stop double counting. That trades duplicates for lost purchases, the ones ad blockers stop in the browser. Fix the event ID instead.
Step 6: keep watching every order
One clean test order doesn't mean it stays clean. An app update, a new pixel or a theme change can bring a second copy back.
To watch every order, you can use KiteTrack. Tracking quality shows conversions and unique orders for every platform. If conversions are higher than unique orders, some orders were sent twice. The Duplicates filter lists every order ID that reached a platform more than once.

In Alerts, the rule Orders sent twice tells you as soon as the same order ID reaches a platform more than once.

Recap
- Place one test order and open every Purchase in Test events.
- Find the second source in Customer events, your theme or your apps.
- Send the purchase from one tag, with the order ID as the event ID.
- Test again, including a thank-you page refresh, and keep watching it.
FAQ
Why does Meta show more purchases than my Shopify orders?
Usually because some orders are sent twice: by two pixels or apps, by a tag that fires twice, or by the browser and the server without a shared event ID. Place one test order and count the Purchases in Test events to confirm.
What should I use as the event ID for Meta purchases on Shopify?
The Shopify order ID. Every copy of one order carries it, so Meta can merge copies that share it, from the browser or the server.
Does "Once per page" stop duplicate purchases in Google Tag Manager?
No. A refresh is a new page, so the tag can fire again. Keep "Once per event", use one trigger, and send the order ID as the event ID.
Does the Facebook & Instagram app deduplicate by itself?
It handles its own browser and server events together. It can't merge its events with a second pixel that another app or a developer added, because that pixel sends its own IDs. Use one or the other.
Can Ads Manager show more purchases than Shopify without duplicates?
On a single day, yes. Ads Manager can report a purchase on a different day from the one Shopify uses. Compare a full week before deciding.
Where KiteTrack fits
KiteTrack sends each purchase from your own tracking server with the same event ID the browser uses, so Meta counts it once, and it lists any order that reached a platform twice. Checks run every 30 minutes. See how it works for the Meta Conversions API on Shopify, or start with the free Tracking Check.
Sources
- Meta for Developers, Handling duplicate pixel and Conversions API events (read 29 November 2026): https://developers.facebook.com/docs/marketing-api/conversions-api/deduplicate-pixel-and-server-events/
- Shopify Help Center, Pixels overview (read 29 November 2026): https://help.shopify.com/en/manual/promoting-marketing/pixels/overview
Get tracking tips by email
Short, practical fixes for Meta, Google Ads and GA4, from Abir.
You’re in. First tip lands soon.