মূল অংশে যান
Marketing & Ads• 6 min read

How to Fix Meta Ad Attribution with Server-Side Conversions API (CAPI)

Learn how server-side conversion tracking eliminates 30-40% lost data from iOS 14+ ad-blockers and improves your Facebook ROAS.

Arif Rahman • Head of Growth Engineering • Published

Why Browser Pixels Are No Longer Enough

For years, e-commerce stores relied solely on client-side JavaScript pixels to report purchases to Meta. However, with the rollout of iOS 14 App Tracking Transparency (ATT), Safari Intelligent Tracking Prevention (ITP), and browser ad-blockers, up to 40% of browser events are silently dropped before reaching Meta.

The Cost of Dropped Events

When Meta algorithms don't receive purchase feedback:

  1. Ad sets cannot optimize: Meta machine learning struggles to find high-intent buyers without accurate purchase signals.
  2. Reported ROAS drops: Your Facebook Ads Manager displays artificially low return on ad spend, leading to premature campaign shutdowns.
  3. Retargeting audiences shrink: Custom audiences for Abandoned Cart and ViewContent miss large portions of real traffic.

The Solution: Server-Side Conversions API (CAPI)

Onescle implements a dual-layer tracking pipeline. When a shopper places an order:

  • The browser triggers a standard Pixel event with a unique event_id.
  • Simultaneously, our backend NestJS server dispatches a verified Purchase event to Meta Graph API with the identical event_id.
  • Meta automatically deduplicates both signals over a 48-hour window, giving you 100% data fidelity.

Key Takeaways for Merchants

  • Always pair browser + server events with matching event IDs.
  • Transmit rich hashed customer parameters (phone, city, country) to maximize Meta match quality scores.
  • Ensure zero latency by using background event queues like RabbitMQ.
  • Meta CAPI
  • Facebook Ads
  • Conversion Rate
  • Attribution