---
title: 'Meta CAPI Not Deduplicating Same event_id'
description: 'Why Meta Pixel and Conversions API fail to deduplicate even with the same event_id: event_name case, 48-hour window, missing fbp/external_id, and retries.'
canonical: 'https://plainrouter.com/library/meta-capi-same-event-id-not-deduplicating'
format: Guide
last_updated: '2026-11-24'
---

**Short answer:** Sending the same ` event_id ` on both Meta Pixel and Conversions API is necessary, but not sufficient. Meta only deduplicates two events when **all four conditions hold**: identical ` event_id `, identical **case-sensitive** ` event_name `, arrival within **48 hours** of the first event, and the same Pixel/Dataset ID (with matching user context such as ` fbp ` or ` external_id `).

If Events Manager shows both a ` Browser ` and ` Server ` event without a ` Deduplicated ` badge, check these five root causes.

## 1\. Mismatched \`event\_name\` casing or custom vs standard names

Meta's deduplication key is the pair ` (event_name, event_id) `, and ` event_name ` is **case-sensitive**. Firing ` Purchase ` from the browser Pixel and ` purchase ` (lowercase) or ` OrderCompleted ` from CAPI creates two separate events even with the exact same ` event_id `.

```javascript
// Broken: browser uses "Purchase", server uses "purchase", and eventID is nested inside custom_data
fbq('track', 'Purchase', {
  value: 79.0,
  currency: 'USD',
  eventID: 'order_1042' // WRONG: must be the 4th argument to fbq()
});
```

```javascript
// Fixed: 4th argument { eventID } on Pixel + exact same event_name & event_id on CAPI
fbq('track', 'Purchase', {
  value: 79.0,
  currency: 'USD'
}, {
  eventID: 'order_1042_purchase'
});
```

```json
// Matching CAPI server event
{
  "data": [
    {
      "event_name": "Purchase",
      "event_id": "order_1042_purchase",
      "event_time": 1732470000,
      "action_source": "website",
      "event_source_url": "https://example.com/checkout/thank-you",
      "user_data": {
        "em": ["973dfe463ec85785f5f95af5ba3906eedb2d931c24e69824a89ea65dba4e813b"],
        "fbp": "fb.1.1732469000000.1834267592",
        "external_id": ["e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"]
      },
      "custom_data": { "value": 79.0, "currency": "USD" }
    }
  ]
}
```

## 2\. Passing \`eventID\` inside the 3rd argument of \`fbq('track', ...)\`

This is the single most frequent Pixel bug. In Meta's ` fbq ` signature, the 3rd argument is ` custom_data ` and the **4th argument** is the options object ` { eventID } `. Putting ` eventID ` in the 3rd argument sends it as a custom parameter instead of the deduplication header (` eid ` query parameter on ` facebook.com/tr `).

Open Chrome DevTools Network, filter for ` facebook.com/tr `, and confirm the query string contains ` eid=order_1042_purchase ` (not ` cd[eventID]=... `).

## 3\. Generating \`crypto.randomUUID()\` separately on browser and server (or on retries)

If the browser generates a random UUID on the thank-you page while your Stripe or Shopify webhook generates its own UUID, the IDs never match. Worse, if your webhook retries after a timeout and creates a fresh UUID, your own server double-counts the purchase.

- Derive ` event_id ` deterministically from a stable business key shared by frontend and backend, such as ` purchase:${orderId} `.
- Check for hidden whitespace, numeric vs string casting (` 1042 ` vs ` "01042" `), or overlapping apps (such as Shopify's native Meta channel plus a custom GTM tag) firing a second Pixel event with a different ID.

## 4\. Exceeding Meta's 48-hour deduplication window

Meta deduplicates events received within **48 hours** of the first event with that ` (event_name, event_id) ` pair. If a queued batch job or delayed webhook sends the server ` Purchase ` 52 hours after the browser Pixel fired, Meta treats it as a new conversion. Send CAPI events in real time or within minutes of checkout.

## 5\. Missing shared user identifiers (\`fbp\` or \`external\_id\`)

Meta's Events Manager diagnostics also look for overlapping user keys across browser and server events (especially ` fbp ` and ` external_id `). If you accidentally SHA-256 hash ` fbp ` on the server while the Pixel sends it raw, or if you post to two different Dataset IDs, deduplication coverage drops. Read [Meta event\_id deduplication](</library/meta-event-id-deduplication>) and [fbp vs fbc vs fbclid](</library/fbp-fbc>) for the complete architecture.

## Verify deduplication with independent delivery receipts

Do not rely on Ads Manager totals alone to catch duplicate purchases. [Plainrouter Signals](</product/signals>) enforces idempotent ` event_id ` tracking and exposes first-party arrival vs Meta delivery receipts so you can confirm every order was counted once. See [verify Signals API ingestion](</docs/signals/verify-ingestion>).

## Frequently asked questions

### How do I check if Meta Pixel actually sent my eventID?

In Chrome DevTools Network, filter requests for ` facebook.com/tr ` and inspect the query parameters for your ` Purchase ` request. A valid deduplication ID appears as ` eid=<your_event_id> `. If you see ` cd[eventID] ` instead, you passed it in the 3rd argument instead of the 4th.

### Which event does Meta keep when browser Pixel and CAPI deduplicate?

Meta generally keeps the first event it receives (often the browser Pixel) and merges any additional ` user_data ` match keys from the deduplicated server event, preventing the conversion from being counted twice.

### Can I reuse the same event\_id across PageView, AddToCart, and Purchase?

Avoid reusing one ID across different event types. Even though Meta scopes deduplication by ` (event_name, event_id) `, using distinct deterministic keys like ` purchase:${orderId} ` and ` lead:${leadId} ` prevents accidental collisions and makes backend audit logs clear.
