Skip to content

Meta Conversions API: what it is and how to set it up

By , Google and Meta Ads specialist, Dubai · Updated

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 short answer

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.

Reviewed 27 November 2026

At a glance

Who it is for
Lead businesses and shops running Meta Ads with the Meta Pixel on the site
What it sends
Website, app, offline, CRM and WhatsApp events, from a server or platform
Must match
The event name and event ID of the Pixel copy and the server copy
Check it in
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.

The Meta Pixel and the Conversions API, side by side
ItemMeta PixelConversions API
Runs inThe visitor’s browserYour server, website platform, CRM or app
SendsWebsite events as they happen in the browserWebsite events, plus offline, CRM, app and WhatsApp events
Misses events whenThe page fails to load or the request never leaves the browserYour server or connector stops sending
SetupBase code on every page, then the eventsOne click in Events Manager, a partner integration, or a direct build on your server
Counted once whenPaired with the server copy by event ID and namePaired 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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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?

It is Meta’s connection for sending events such as leads and purchases from your server, website platform, CRM or app to Meta, instead of only from the browser. Meta processes these server events like Pixel events, for measurement, reporting and optimisation.

What is the Meta Pixel?

Meta describes it as "a snippet of JavaScript code that allows you to track visitor activity on your website". It sends events such as a form or a purchase from the visitor’s browser to Meta, where they show in Ads Manager.

Do I need both the Meta Pixel and the Conversions API?

Meta recommends both, sending the same events from the browser and from your server. Each pair must share the same event name and event ID, or one enquiry can count twice.

How do I stop the Conversions API counting leads twice?

Send the same event_id from the server as the eventID in the Pixel call, with the same event name. Meta discards the later copy when both reach the same Pixel ID within 48 hours.

Does the Conversions API cost money?

Meta says sites with the Pixel can set it up for website events in one click from Events Manager, "with no code, configuration, or setup fees". A server container you run yourself has hosting costs; Google estimates about USD 45 a month per Cloud Run server in its example setup.

How do I test the Conversions API?

Use the Test Events tool in Events Manager. Meta says it shows whether your server events arrived, whether they were deduplicated, and any unusual activity. Test with your own details, because events that match no Meta account may be discarded.

What is a good Event Match Quality score?

The Meta pages I read give no target score.

Can I connect my CRM to the Meta Conversions API?

Yes, through Meta’s Conversion Leads integration for lead forms. Your CRM sends each lead stage back with the Meta Lead ID. My guide to enhanced conversions for leads vs Conversion Leads covers the requirements, including Meta’s guideline of at least 200 leads a month.

Tell me how your Meta events are set up today. I will tell you what I would check first.

Get a free website audit