AttriModel
BlogMeta Conversions API (CAPI) Setup Guide 2026
Meta Ads9 min read·June 19, 2026

Meta Conversions API (CAPI) Setup Guide 2026

The Meta Pixel alone is no longer enough. This guide shows you how to implement CAPI to recover lost conversions and improve Meta's optimization signals.

A

AttriModel Team

AttriModel Team

Why the Meta Pixel Alone Is Not Enough

iOS 14.5 changed everything. Apple's App Tracking Transparency framework, combined with browser-level ad blocking and Safari's ITP restrictions, means your Meta Pixel is missing a significant portion of conversions.

What Is the Conversions API?

The Meta Conversions API (CAPI) sends conversion events directly from your server to Meta — bypassing the browser entirely. When used alongside the Pixel, it gives Meta a more complete picture of who converts, improving campaign optimization and reported ROAS.

Deduplication: The Critical Step

Because events arrive from both the Pixel (browser) and CAPI (server), Meta needs to know which are duplicates. You must pass a consistent event_id from both sources.

`javascript

// Browser - Meta Pixel

fbq('track', 'Purchase', {value: 59.99, currency: 'USD'}, {eventID: 'order-123'});

// Server - CAPI (Node.js example)

const response = await fetch(

https://graph.facebook.com/v18.0/${PIXEL_ID}/events,

{

method: 'POST',

body: JSON.stringify({

data: [{

event_name: 'Purchase',

event_time: Math.floor(Date.now() / 1000),

event_id: 'order-123', // Same as browser event_id

user_data: { em: hashedEmail, ph: hashedPhone },

custom_data: { value: 59.99, currency: 'USD' }

}],

access_token: ACCESS_TOKEN

})

}

);

`

User Data: Hashing Requirements

Meta requires user data to be SHA-256 hashed before sending. Required fields:

  • Email (em)
  • Phone (ph)
  • First name (fn)
  • Last name (ln)

Implementation Options

GTM Server-Side: Use the Meta CAPI client in your server container. Best for teams already using sGTM.

Direct API Integration: Have your dev team add CAPI calls to your order confirmation webhook.

Partner Integrations: Shopify, WooCommerce, and most major platforms have native CAPI integrations — often the fastest option.

Testing Your Implementation

Use Meta's Test Events tool in Events Manager to verify:

  • Events arrive from both browser and server
  • event_id values match (deduplication working)
  • Match quality score is 6+ out of 10

What to Expect

Teams typically see a 15-30% increase in reported conversions after implementing CAPI. This represents previously uncounted conversions, giving Meta better signals to optimize your campaigns.

MetaCAPIPixelConversionsPrivacy