Meta Conversions API: what it is and how to set it up
Who this is for: a business that runs Meta Ads to a website or WhatsApp, has the Meta Pixel installed, and wants Meta to learn from every real lead.
The Meta Conversions API (CAPI) sends events such as a lead or a purchase from your server, CRM or app straight to Meta, not only from the browser. Meta recommends running it beside the Meta Pixel, sending each event both ways with the same event name and event ID, so Meta counts it once.
- Lead businesses and shops running Meta Ads with the Meta Pixel on the site
- Website, app, offline, CRM and WhatsApp events, from a server or platform
- The event name and event ID of the Pixel copy and the server copy
- Events Manager: Test Events, deduplication and Event Match Quality out of 10
What is the Meta Pixel?
Meta describes the Pixel as "a snippet of JavaScript code that allows you to track visitor activity on your website" (Meta for Developers). When a visitor does something you want to count, such as sending a form, the Pixel sends that event from their browser. The conversions then show in Ads Manager, where you can use them to measure your ads, build custom audiences and analyse your funnel.
Because the Pixel runs in the browser, it depends on the page loading and the request leaving the browser. Meta’s best practices page says the Conversions API lets you share website events "that the Pixel may lose due to network connectivity issues or page loading errors" (Meta for Developers).
What is the Meta Conversions API?
Meta says the Conversions API is "designed to create a connection between an advertiser’s marketing data" and Meta. That data can be website events, app events, business messaging events and offline conversions, sent from your server, website platform, app or CRM (Meta for Developers). Server events are linked to a dataset ID and processed like Pixel events, so Meta can use them for measurement, reporting and optimisation.
| Item | Meta Pixel | Conversions API |
|---|---|---|
| Runs in | The visitor’s browser | Your server, website platform, CRM or app |
| Sends | Website events as they happen in the browser | Website events, plus offline, CRM, app and WhatsApp events |
| Misses events when | The page fails to load or the request never leaves the browser | Your server or connector stops sending |
| Setup | Base code on every page, then the events | One click in Events Manager, a partner integration, or a direct build on your server |
| Counted once when | Paired with the server copy by event ID and name | Paired with the Pixel copy by event ID and name |
Do you need both the Pixel and the Conversions API?
Meta recommends both. Its best practices page asks you to "use the Conversions API in addition to the Meta Pixel, and share the same events using both tools", for example the same Contact or Purchase event from the browser and from your server.
The risk is double counting. Meta treats a pair as one event only when the Pixel’s eventID matches the server’s event_id and the event names match (Meta for Developers). It discards the later copy if both reach the same Pixel ID within 48 hours. If the two copies do not differ meaningfully, Meta says it generally keeps the one received first.
This is the first fault I look for: a Pixel that fires duplicate lead events on some forms and none on others, and a server connection with no matching event ID.
How do you set up the Meta Conversions API?
These are the steps Meta’s developer pages set out, in the order I follow them.
Pick a method
Meta says that if the Pixel is already on your website, you can set up the Conversions API for website events in one click from Events Manager, with no code. Other methods vary in effort, cost and features; Meta’s developer pages focus on direct integrations, where your server calls Meta’s endpoint.
Use the same Pixel ID
Meta asks you to use the same Pixel ID for browser and server events. The access token is generated in Events Manager, in the Settings tab of the Pixel.
Send the required fields
For website events Meta requires action_source, event_source_url and client_user_agent, and asks for external_id and event_id on every event. The event_time can be up to 7 days before you send it; one older event makes Meta reject the whole request.
Hash personal details
Meta requires email (em) and phone (ph) to be normalised and hashed; its examples use SHA256. Phone numbers must include the country code, with symbols and leading zeros removed.
Pair each event
Give the Pixel call and the server event the same event ID and the same event name, so Meta can deduplicate them.
Test before launch
Use the Test Events tool to confirm Meta received the server events and deduplicated them. Meta suggests testing with your own details, because test events that match no Meta account may be discarded.
Can you send the Conversions API through Google Tag Manager?
Yes, and it is the route I use. A Google Tag Manager server container runs on a server you control, not in the visitor’s browser (Google for Developers). The site sends the event to your container, and the container forwards it to Meta. My server-side tracking guide explains the container itself.
What is Event Match Quality, and how do you raise it?
Event Match Quality (EMQ) is a score out of 10 that Events Manager shows for each server event. Meta says it indicates "how effective your server event’s customer information may be at matching it to a Facebook or Meta account". Only matched events can be used for attribution and ad delivery optimisation; unmatched events still count in basic measurement.
- Send the customer details you hold with permission. Meta lists email, IP address, first and last name, and phone number as high quality examples.
- Keep fbp and fbc fresh. They are first-party cookie values set by the Pixel, and Meta says they are subject to change, so refresh them regularly.
- Avoid weak combinations. Meta treats an event as invalid if its only customer details are, for example, a first name and a gender.
Meta says EMQ is currently shown for web events only.
Can the Conversions API send CRM and WhatsApp outcomes?
Yes. Meta says the Conversions API supports offline events, such as store sales and phone calls, when action_source is set to the right value and not to website. Lead form outcomes from your CRM use Meta’s Conversion Leads integration, and outcomes inside WhatsApp chats from click to WhatsApp ads use the Conversions API for Business Messaging.
My offline conversion tracking guide covers both. The enhanced conversions for leads guide compares Meta’s CRM route with Google’s.
What goes wrong with the Conversions API?
These faults come from the rules and limits on Meta’s own pages.
- Different or missing event IDs, so one enquiry counts as two leads.
- The wrong event on the wrong page, such as AddToCart firing on the order confirmation page instead of Purchase.
- Events sent late. Meta rejects the whole request if any event_time is more than 7 days old.
- Personal details not hashed, or phone numbers without the country code, so events cannot be matched.
- Too few customer details, so the event is unmatched and cannot be used for optimisation.
The Meta Ads tracking and campaign errors guide and the post on duplicate CAPI leads go through each fault with the fix.
Check what your Meta account is learning from
If you are not sure what your Meta account is learning from, the Verified Lead Audit checks the events, the deduplication and the path to WhatsApp, and ends with your cost per qualified lead.
Questions about the Meta Conversions API
What is the Meta Conversions API?
What is the Meta Pixel?
Do I need both the Meta Pixel and the Conversions API?
How do I stop the Conversions API counting leads twice?
Does the Conversions API cost money?
How do I test the Conversions API?
What is a good Event Match Quality score?
Can I connect my CRM to the Meta Conversions API?
- Meta for Developers: Meta Pixel · read 23 Nov 2026
- Meta for Developers: Conversions API · read 23 Nov 2026
- Meta for Developers: Get started with the Conversions API · read 23 Nov 2026
- Meta for Developers: Conversions API best practices · read 23 Nov 2026
- Meta for Developers: Handling duplicate Pixel and Conversions API events · read 23 Nov 2026
- Meta for Developers: Server event parameters · read 23 Nov 2026
- Meta for Developers: Customer information parameters · read 23 Nov 2026
- Meta for Developers: Conversions API for Business Messaging · read 23 Nov 2026
- Meta for Developers: Conversions API for CRM integration · read 16 Nov 2026
- Google for Developers: An introduction to server-side tagging · read 23 Nov 2026
- Google for Developers: Set up server-side tagging with Cloud Run · read 23 Nov 2026
- Conversion tracking · Google and Meta Ads
- Guide · Server-side tracking
- Guide · Offline conversion tracking
- Guide · Enhanced conversions for leads vs Conversion Leads
- Guide · ChatGPT ads in the UAE
- Conversions API errors guide
- Duplicate Meta Conversions API leads
- Verified Lead Audit
- Meta Ads in Dubai
Tell me how your Meta events are set up today. I will tell you what I would check first.
Get a free website audit