Meta Event Deduplication: Stop Pixel and Conversions API Purchases Counting Twice
Priya Raghunathan
E-commerce Performance Manager
Meta event deduplication is how Meta counts a purchase once when the same event arrives from both the Meta pixel in the shopper's browser and the Conversions API on your server. Meta treats two events as one when they share an event name and an event ID and reach the same pixel within 48 hours. If the IDs do not match, every order can count twice, and your reported purchases and ROAS rise with no extra sales behind them.
Quick answer: Send every event from both sources with the same event name and the same unique event ID. For Purchase, use the order number. For other events, generate one ID per event in the browser and pass it to the server. Then open the event in Events Manager, go to the Event Deduplication tab and check that the deduplication rate is high and that both sources send the key. Most double counts come from a second copy of the pixel, not from the integration itself.
This guide goes deep on deduplication only. The setup routes for the server connection, the parameters a website event needs and the consent questions are in our Meta Conversions API guide, and the pixel side is in our Meta Pixel setup guide.
Why does the same purchase reach Meta twice?
The same purchase reaches Meta twice because Meta recommends it: its Conversions API best practices say to "use the Conversions API in addition to the Meta Pixel, and share the same events using both tools". The server catches events a browser drops; deduplication stops the safety net from doubling your numbers.
So duplicates are expected when events are sent; they should never be counted. On a store, counting goes wrong in a few recurring ways:
- The two copies carry different IDs, or one side sends no ID at all.
- A third copy exists: old pixel code in the theme, a tag manager Purchase tag or a second app, each with its own IDs.
- The event names differ, such as
Purchasein the browser and a custompurchase_completedon the server.
None of these is visible in Ads Manager; they show up as purchase counts that drift above your orders.
Put this guide to work
Launch, test and scale campaigns on six ad platforms from one place, with Wavo, your team of AI agents, at your side. Free for 14 days.
How does Meta decide that two events are the same?
Meta decides that two events are the same by comparing a deduplication key made of the event name and the event ID. Meta's deduplication guide and its server event parameters page set out the rules, as of December 2026:
| Rule | What Meta's documentation says | What it means for a store |
|---|---|---|
| The key | The pixel's eventID must match the server's event_id, and the pixel's event must match event_name | Same name, same ID, on both sides |
| The window | Events are deduplicated if they arrive within 48 hours of the first event with that ID | A server event sent three days late counts again |
| Which copy stays | Meta "generally" prefers the event received first | Order of arrival rarely matters with IDs |
| Near-simultaneous arrival | If browser and server events arrive within 5 minutes of each other, Meta favours the browser event | The browser copy's parameters usually win |
| Same pixel | The keys must reach the same pixel ID | Two pixels on one page are two separate counts |
| Single source | Events sent from only one source are not deduplicated | No pair, no merge |
Meta also documents a fallback that matches on event_name together with fbp and/or external_id, used consistently on both sides. It is weaker by design: Meta says it only works when the browser event arrives first and the server event follows, and server events are not discarded if no browser event arrived in the previous 48 hours. Treat it as a backup. Meta's best practices ask you to include both event_id and external_id on all events, which covers deduplication and matching at once; how external_id helps matching is in our Event Match Quality guide.

Which event ID should each store event use?
The event ID for each store event should be a value that both the browser and the server can know, that is unique to that one event, and that stays the same if the event is sent again. Meta's server event parameters page describes event_id as "any unique string chosen by the advertiser" and names "an order number or transaction ID" as identifiers that work.
That gives a simple rule per event type:
| Event | Good event ID | Why |
|---|---|---|
| Purchase | The order number, or the platform's order ID | Unique per order, readable on the thank-you page and on the server, stable on reloads |
| InitiateCheckout, AddPaymentInfo | The checkout token or ID, if your platform exposes one to both sides | One checkout, one ID |
| AddToCart, ViewContent, Search | A random value generated once per event in the browser and passed to the server | No natural ID exists |
| Lead or subscription events | The form submission or subscription ID from your back end | Stable and unique |
Meta's page allows a random number for events without an intrinsic ID "so long as the same random number is sent between browser and server events". The hard part is passing it: one side creates the ID and hands it to the other before either event is sent.
Two mistakes to avoid:
- Prefixing on one side only. If the server sends
order_1043and the browser sends1043, they never match. Pick one format and use it in both places. - Regenerating on reload. If the thank-you page builds a new random ID each time it loads, every reload is a new Purchase. The order number repeats the same key instead.
Where is the event ID set in each setup?
The event ID is set wherever your browser and server events are sent from, and the fix for duplicates lives in the same place. Three setups cover most stores.
A store platform integration
When one integration sends both the pixel and the server events, such as Shopify's Facebook & Instagram app at the Enhanced or Maximum data sharing level, that integration controls both IDs. Shopify's Meta data sharing page lists the levels but does not document how the app sets event IDs, so do not assume; confirm it in the Event Deduplication tab after a test order. Our Shopify Facebook & Instagram app setup guide covers the connection itself.
With an integration, the usual problem is a second sender: theme code, a tag manager container, a custom pixel or another app with a Meta pixel setting. Keep one.
Google Tag Manager with a server container
With a server-side tag manager, the web container creates the ID and both tags must read the same variable. Meta's guide to Conversions API for server-side GTM describes the pattern:
- In the web container, generate a unique ID per event, for example with a custom JavaScript variable.
- Send it with the GA4 event as an extra parameter named
event_id, or as the custom parameterx-fb-event_id. - Fire the Meta pixel tag with the same variable as
eventID, ideally on the same trigger as the GA4 event. - In the server container, the Conversions API tag reads
event_idand sends it to Meta.
Custom code
With a custom build, you set the ID yourself on both sides. Meta's deduplication guide shows the browser options:
fbq('track', 'Purchase', {value: 49.90, currency: 'EUR'}, {eventID: 'order-1043'})sends the ID to every pixel on the page.fbq('trackSingle', 'PIXEL_ID', 'Purchase', {...}, {eventID: 'order-1043'})sends it to one pixel only, useful when a page loads more than one.- An image pixel passes it as the
eidparameter.
The server event for the same order then sends event_name: 'Purchase' and event_id: 'order-1043', promptly: Meta's best practices recommend sharing events when they happen, and anything later than 48 hours is no longer deduplicated.
How do you check deduplication in Events Manager?
You check deduplication in Events Manager from the dataset's Overview: open Event Details for the event, then the Event Deduplication tab. Meta's verification guide describes three measures there:
- Rate of Events Deduplicated: the share of events deduplicated from each source. Meta says higher is better and shows a warning when it is too low.
- Rate of Deduplication Key Usage: how often each source sends each key, such as event ID or
fbp. - Overlap: the share of events with a given key that arrived from both sources, measured against the source with fewer events. Meta says low overlap suggests the keys are not unique or only one source sends them.
Read the three together:
| What you see | Likely cause | Where to look |
|---|---|---|
| Event ID usage high on the browser, low on the server | The server sends no event_id | Integration or server tag settings |
| Key usage high on both, overlap low | The two sides generate different IDs | Variable, trigger or ID format |
| Overlap high, but Purchase counts above orders | A third sender with its own IDs | Theme code, other apps, extra tags |
| Purchase arrives from the server only | The pixel does not fire on the thank-you page | Pixel install, consent settings |
Meta says events should be visible within 20 minutes of sending, so check after a real test order and again after every theme update, app install or tag manager publish.
What are the signs that deduplication is broken?
The clearest sign that deduplication is broken is Events Manager receiving more Purchase events per day than your store records orders. That comparison is better than comparing Ads Manager with your store, because Ads Manager adds attribution on top: view-through credit and long windows inflate purchases even when every event is counted once. Our guide to why Meta and Shopify numbers don't match covers that second gap.
Another sign is purchases and ROAS jumping on the day an app was installed or a theme was published, with no change in orders.
Here is a hypothetical example, with every figure invented for illustration. A store records 120 orders on Monday. Events Manager shows 104 Purchase events from the browser and 116 from the server. If deduplication works, most of the 104 browser events pair with a server event, and the unique purchases Meta keeps land close to 120. If the IDs never match, Meta keeps all 220, which is 100 purchases that do not exist. If a campaign's attributed purchases were inflated by the same ratio, a true 3.0 ROAS would read 5.5 (3.0 × 220 ÷ 120), and the bidding system would optimise towards numbers that are not real.
How do you fix broken deduplication?
Fixing broken deduplication means getting down to one sender per source and one shared ID per event, then checking the result. Work through it in this order:
- List every sender. Check the browser's network tab on the thank-you page for requests to Meta, then find the apps, tags and theme snippets behind them.
- Remove extra copies. Keep one setup; delete hard-coded pixel snippets and duplicate app settings.
- Align names and IDs. Standard event names on both sides; the order number for Purchase, one shared generated value for the rest.
- Send server events promptly, well inside 48 hours.
- Test. Place a real order, wait at least 20 minutes and read the Event Deduplication tab.
- Note the date. Purchases and ROAS will drop when the fix goes live, and nobody should read that as a performance problem.
What about offline events and other platforms?
Offline events and other platforms follow the same idea, one unique ID per real conversion, but with different fields and rules. Meta's server event parameters page lists action_source values such as physical_store, phone_call and system_generated for conversions that did not happen on the website. An in-store sale sent only from your server has no pixel copy, so there is nothing to deduplicate; Meta says advertisers who never send the same event through both tools do not need deduplication for those events. The risk is sending one online order twice, for example as a website Purchase and again in a CRM or offline upload. Keep each conversion on one route.
On other platforms, the field names change. Google Ads uses a transaction ID: its help page on using a transaction ID to minimise duplicate conversions says a second conversion with the same transaction ID for the same conversion action is not counted, though it does not resolve duplicate view-through conversions. TikTok and Snapchat each have their own browser and server ID fields, compared side by side in our Shopify server-side tracking guide. Per-platform deduplication is a separate issue from several platforms each claiming the same order, which our guide to platforms double counting conversions covers.
Where Wevion fits
Wevion does not install pixels, send Conversions API events or deduplicate them: that stays with your store integration, your tag manager or your developers. It helps you notice when the numbers stop adding up.
Wevion connects Meta, Google, TikTok, Snapchat, Taboola and Outbrain ad accounts through each platform's official API and syncs data about every 15 minutes, so the purchases and ROAS each platform reports sit side by side, and a Meta jump that no other platform shares stands out.
Wevion's Shopify app syncs orders, products, refunds and product costs for reporting; it does not send events to Meta. Profitability Analytics, in beta, shows orders, profit and POAS next to ad spend, the store-side figure to hold platform-reported purchases against. Automated rules can just notify you when ROAS or purchases cross a threshold you set, with a cooldown and a daily cap on runs.
You can try it on your own ad accounts with 14 days free on any plan, no card.
Key takeaways
- Meta event deduplication merges a pixel event and a Conversions API event that share the same event name and event ID within 48 hours of the first one.
- Use the order number as the Purchase event ID; for other events, generate one unique value per event and send it from both sides.
- The
fbporexternal_idfallback only works when the browser event arrives first, so treat it as a backup. - Most double counts come from a third sender, such as old theme code, a tag manager tag or another app, not from the main integration.
- Read the Event Deduplication tab: deduplication rate, key usage and overlap tell you which side is missing or mismatching the key.
- Compare Purchase events received in Events Manager with store orders before blaming attribution.
Explore more in
Ecosystem & Education
Read the curated pillar page with every guide in this topic, ordered from foundations to advanced.