Key facts
  • Meta deduplicates browser Pixel and Server CAPI events only when both transmit the exact same event_name and identical deterministic event_id within 48 hours.
  • Running Shopify's native Facebook channel alongside custom sGTM or a third-party app with different event_id formats double-counts revenue and breaks Advantage+ CPA learning.
  • Persisting _fbc and _fbp via first-party server cookies (e.g., Stape Cookie Keeper) defends against Safari ITP's 7-day client-side cookie cap.
  • Combining _fbc, _fbp, client_ip_address, client_user_agent, external_id, and SHA-256 normalized email/phone pushes Purchase and Lead EMQ above 8.5/10.
Core Engineering Rule

Meta only deduplicates browser Pixel and server CAPI events when both share the exact same event_name AND the exact same deterministic event_id within 48 hours. Mismatched IDs double-count conversions and cut reported CPA artificially in half while degrading real auction efficiency.

Meta CAPI EMQ Parameter Checklist (Target ≥ 8.5 / 10)

ParameterSHA-256 Hash?Normalization RuleEMQ Impact
em (Email)YesLowercase, trim whitespaceHigh
ph (Phone)YesDigits only with country code (no +, spaces, dashes)High
fbc / fbpNo (Plaintext)Preserve exact fb.1.<ts>.<fbclid> server-sideCritical
external_idYes (Recommended)Shared CRM Contact ID or Shopify Customer IDMedium–High
client_ip_address & client_user_agentNo (Plaintext)Exact visitor IPv4/IPv6 & browser UA headerHigh

Shared Deterministic event_id Pairing

// Browser Pixel:
fbq("track", "Purchase", { value: 420.00, currency: "USD" }, { eventID: "order_994182" });

// Server CAPI JSON (identical event_name + event_id):
{
  "event_name": "Purchase",
  "event_time": 1795641911,
  "event_id": "order_994182",
  "action_source": "website",
  "user_data": {
    "em": ["6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b"],
    "ph": ["d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35"],
    "fbc": "fb.1.1795641000.IwAR2ExampleClickId",
    "fbp": "fb.1.1795640000.9876543210",
    "client_ip_address": "203.0.113.42",
    "client_user_agent": "Mozilla/5.0 ..."
  }
}

Lifting Event Match Quality (EMQ) & Related Guides

Always persist _fbc and _fbp server-side (defending against Safari’s 7-day ITP limit), lowercase and trim emails prior to SHA-256, include country-coded phone digits, and pass external_id consistently on both browser and server hits. Validate your JSON hashes live in our Payload Validator, read our Meta CAPI Duplicate Events Teardown, or compare costs in Meta CAPI Repair Cost (2026). Primary technical docs: WebKit Tracking Prevention and Stape Cookie Keeper Documentation.

Technical FAQs

What causes Meta Events Manager to warn about duplicate Purchase or Lead events?
Duplicate warnings occur when your browser Pixel and server CAPI (or two overlapping apps like Shopify's native channel plus Elevar/sGTM) fire the same conversion with different event_id values or omit event_id on one side.
What Event Match Quality (EMQ) score should we target for Purchase and Lead events?
Target 8.5–9.3+ out of 10 on Purchase and Qualified Lead events where email and phone are present, and 6.5–7.5+ on top-of-funnel ViewContent/AddToCart events where only _fbc, _fbp, IP, and User-Agent are available.
Should we hash _fbc, _fbp, client_ip_address, or client_user_agent before sending to Meta CAPI?
No! Never SHA-256 hash fbc, fbp, client_ip_address, or client_user_agent; Meta requires those fields in plain text, while email (em), phone (ph), first/last name, city, state, zip, and country must be normalized and SHA-256 hashed.