What Is Event Deduplication?
Definition Event deduplication is the process an analytics or ad platform uses to recognise when the same action, such as a purchase or lead, has been reported more than once, and count it only once. It prevents double counting when the same event is sent from several sources, such as the Meta Pixel in the browser and the Conversions API from a server. |
In simple words: if two cashiers both ring up the same customer's order, the shop thinks it sold twice. Deduplication is the manager who checks the receipt number and crosses one out.
Why Duplicate Events Happen
Modern tracking often sends the same action through more than one route on purpose, so that if one route fails, the other still records it. The most common setup is:
Browser events: sent by a tracking tag such as the Meta Pixel or the Google tag, running in the visitor's browser.
Server events: sent directly from your website, store platform or CRM to the ad platform, for example through Meta's Conversions API.
Running both gives better coverage, because ad blockers, browser privacy limits and slow pages cause browser events to go missing. But it also means every successful purchase may arrive twice. Duplicates can also come from tags that fire twice, thank-you pages that reload, or two apps sending the same event.
How Event Deduplication Works on Meta
Meta deduplicates browser and server events by matching two values:
event_name: the name of the event, such as Purchase or Lead. It must be identical in both sources.
event_id: a unique ID for that single occurrence. In the Pixel it is passed as eventID, and in the Conversions API as event_id. The value must be exactly the same in both.
When Meta receives a browser event and a server event with the same event_name and event_id within 48 hours of the first one, it keeps one and discards the other. If the IDs differ, or one is missing, Meta counts both.
Choosing a good event_id
Use one ID per occurrence, such as the order number for a purchase or a lead ID for a form submission.
Generate the ID once and pass the same value to both the Pixel and the server request.
Do not create separate random IDs in the browser and on the server. They will never match.
Do not reuse one ID for different events, or genuine conversions may be discarded.
The fallback method
Meta can also try to deduplicate using event_name with the browser ID (fbp) or an external_id. This is weaker and only works when the browser event arrives before the server event, so treat it as a backup, not your main method.
Deduplication in GA4 and Google Ads
GA4 deduplication
GA4 deduplication for ecommerce relies on the transaction ID sent with purchase events (transaction_id). Google Analytics deduplicates purchase events that share the same transaction ID, so a reloaded confirmation page does not create a second sale. Two rules matter:
Always send a unique, non-empty transaction_id. If it is an empty string, GA4 will deduplicate all purchases with an empty ID together.
Do not reuse a transaction ID across different customers or orders.
Google Ads
Google Ads conversion tags can also use a transaction ID, often the order ID, so that the same purchase is not counted twice. For imported offline conversions, Google automatically deduplicates conversions that are uploaded again.
How to Measure Deduplication
A simple way to check whether deduplication is working is to compare platform counts with your own records.
Formula Duplication ratio = Platform-reported purchases ÷ Actual orders in your store or CRM |
Example: your store records 1,000 orders in a month. Meta reports 1,840 purchases. The ratio is 1.84, which strongly suggests most purchases are being counted twice. After fixing the event_id, Meta reports 1,020 purchases, a ratio of 1.02, which is within normal variation.
In Meta Events Manager, open the event details for Purchase or Lead to see the deduplication percentage, and check the Diagnostics tab for warnings about duplicate events with non-matching IDs.
How to Interpret Deduplication Results
Ratio close to 1.0: deduplication is working. Small differences come from attribution windows, returns and timing.
Ratio well above 1.0: events are being double counted. Check that event_id matches in both sources.
Ratio well below 1.0: events are missing, not duplicated. Check that both browser and server events are firing.
Only one connection method shown: if Events Manager shows only browser or only server for key events, you are not getting the coverage benefit of sending both.
Why It Matters
Double counting does more than inflate a report. When an ad platform thinks it drove twice as many sales, ROAS looks better than reality, budgets are scaled on false signals, and bidding algorithms learn from wrong data. Correct event deduplication keeps reporting honest and gives automated bidding accurate signals, while still letting you send browser and server events for the most complete tracking.
Best Practices
Send key events, such as Purchase and Lead, from both browser and server, with a shared event_id.
Use the order ID or lead ID as the event_id and transaction_id.
Keep event names identical across sources, including capitalisation.
Test with Meta's Test Events tool and GA4 DebugView before launching.
Compare platform purchases with store orders every week.
Avoid installing several apps or plugins that send the same event.
Common Causes of Duplicate Events
Cause | Fix |
|---|---|
Pixel and Conversions API use different event IDs | Pass the same event_id to both |
Two plugins or apps sending the same Pixel event | Keep one integration and remove the other |
Thank-you page reloads fire the purchase tag again | Use a transaction ID and fire the tag once per order |
Google tag and GA4 both installed twice in Tag Manager | Audit tags and remove duplicates |
Empty transaction_id in GA4 | Always send a unique order ID |
Related Terms
Meta Pixel: browser code that sends website events to Meta.
Conversions API: a server-side connection that sends events directly to Meta.
event_id: a unique identifier used to match the same event across sources.
Transaction ID: a unique order identifier used to deduplicate purchases in GA4 and Google Ads.
Event Match Quality: Meta's score for how well event data can be matched to accounts.
Frequently Asked Questions
- What is event deduplication?
- It is the process of recognising when the same event has been reported more than once and counting it only once, usually by matching an event ID or transaction ID.
- Do I need event deduplication if I only use the Meta Pixel?
- Deduplication between browser and server is only needed when you send events from both. But you should still prevent duplicate Pixel events, such as tags firing twice.
- What is the difference between event_id and transaction ID?
- event_id is used by Meta to match browser and server events. Transaction ID is used by GA4 and Google Ads to deduplicate purchases. Many stores use the order number for both.
- How long does Meta wait to deduplicate events?
- Meta deduplicates matching events received within 48 hours of the first one.
- How do I know if my events are duplicated?
- Compare platform-reported purchases with your actual orders, and check the deduplication information and diagnostics in Meta Events Manager.