
AI search overview
Duplicate Meta purchase events on Shopify happen when the same order is reported by two sources that Meta can't match. The fix is one browser source and one server source per pixel, sharing the same event name and event ID. Remove any hard-coded or tag-manager pixel that sits alongside the Facebook & Instagram app, make sure only one tool sends server-side Purchase events, and confirm deduplication in Events Manager with a test order.
Key takeaways
- Seeing Purchase from both Browser and Server is expected. Seeing them not deduplicated is the problem.
- Meta matches pixel and Conversions API events on event name plus event ID, within 48 hours.
- Most Shopify cases are a leftover manual pixel or a second tracking app, not a Meta bug.
- Verify with Test Events and by comparing Meta purchases with Shopify orders for the same day.
If Meta reports more purchases than your Shopify store actually took, the Purchase event is probably firing twice. That inflates revenue and ROAS in Ads Manager and gives Meta's optimisation bad data. The cause is almost always in the store's setup, and it takes under an hour to find and fix.
This guide covers how Meta's deduplication works, the five causes we see most on Shopify stores, how to confirm which one you have, and the fix for each.
Quick answer
Keep one pixel install (the Facebook & Instagram app), delete any other Meta pixel code from your theme, tag manager and custom pixels, and let only one tool send Conversions API events. Then place a test order and check Test Events.
How Meta deduplicates purchase events
Most Shopify stores send each purchase to Meta twice on purpose: once from the browser (the Meta pixel) and once from the server (the Conversions API). The server copy survives ad blockers and browser restrictions. Meta then merges the two. Per Meta's deduplication docs:
- Same event name. Both copies must be called Purchase.
- Same event ID. The pixel's eventID must equal the server's event_id. Meta suggests an order number or transaction ID.
- Within 48 hours. Deduplication applies when both events arrive within 48 hours of the first.
- Same pixel (dataset). Events sent to two different pixels are never merged with each other.
When any of those is missing, Meta counts two purchases. Events sent with no event ID at all can't be deduplicated.
| What you see in Events Manager | What it means |
|---|---|
| Purchase received from Browser and Server, deduplicated | Healthy. This is the intended setup. |
| Purchase received from Browser and Server, not deduplicated | Event IDs don't match or are missing. Usually two different tools are sending. |
| Purchase from Browser only, count roughly double your orders | Two browser pixels are firing: the app plus a manual snippet or tag manager tag. |
| Purchase from Server only, count roughly double | Two server-side tools are sending the same order. |
Five common causes on Shopify
1. A manual pixel left in the theme
The store first installed the pixel by pasting code into theme.liquid, then later connected the Facebook & Instagram app. Both now fire. The app's events carry Shopify's event IDs and the pasted code's don't, so they can't be merged.
2. A Purchase tag in Google Tag Manager or a custom pixel
An agency or freelancer added a Meta Purchase tag through GTM, or through a custom pixel in Shopify's Customer events settings, alongside the native app. This is the same problem as cause 1, only harder to spot because the code isn't in the theme.
3. Legacy checkout scripts
Older stores often have Meta's Purchase snippet in the order status page's additional scripts box. If it's still active alongside the app, every order is reported twice. Badly written snippets also fire again whenever a customer reloads the order status page.
4. Two server-side sources
The Facebook & Instagram app is set to Enhanced or Maximum data sharing, which uses the Conversions API (see Shopify's data sharing levels), and a third-party tracking tool (a server-side GTM container, Elevar, Stape, Triple Whale or similar) also sends server events to the same pixel. Each uses its own event ID, so Meta sees two purchases.
5. Two pixels in one ad account view
The store sends purchases to an old pixel and a new one, and the ad account's custom conversions or reporting combine them. Events on different pixels are never deduplicated against each other.
How to diagnose it (15 minutes)
- Compare counts. Pick one recent day. Compare Shopify orders with Purchase events for that day in Events Manager. Some difference is normal; close to double is not.
- Check the event's sources. In Events Manager, choose the dataset, expand Purchase and open View details. Note whether it's received from Browser, Server or both, and what the deduplication section says.
- Place a test order with Test Events open. Enter your store URL in Test Events, complete an order (a 100% discount code works), and count the Purchase rows. You want one browser and one server event, with the server one marked deduplicated.
- Find extra browser pixels. With the Meta Pixel Helper browser extension, load the thank-you page. More than one Purchase, or more than one pixel ID, means a second install.
- Search for stray code. Search your theme code for fbq( and connect.facebook.net. Check Settings > Customer events for custom pixels, your tag manager for Meta tags, and legacy additional scripts if your store still has them.
- List every app that touches Meta. Check each tracking, attribution and feed app for a Meta pixel or Conversions API setting.
How to fix duplicate purchase events
| Cause | Fix |
|---|---|
| Manual pixel in theme | Delete the base code and any fbq('track', 'Purchase') call from the theme. Keep the app connection. |
| GTM or custom pixel tag | Pause or remove the Meta Purchase tag. If you must keep it, pass Shopify's order ID as eventID and make sure nothing else sends browser Purchase. |
| Legacy checkout script | Remove the Meta snippet from additional scripts. |
| Two server-side sources | Choose one. Either let the Facebook & Instagram app send Conversions API events, or follow your tracking tool's setup guide for the native app's data sharing. |
| Two pixels | Send purchases to one pixel and update campaigns and custom conversions to use it. |
After the change, repeat the test order. Then watch the daily Purchase count against Shopify orders for a few days. Expect reported ROAS to drop: the earlier number was overstated, so reset your targets against break-even ROAS using the corrected figures.
Don't over-correct
Removing the Conversions API to stop duplicates trades one problem for another: you lose the purchases that ad blockers hide from the pixel. Keep both browser and server events and fix the matching instead.
Why it matters for your ads
- Reported ROAS is wrong. If half your purchases are duplicates, a reported 4.0 ROAS is really 2.0.
- Budget decisions follow the wrong number. Campaigns that look profitable get scaled when they shouldn't be.
- Optimisation gets noisy data. Meta learns from the conversions it receives, so accurate events matter for delivery.
- Other metrics drift too. Cost per purchase and conversion rate in Ads Manager are both calculated from the same inflated count. Our Meta ads calculator shows how CPM, CTR and CPA connect.
Not sure your Meta tracking is clean?
We audit pixel, Conversions API and Shopify order data together and fix the gaps before touching campaigns.
Book a free tracking auditRelated: what CPM means and how it turns into cost per purchase, and how we run Meta ads for ecommerce brands.
Frequently asked questions
Why is Meta showing duplicate purchase events for my Shopify store?
Usually because the Purchase event is being sent by more than one source that Meta can't match. The common causes are a second Meta pixel hard-coded in the theme or added through a tag manager on top of the Facebook & Instagram app, a third-party tracking app also sending Purchase through the Conversions API, or browser and server events that don't share the same event ID.
How does Meta deduplicate pixel and Conversions API events?
Meta treats a browser event and a server event as the same when they have the same event name and the same event ID (eventID on the pixel, event_id on the server). Meta's docs say deduplication applies when both arrive within 48 hours of the first event.
Is it normal to see both Browser and Server for the Purchase event?
Yes. With Shopify's Enhanced or Maximum data sharing, Purchase is sent by both the pixel and the Conversions API on purpose. That is only a problem if Events Manager shows they are not being deduplicated.
How do I check for duplicate purchases in Meta Events Manager?
Open Events Manager, choose your dataset (pixel), expand the Purchase event and open View details to see the deduplication information. Then use Test Events and place a test order: you should see one Purchase from the browser and one from the server, with the server one marked as deduplicated.
Should I remove the Meta pixel code from my Shopify theme?
If you connected the pixel through the Facebook & Instagram app, yes. A pixel base code or Purchase snippet left in theme.liquid, in legacy checkout additional scripts, or in a tag manager fires a second, unmatched event. Keep one browser source per pixel.
Can I use Elevar, Stape or another tracking app with the Facebook & Instagram app?
Yes, but only one of them should send Purchase to a given pixel. If a third-party tool sends server-side events, follow its instructions for the native app's data sharing, which usually means turning it off or lowering it for that pixel.
Do duplicate purchase events affect ROAS and ad delivery?
Yes. Double-counted purchases inflate reported purchases, revenue and ROAS, so campaigns look more profitable than they are. They also feed inaccurate conversion data to Meta's optimisation.
What event ID should a Purchase event use?
Any value that is identical on the browser and server copies of the same event and unique per order. Meta suggests an order number or transaction ID as possible identifiers.
Why does Meta show more purchases than Shopify?
Duplicates are one cause. Others are attribution (Meta credits view-through and click-through conversions inside its window, including orders Shopify attributes to another channel) and the same order being reported again when a customer reloads the thank-you page with a badly installed custom snippet.
How long does it take for the fix to show in Events Manager?
Test Events shows new behaviour immediately. The deduplication and overview figures in Events Manager are aggregated, so give them a day or two of fresh events before judging the fix.

