Facebook Ads Agency Global journal

Stop double counting when browser and server events report the same sale

Running a browser pixel alongside server-side events can make conversion data more complete, but it creates a new risk: the same purchase reported twice. Meta's systems can deduplicate matching events, but only when the site sends the right information.

By Facebook Ads Agency Global editorial · · 1 min read

Rows of blue network cables connected to equipment in a dark rack
Scott Rodgerson

Send matching keys from both sides

The recommended method uses an event ID and an event name. The pixel's eventID must match the server event's event_id, and the pixel event name must match the server event_name. Each event should have its own unique ID: one order, one ID, used by both the browser and the server.

When the two copies arrive and do not meaningfully differ, Meta generally keeps the one received first. Matching events received within 48 hours of the first event with that ID are discarded.

Know the limits of the fallback

A fallback method uses the event name together with the browser identifier or an external ID. This only works when the browser event arrives first and the server event follows, and that it does not deduplicate when only one event source is used.

Events sent through only one channel do not need deduplication at all. The problem only appears when both channels report the same action.

Test before you trust the totals

Place a test order, confirm that the browser and server send the same event ID, and check that the order appears once in the event testing tools. Repeat after any change to the checkout, tag manager or e-commerce plugin, because updates often change how IDs are generated.

Compare platform conversion counts with your own order records over a week. A steady gap close to double usually points to a deduplication fault rather than a sudden jump in sales.

  • Generate one unique ID per conversion.
  • Send the same ID and event name from browser and server.
  • Prefer event ID matching over the fallback method.
  • Test with real checkout flows after every site change.
  • Reconcile reported conversions with your own orders.