Facebook Pixel + Conversions API: Deduplication Setup (2026)
If you run the Facebook Pixel and the Conversions API at the same time, every purchase, lead and signup arrives at Meta twice: once from the visitor’s browser, once from your server. Without deduplication, Meta counts both copies. Your Ads Manager shows double the conversions, your cost per result looks half of what it really is, and your optimisation is built on wrong numbers. This guide shows how deduplication works and how to set it up correctly.
What Deduplication Does
Deduplication is Meta’s way of recognising that a browser event and a server event describe the same action, and counting it once. The Pixel sends the event from the visitor’s browser. The Conversions API sends the same event from your server. Meta compares the two copies and keeps one.
You want both channels running. The Pixel has rich browser context — the page URL, the _fbp browser cookie and the _fbc click cookie — but it loses data: ad blockers stop it, browser privacy features limit its cookies, and a visitor who closes the tab before the tag finishes never gets counted. The Conversions API is not blocked by browser extensions and can include customer information collected at the moment of conversion, such as a hashed email from the form. Meta’s own guidance is to use both. The price of that redundancy is that most conversions now arrive twice, and the event ID is how Meta knows they are the same action.
How Meta Matches the Two Copies
Meta deduplicates a Pixel event and a Conversions API event when all of these are true:
- Same event name. The Pixel’s event name, such as Purchase or Lead, must match the server event’s event_name exactly. Case matters: Lead and lead are different events.
- Same event ID. The Pixel’s eventID must equal the server event’s event_id, character for character.
- Same Pixel. Both events must go to the same Pixel ID.
- Within 48 hours. The two copies must arrive within 48 hours of when Meta received the first event with that event_id. A server copy that arrives later than that is not matched, so do not batch server sends for days.
When the two copies do not differ in any meaningful way, Meta generally keeps the one it received first. If any of the four conditions fails, both copies count — and your numbers are wrong.
Setup: One Event ID, Generated Once
The whole setup comes down to one rule: create the event ID once, where the event is born, and hand the same value to the Pixel and to the server.
- Pick a value both sides already know. The safest source is your order ID or lead record ID. Meta says the event_id can be any unique string chosen by the advertiser, so something like purchase-100245 works. Generate it on the page at the moment the person acts, not separately on the server.
- Pass it to the Pixel as the fourth argument. In the fbq track call, the event ID goes in the options object, which is the fourth argument: fbq(‘track’, ‘Purchase’, {value: 129.00, currency: ‘USD’}, {eventID: eventId}). The event name is the first argument and must match the server side exactly.
- Send the same event_id from your server. The Conversions API event must carry the same event_id and the same event_name, sent to the same Pixel ID. Set event_time in Unix seconds to the real time of the action. It does not have to match the browser copy exactly, but it should reflect when the action actually happened.
- Use the same event name on both sides. Standard events such as Purchase, Lead, CompleteRegistration and AddToCart are the usual choices. Do not use a custom name on one side and a standard name on the other — they will never match.
- Include customer information on the server event. Add the hashed email, phone and other details you collected at conversion to the server event’s user_data. This is what the Event Match Quality score in Events Manager measures, on a scale out of 10, and it is how Meta matches the event to a person even when browser cookies are missing.
If you use Google Tag Manager, the usual pattern is to push the event with its event_id into the dataLayer on the page, then let the Conversions API tag forward that same ID to the server. The ID is created once, on the page, and every destination reuses it. Meta’s own deduplication guide is here: Handling Duplicate Pixel and Conversions API Events.
How to Check It Worked
- Use Test Events before you trust production traffic. In Events Manager, open Test Events and copy your test event code into the Conversions API tag. Then walk through the funnel in a normal browser window and complete a test conversion.
- Look for one conversion with two sources. Each conversion should show up from Browser and Server with the same event_id. If you see two separate rows for one action, the IDs do not match.
- Read the Event Match Quality score. Events Manager scores how well the customer information your server sends can match events to a Meta account. A low score usually means the server event is missing hashed email or phone.
- Watch the deduplication warning in Events Manager. If Meta sees the same event arriving from both channels without matching IDs, it flags it. Fix the ID mismatch, do not delete a channel.
What Not to Do
- Do not let each side invent its own ID. If the Pixel generates one ID and the server generates another, Meta has nothing to match on. One ID, created once, shared by both.
- Do not batch server events for more than 48 hours. The deduplication window is 48 hours from the first event with that event_id. A server copy sent three days later counts as a second conversion.
- Do not change the event name between channels. Purchase on the browser and purchase on the server are two different events to Meta. Match the name exactly, including capital letters.
- Do not rely on the fallback method. Meta documents a second method that matches on event_name plus fbp and/or external_id, but it generally only works for events sent first from the browser and then through the server. It is less reliable than a shared event_id, so treat it as a backup, not the plan.
- Do not “fix” double counting by turning the Pixel off. You lose the browser context — _fbp, _fbc, page URL — that helps Meta match events to people. Fix the IDs instead.
Read next: Events Manager: How to Check If Your Pixel Is Firing (2026)
Read next: Facebook Conversions API Setup (2026)
Read next: Facebook Attribution Settings: 7-Day Click vs 1-Day View (2026)
FAQ
How does Meta deduplicate Pixel and Conversions API events?
When the Pixel and the Conversions API send the same event with the same event name and the same event_id to the same Pixel ID, and both arrive within 48 hours, Meta keeps one and discards the other. In the Pixel the ID goes in the eventID option; on the server it goes in the event_id field.
Where should the event_id be created?
Once, where the event is born, on the page. The same value goes to the Pixel and to the dataLayer, and from there to the server. A good source is the order ID or lead record ID, which both sides already know.
What happens if the server event arrives more than 48 hours later?
It is not matched to the browser copy. Meta counts it as a second conversion, so your Ads Manager numbers are inflated. Send server events promptly and never batch them for days.
Can I deduplicate without an event_id?
Meta documents a fallback that matches on event_name plus the fbp browser ID and/or external_id, but it generally only works when the browser event is sent first and the server event follows. It is less reliable than a shared event_id, so check the results in Events Manager before relying on it.
How do I know deduplication is working?
Use Test Events in Events Manager with a test event code. Each conversion should appear once, with Browser and Server listed as its sources and the same event_id on both. Also check the Event Match Quality score, which is out of 10 for web events.
Need help with your Facebook Page, Business Manager or ad account? Order on our Shop and we will handle it: https://fixmybm.com/shop/
