Facebook CAPI Double Counting Purchases? 5 Checks & Complete Deduplication Guide (2026)
CAPI & Architecture · 8 min read · June 2026
Experiencing Facebook CAPI double counting purchases? Run these 5 verified checks: master event_id pairing, verify server payloads, eliminate inflated ROAS, and achieve 95%+ match rates.
When setting up server-side attribution, the golden standard is to implement a hybrid tracking setup. This means you run both the traditional browser-based pixel (Meta Pixel) and the server-side Conversions API (CAPI) simultaneously. The browser pixel provides real-time, click-stream signals, while CAPI serves as the bulletproof backup when browser scripts are blocked or deleted.
However, sending two signals for a single conversion presents a major issue: double-counting. If a customer completes a purchase, Meta will receive a browser event and a server webhook event. Without proper event deduplication, Meta will report two sales in your Ads Manager, inflating your reported ROAS to a fake 200%+ and leading you to scale unprofitable campaigns.
Facebook CAPI Double Counting Purchases: What Checks Should I Run?
If you notice inflated purchase metrics or suspicious 2x conversion numbers in your Ads Manager, run through this 5-step diagnostic checklist immediately:
- Check 1: Verify Identical
event_id Between Browser and Server
Ensure that your client-side pixel call (fbq('track', 'Purchase', {...}, {eventID: 'order_1024'})) and your server CAPI payload send the exact same string value for event_id. If the browser sends a numeric timestamp or UUID while the server sends a Shopify order ID, Meta cannot link them and will record two purchases.
- Check 2: Match the Exact
event_name Casing
Both signals must share the identical event name casing. If the browser fires Purchase and the server webhook transmits purchase or OrderCreated, Meta's deduplication algorithm fails instantly.
- Check 3: Inspect Event Timestamp & Deduplication Window
Meta requires both browser and server payloads to arrive within a strict 48-hour deduplication window. If your server-side queue delays webhook processing beyond 48 hours, Meta treats the server event as an entirely separate transaction.
- Check 4: Audit Redundant Pixel Apps on Shopify
Shopify stores frequently suffer from "app collision"—running the native Shopify Facebook & Instagram app simultaneously with Google Tag Manager (GTM) or third-party attribution apps. This results in triple signals (two browser pixels + one server event). Audit your store theme and ensure only ONE primary integration fires browser events.
- Check 5: Inspect the Deduplication Overlap Rate in Meta Events Manager
Navigate to Meta Events Manager > Data Sources > Pixel/Conversions API > Overview. Select the Purchase event and review the Deduplication tab. A healthy hybrid integration demonstrates 90%+ deduplication overlap. If deduplication is under 50% or 0%, your event_id alignment requires immediate remediation.
How Meta's Deduplication Engine Works
Meta's servers automatically deduplicate matching events by inspecting two required parameters that must be identical in both payloads:
When Meta receives a browser event and a server event with the same event_name and event_id within 48 hours, it discards the server event and keeps the browser event (which has direct cookie history), or combines their attributes to enrich the user match. Only one purchase is counted toward your ad budget.
🔄 The Deduplication Rule: If Meta receives an event with event_id = shopify_1024 from the browser, and later receives event_id = shopify_1024 from the server, they are merged. If the server sends no ID, or a different ID, Meta counts it as two separate purchases.
Common Deduplication Pitfalls in Shopify Setups
In standard integrations, deduplication issues are common due to timing and code structure discrepancies:
- Asynchronous Timing: Server webhooks fire instantly upon order creation, while thank-you page browser pixels may lag by several seconds or fail to fire if the customer closes the tab quickly.
- ID Inconsistency: Using random client-side session IDs that are unreachable by server-side webhooks.
- Duplicate Apps: Multiple tracking snippets installed in
theme.liquid and checkout scripts.
GotTracked solves the deduplication challenge natively for Shopify merchants by anchoring the event_id to structural Shopify parameters rather than fragile browser cookies.
Frequently Asked Questions (FAQ)
What happens if I don't deduplicate Meta CAPI events?
When you run both a browser pixel and server-side CAPI simultaneously without deduplication, Meta counts both events, inflating your reported conversions by up to 100% and causing the ad optimization algorithm to train on false data.
How does Meta match browser and server events?
Meta matches events by event_name (e.g. 'Purchase') and event_id. If two events share the same name and ID within 48 hours, Meta merges them into a single record.
What is the best parameter to use for event_id on Shopify?
The best practice is to use the unique Shopify Order ID (or Checkout Token). It is unique per transaction and available both in the client thank-you page script and via Shopify backend webhooks.
Does double counting hurt ad campaign performance?
Yes. Over-reported conversions deceive Meta's automated bidding into overvaluing weak ad sets, leading to poor real-world profit margins and wasted ad budget.
GotTracked sets up in under 15 minutes and is free for the first 2,000 pioneer merchants.
Reclaim lost ad conversions. Direct server-side CAPI routing and first-party DNS proxies prevent tracking blocks, boosting merchant match rates by 30%.
Subscribe to get the latest attribution guides and product updates.
Try the Free Shopify ROAS & Ad Tracking Loss Calculator | Explore GotTracked Server-Side CAPI | View All Attribution Guides