Skip to main content
MANTISAttribution infrastructure
ServicesResourcesAssessmentGet in touch
MANTIS

MANTIS: Measurement and Tracking Infrastructure SystemMeasurement and Tracking Infrastructure System

Tracking and attribution infrastructure for lead-gen businesses running Google and Meta ads, so your CRM, ad platforms and reports agree on the numbers.

Services

  • Tracking Audit
  • Tracking Architecture
  • Offline Conversions
  • Lead Automation
  • Audience Suppression

More

  • Assessment
  • Resources
  • Get in touch
  • Privacy Policy
© 2026 MANTISTracking & Attribution InfrastructureZagreb, Croatia
Resources/Meta Conversions API deduplication

Meta Conversions API deduplication

When the browser Pixel and the server Conversions API both report the same web action, Meta needs to recognise the two deliveries as one event. This guide covers how to set that up and test it. For why Meta and CRM counts differ, read the diagnosis article.

MANTIS · Last updated 24 November 2026

Key takeaways

  • Meta treats a Pixel event and a Conversions API event as one when both have the same event name and event ID and reach the same Pixel ID within 48 hours.
  • Create the event ID once, when the conversion is confirmed, and make both senders read the same value.
  • A retry reuses the original ID and event time; a separate conversion gets a new ID.
  • Deduplication and matching are different questions. Event Match Quality does not show whether duplicates were removed.

On this page

  • One conversion, two deliveries
  • Event source
  • Event ID rules
  • Read the pair
  • Deduplication vs matching
  • Diagnostic record
  • FAQ

How does Meta know a Pixel event and a CAPI event are the same conversion?

Both copies must reach the same Pixel ID with the same event name and the same event ID. Meta generally keeps the copy it receives first and discards a matching copy received within 48 hours of it.

Field
Browser Pixel
Server Conversions API
FieldEvent name
Browser PixelLead
Server Conversions APILead
FieldEvent ID
Browser Pixellead-7e2
Server Conversions APIlead-7e2
FieldSent after
Browser PixelConfirmed form success
Server Conversions APIAccepted lead saved
FieldEvent time
Browser PixelWhen the lead occurred
Server Conversions APIThe same moment, not the send time of a retry
FieldSource
Browser PixelPixel
Server Conversions APIAction source: website, with the page URL and the browser's user agent
FieldDestination
Browser PixelThe same Pixel or dataset ID
Server Conversions APIThe same Pixel or dataset ID

Use a unique ID for each real event.

Where the shared ID goes
// Browser Pixel: the ID is passed in the fourth argument
fbq("track", "Lead", {}, { eventID: "lead-7e2" });

// One event in the server request's data array: the same value, named event_id
{
  "event_name": "Lead",
  "event_id": "lead-7e2",
  "event_time": 1764000000,
  "action_source": "website",
  "event_source_url": "https://example.com/contact",
  "user_data": {
    "client_user_agent": "Mozilla/5.0 (...)"
  }
}

Meta requires event_source_url and client_user_agent for website events sent through the Conversions API. Meta's deduplication guide (opens in a new tab) also covers the image-tag and trackSingle variants.

Where should the event ID come from?

From one moment that confirms success, such as an accepted form response, created once and read by both the browser and the server.

Choose a signal that confirms success, such as an accepted form response or a completed order, not a button click. Note which system confirms it, the event name, the destination and the actual event time.

The event ID can be generated by the server on acceptance and passed to the page, or generated in the browser and passed to the server. Either works as long as the browser and server copies cannot diverge. If a web tag forwards the event to a server container, first verify that the browser request reached that endpoint.

When should you reuse or replace an event ID?

Reuse it for every copy and retry of the same conversion. Create a new one for every separate conversion.

Situation
ID rule
SituationBrowser and server copies of the same conversion
ID ruleSame event name, same ID
SituationA retry of a failed server send
ID ruleReuse the original ID and the original event time
SituationThe same person submits a second, separate enquiry
ID ruleNew ID
SituationA session or contact ID shared across separate submissions
ID ruleDo not use it as the event ID

Meta accepts an event_time up to 7 days before the event is sent. An older one causes an error for the whole request, so a retry queue cannot wait indefinitely.

How do you check deduplication in Events Manager?

Send one controlled conversion with a test event code, then check whether both copies arrived and whether Meta paired them.

Observation
Likely meaning
Check next
ObservationOnly the browser event arrives
Likely meaningThe server path is not sending, or not reaching the dataset
Check nextThe server endpoint, credentials and destination ID
ObservationOnly the server event arrives
Likely meaningThe Pixel is blocked, not firing, or sends to another dataset
Check nextPixel firing on the success state and the dataset ID
ObservationBoth arrive but are not paired
Likely meaningEvent names or IDs differ, or the two copies describe different actions
Check nextExact event name and ID in each payload, and retry behaviour
ObservationBoth arrive and are paired
Likely meaningThe mechanics work
Check nextIf counts still differ from the CRM, continue with the diagnosis article

In Events Manager, the Test Events tool gives you a code to send as test_event_code at the top level of the request, next to data. Remove it from production payloads.

Is deduplication the same as matching?

No. Deduplication decides whether two deliveries are one event. Matching decides whether an event can be connected to a person on Meta.

Deduplication asks

  • Do two deliveries represent one occurrence?
  • Answered by event name and event ID.

Matching asks

  • Do the permitted fields connect the event to a Meta account?
  • Answered by customer information parameters, with Meta's normalisation and hashing rules.

Event Match Quality, a score out of 10 that Meta gives web events, measures how well an event's customer information can be matched. It is not proof that the event fired at the right time or was deduplicated. Apply the consent and data-sharing decision to both browser and server paths.

What should you keep as evidence?

A redacted record of one test conversion: its source record, both payloads, any retries and what Events Manager showed.

  • The source record for one test conversion.
  • The Pixel payload and the server payload, side by side.
  • The retry count, if any.
  • The Events Manager evidence for that event.
  • Tokens and personal information removed from every screenshot and export.

Frequently asked questions

What is the event ID in Meta deduplication?

+

A unique value you assign to one conversion and send with both copies: as eventID in the fourth argument of the Pixel's fbq track call, and as event_id in the Conversions API. Meta uses it together with the event name to recognise duplicates.

How long does Meta deduplicate Pixel and Conversions API events for?

+

Meta discards a later copy that has the same event name and event ID and reaches the same Pixel ID within 48 hours of when Meta received the first.

Can Meta deduplicate without an event ID?

+

Meta describes an alternative based on the fbp browser ID or external_id, but says it generally only works when the browser event arrives first and the server event follows. A shared event ID is the more reliable method.

Why are my Pixel and server events not deduplicating?

+

Usually the event names or IDs differ between the two copies, the ID is generated twice, or the copies go to different Pixel IDs. Compare the two payloads for one test conversion.

Does a high Event Match Quality score mean deduplication works?

+

No. Event Match Quality rates how well customer information can match an event to a Meta account. It does not show whether two copies of the event were deduplicated.

Need help checking an event pair?

Share what your Pixel and server send for one test lead, and we can look at where the pair breaks.

Talk through your setupSee the tracking audit service

Not sure where the gap is yet? Take the short assessment.

Related reading

  • Why Meta shows more leads than your CRMThe diagnostic walkthrough for count gaps.
  • Why Meta and GA4 conversions don't matchThe by-design reasons the two tools disagree.
  • Server-side trackingHosting and routing choices for a server path.

Official documentation

  • Meta: handling duplicate Pixel and Conversions API events (opens in a new tab)
  • Meta: server event parameters (opens in a new tab)
  • Meta: using the Conversions API (Test Events) (opens in a new tab)
  • Meta: Conversions API documentation (opens in a new tab)