What is the Conversions API (CAPI)?
CAPI gives you a different route to Meta from the one your Meta Pixel uses. Meta Pixel sends events from the visitor's browser, while CAPI lets you send them from your server, your website platform or a CRM system. So the difference lies in where the event comes from and how it reaches Meta.
You link events from your website to a data source at Meta, for example via a Pixel ID. Meta can then use server events in reporting and optimisation in the same way as browser events. So your Pixel ID can be part of the setup, even though the event itself doesn't come from the browser.
How do you use CAPI?
You start by choosing the events you want to send and the systems that record them. Then you choose an integration method. For example, you can use an integration via your website platform or set up a direct connection to Meta's API.
With a direct integration, you prepare the relevant data source and an access token. Your server typically sends a POST request to the API's /events endpoint with the parameters Meta requires for the event. You then check whether Meta receives it, and whether Meta can recognise two versions of the same event if you also send it via the Pixel.
Why should you use CAPI?
CAPI gives you an extra channel for sending events that your own systems record. In other words, you don't have to base your measurement only on what the browser sends. You can also combine events from several data sources through the API if you need to include more than the activity on your website.
In your paid social work, the data can feed into both reporting and ad optimisation. On its own, CAPI doesn't give you a more complete picture of your conversions. That depends on things like which events and parameters you send, and whether Meta can match them correctly.
Which variants of CAPI can you use?
You can combine CAPI and Meta Pixel in several ways. The key difference is whether you send the same event through both channels or give each channel its own job.
- Redundant setup. You send the same events via both the Pixel and CAPI. Meta recommends this model if you keep the Pixel and implement CAPI fully. You need to use the same event name and ID on both versions, so Meta can avoid counting them twice.
- Split setup. You divide the event types between the channels. For example, you can send page views via the Pixel and send purchases or leads via CAPI.
- Server-only. You send the events only via CAPI and don't use the browser Pixel to send them.
How do you use CAPI in practice?
This example from a webshop shows the difference between browser and server events:
Your order system records a purchase and sends a Purchase event to Meta via CAPI. At the same time, your Pixel can send an event for the same purchase from the browser. You give both versions the same event name, event_name, and the same persistent event ID, event_id. Meta can then recognise them as two versions of one purchase instead of counting two purchases. Meta calls this deduplication.
You can use the test events tool in Meta's Events Manager to check whether Meta receives your events. You can also see which channel they come from and check the status of matching and attribution. If you send the same event via both channels, you should also check that deduplication works.
What should you watch out for with CAPI?
You should distinguish between Meta receiving an event and Meta being able to match it or link it to an ad. A received event tells you the connection works for that event. On its own, it doesn't show that the rest of your measurement works. You can't count on a specific improvement in conversion tracking. Instead, assess your own setup using the relevant figures in event and ad reporting.
You should also keep CAPI separate from Google's solutions. Google Ads has Enhanced conversions, among other things, which supplements conversion tracking with first-party data such as email addresses or phone numbers in hashed form. Google also offers API-based conversion management. Neither of these is Meta's CAPI.