Meta Pixel and Conversions API: How Event Deduplication Works

Sending the same event from the browser and the server is useful only when Meta can tell that both copies describe one action.

By GrowthUper27 Nov 20262 min read

BrowserServerEvent IDMeta

Many stores send each purchase to Meta twice: once from the Meta Pixel in the browser and once from a server through the Conversions API. This gives Meta a second path when the browser event is lost. It also creates a risk of counting one order as two.

The problem: two IDs for one order

How double counting happens
Browser Pixel: PurchaseeventID: order-10482
Server: Purchaseevent_id: 10482
2purchases counted for 1 order
The two IDs describe the same order, but they are not the same text. Meta cannot match them.

What Meta compares

The recommended method uses two values. The event name sent by the Pixel must match event_name from the server. The Pixel’s eventID must match the server’s event_id. Meta treats matching events received within 48 hours of each other as one and keeps the first.

How to fix it

The correct setup
Browser Pixel: PurchaseeventID: order-10482
Server: Purchaseevent_id: order-10482
1purchase counted for 1 order
Same event name and same ID on both sides.

Add the ID to the browser event:

fbq('track', 'Purchase',
  { value: 42.50, currency: 'USD' },
  { eventID: 'order-10482' }
);

The server request for the same order then sends "event_name": "Purchase" and "event_id": "order-10482".

Choosing a good event ID

An order number works well for purchases because both the browser and the server already know it. For leads, create a unique ID when the form is submitted and pass it to both sides. Do not generate a separate random value in each place, because the two will never match.

  • Use identical event names on both sides.
  • Do not add a prefix on one side only.
  • Never reuse an ID for a different order.
  • Send server events promptly.

How to test

  1. Open Events Manager and start a test events session.
  2. Place a test order.
  3. Check that the browser and server events both arrive.
  4. Compare the two IDs character by character and confirm the events are shown as deduplicated.

Quick answers

Do I need deduplication if I only use the server?

Not for that event. It is needed when the same event is sent from both the browser and the server.

Should I switch the Pixel off after adding the Conversions API?

Not necessarily. Using both with correct deduplication gives each event two paths.

Meta documents the rules on its deduplication page. We set this up as part of our Conversions API service.

Keep reading

Not sure your numbers are right?

We check your tags, events and consent setup before changing anything.

Get Free Tracking Audit
Scroll to Top