Tracking guide · updated November 2026

Meta Conversions API: setup, deduplication and Event Match Quality

By , Co-Founder, Balistro
Updated

What is the Conversions API?

The Meta Conversions API (CAPI) sends conversion events from your server or platform straight to Meta, alongside the browser pixel. Share an event_id between both so Meta counts each conversion once. Done well, it recovers events browsers lose and adds hashed identifiers that raise Event Match Quality.

Analytics dashboard on a laptop showing conversion charts, the data the Conversions API sends back to ad platforms
Server-side events fill the gaps browsers and ad blockers leave in pixel data.

What is the Meta Conversions API?

The Meta Conversions API is a direct, server-to-server connection between your marketing data and Meta. It lets you send web, app, CRM and offline events (purchases, leads, sign-ups, qualified opportunities) to the same dataset your pixel uses. Meta uses those events to measure ads, build audiences and optimise delivery.

The pixel is JavaScript in the visitor's browser. The Conversions API runs from a server you or your platform control. Meta's developer documentation recommends using both together, which it calls a redundant setup. In its April 2026 announcement, Meta said advertisers with a web Conversions API setup saw on average 17.8% lower cost per result (Meta's own figure; it gives no method).

Why does the Conversions API matter?

  • Browser events get lost. Ad blockers, browser tracking protection, slow-loading pages and closed tabs all stop pixel events from arriving. A server event does not depend on the browser.
  • Better matching. Your server knows the customer's email, phone and order details. Sent hashed, they help Meta match the conversion to the person who saw the ad.
  • Deeper funnel events. You can send events the browser never sees: a qualified lead from your CRM, a subscription renewal, a refund-adjusted order value.
  • Delivery depends on it. Meta's retrieval and ranking systems learn from the conversions you report. Our Andromeda guide explains why signal quality now matters as much as creative.

What does a Conversions API event contain?

Each event is a JSON object posted to the Graph API endpoint /{dataset_id}/events with an access token. The core fields (see Meta's server event parameters reference):

FieldWhat it is
event_nameStandard event such as Purchase, Lead, AddToCart, or a custom name. Must match the pixel's name exactly for deduplication.
event_timeUnix timestamp in seconds. Can be up to 7 days old; if any event in a request is older, Meta rejects the whole request.
event_idUnique ID shared with the pixel copy of the same event. Used for deduplication.
action_sourceWhere the conversion happened: website, app, physical_store, phone_call, chat, email, business_messaging, system_generated or other.
event_source_urlThe page URL where the event happened. Required for website events.
user_dataCustomer identifiers. Most are hashed with SHA-256; IP, user agent, fbp and fbc are sent as-is.
custom_datavalue, currency, content IDs, order_id and other event details.
POST https://graph.facebook.com/{api_version}/{dataset_id}/events
{
  "data": [{
    "event_name": "Purchase",
    "event_time": 1795564800,
    "event_id": "order_10482",
    "action_source": "website",
    "event_source_url": "https://example.com/checkout/thank-you",
    "user_data": {
      "em": ["<sha256 of normalised email>"],
      "ph": ["<sha256 of normalised phone>"],
      "external_id": ["<sha256 of your customer ID>"],
      "client_ip_address": "203.0.113.24",
      "client_user_agent": "Mozilla/5.0 ...",
      "fbp": "fb.1.1795564700000.1234567890",
      "fbc": "fb.1.1795564600000.IwAR..."
    },
    "custom_data": { "currency": "USD", "value": 84.00, "order_id": "10482" }
  }]
}
What goes into user_data
What goes into user_dataTwo columns. Left, hashed with SHA-256 after normalising: email, phone, first and last name, city, state, postcode, country and external ID. Right, sent unhashed: client IP address, client user agent, the fbp browser cookie and the fbc click ID cookie. More of both raises Event Match Quality.Hash with SHA-256em · emailph · phonefn / ln · namect / st / zp · city, state, postcodecountryexternal_id · your customer IDSend unhashedclient_ip_addressclient_user_agentfbp · browser ID cookiefbc · click ID cookieWebsite events must includeclient_user_agent andevent_source_url

Normalise before hashing (lowercase, trim spaces, phone with country code and digits only). Never hash IP, user agent, fbp or fbc.

How do you set up the Conversions API?

There are six routes in 2026. Pick the simplest one that sends the events and identifiers you need. Meta added the newest, a free one-click option, in April 2026.

Which Conversions API setup route should you use?
Which Conversions API setup route should you use?A decision tree. Question 1: is your store on a platform with a native Meta integration, such as Shopify? If yes, use the partner integration at maximum data sharing. If no, question 2: do you need CRM, offline or custom events, or one server feed for several ad platforms? If no, use Meta-enabled Conversions API (one click, free, web only) or the Conversions API Gateway. If yes, use server-side Google Tag Manager or a direct API integration, or Signals Gateway if you want a self-hosted pipeline to several destinations.Shopify, WooCommerce or anotherplatform with a Meta integration?Partner integrationset data sharing to MaximumNeed CRM/offline events, custom fields,or one feed for several ad platforms?Meta-enabled CAPIone click, free, web onlyor CAPI Gatewayno code, your cloudServer-side GTMor direct API integrationor Signals Gatewayself-hosted pipelineYesNoNoYes

Start at the top. The simplest route that sends the events and identifiers you need is the right one; you can move to a more flexible route later.

Conversions API setup options, November 2026
OptionBest forEffortWatch out for
Meta-enabled Conversions API ("Set up with Meta" in Events Manager)Websites with low server-event coverage and no developerVery low: one click, no hosting, freeWeb only and mirrors what the pixel sends; you cannot choose events or add CRM data
Partner integration (Shopify, WooCommerce, BigCommerce, Wix, CRMs)Stores on a supported platformLow: connect and choose a data-sharing levelLimited control over which events and fields are sent; check the payload anyway
Conversions API GatewaySites that want server events without code, on infrastructure they controlLow to medium: runs in your AWS or GCP account, or through a partnerMirrors pixel events; cost is cloud resources or partner fees
Signals GatewayBusinesses that want a self-hosted event pipeline feeding several destinationsMedium: self-provisioned server in your cloudMore to run and maintain; cloud resource fees
Server-side Google Tag ManagerTeams already on GTM that want one server container for Meta, Google, TikTokMedium: server container, hosting, tag templatesEvent ID must be generated once and shared with the browser tag
Direct API integrationCustom stacks, CRM or offline events, full controlHigh: developer work via the Graph API or Meta Business SDKHashing, retries, token management and API version updates are on you

Meta-enabled one-click Conversions API (April 2026)

On April 15, 2026 Meta announced a "Meta-enabled Conversions API setup": one click, "no technical expertise, no costs, no ongoing maintenance". Meta's developer docs call it "Conversions API with Meta". According to PPC Land, it sits under Events Manager → Connect data → Web → "Set up with Meta", works for website events only, and mirrors whatever the pixel sends. It is a sensible floor for small sites with no server events at all. It is not a replacement for a proper integration if you need CRM or offline events, purchase values from your backend, or identifiers the pixel never sees.

Conversions API Gateway vs Signals Gateway

Meta groups both under gateway products. The Conversions API Gateway is a self-serve, no-code option that sends pixel events server-side from infrastructure in your own cloud account (AWS or GCP), or through a partner that hosts it; Meta says its only cost is "the associated cloud resource or partner fees". Signals Gateway is broader: a self-hosted pipeline that receives events from several sources and sends them to several destinations, Meta included. Choose the Conversions API Gateway if Meta is the only destination; consider Signals Gateway if you want one first-party event pipeline you control.

Shopify

Install Meta's Facebook & Instagram app, connect your business assets and set customer data sharing to the highest level available ("Maximum") to enable server events. Then verify in Test events that purchases arrive from both browser and server and are deduplicated. Custom checkout apps and upsell tools can still send events the integration misses, so check those flows separately.

Server-side Google Tag Manager

The browser GTM container sends events to your own server container (on your subdomain), which forwards them to Meta, Google and others. Generate the event_id in the browser, pass it to both the pixel tag and the server request, and map it in the Meta CAPI tag. This route gives one place to manage all platforms and is how we usually build tracking for multi-channel accounts.

Direct integration

Your backend posts events when the order is confirmed, which is the most reliable source of truth. It is also the right route for CRM events, such as a lead becoming qualified or a deal closing, sent with an appropriate action_source.

Setup in six steps, whichever route you choose
  1. Map events

    List the conversions that matter (Purchase, Lead, CompleteRegistration) and where each is confirmed.

  2. Choose a route

    Partner integration, Gateway, server-side GTM or direct API.

  3. Share an event_id

    Generate one ID per event and send it from both pixel and server.

  4. Add identifiers

    Hash email, phone, name, location, external ID. Pass fbp, fbc, IP, user agent.

  5. Send value

    value and currency on purchases; consider margin-based values if you can.

  6. Test, then monitor

    Test events before launch; Diagnostics and EMQ after.

How does Conversions API deduplication work?

Deduplication is how Meta avoids counting one conversion twice when it arrives from both pixel and server. Meta's deduplication documentation describes two methods.

Meta's two deduplication methods
Method 1: event_id (recommended)Method 2: external_id and/or fbp
Match onSame event_name + same event_id (pixel: eventID)Same event_name + same external_id and/or fbp, sent from browser and server
WindowBoth copies received within 48 hoursWithin 48 hours
Order of arrivalEither orderGenerally only works when the browser event arrives first
Use whenAlways, as the primary keyAs a backstop if event_id is missing on some events

Meta's best-practice guide recommends an identical event_name plus either event_id or the external_id + fbp combination, and suggests sending all of them. On the pixel, eventID is the fourth argument of the fbq('track', …) call.

How browser and server events are deduplicated
How browser and server events are deduplicatedA purchase on your site produces two copies of the same event. The browser pixel sends one from the visitor's browser; your server sends one through the Conversions API. Both carry event_name Purchase and the same event_id, for example order 10482. Meta matches the pair and keeps one event, so the purchase is counted once while gaining the server copy's reliability and identifiers.Purchaseon your siteBROWSERMeta pixelPurchase · event_id 10482SERVERConversions APIPurchase · event_id 10482Metamatches thepair1 eventcounted

Same event_name + same event_id = one counted conversion. Without a shared event_id, Meta can count the purchase twice.

  1. Use an ID that both sides can know: the order number for purchases, or a random ID generated in the browser and passed to your server.
  2. Keep event names identical, including capitalisation. Purchase and purchase are different events.
  3. Check the deduplication view for each event in Events Manager. If server events are not being deduplicated, the most common cause is that the ID is generated twice, once on each side.

Why is my Conversions API not deduplicating?

  • Two different IDs. The browser and server each generate their own ID instead of sharing one.
  • Name mismatch. Purchase on one side and purchase or a custom name on the other.
  • Late server events. The server copy arrives more than 48 hours after the browser copy, for example from a nightly batch.
  • Fallback only. You rely on fbp/external_id, and the server event arrives before the browser event, so Meta keeps both.

What happens without deduplication

Reported conversions inflate, ROAS looks better than it is, and the delivery system optimises on wrong numbers. If your Meta-reported purchases are suddenly well above your store's order count after a CAPI launch, check deduplication first.

What is Event Match Quality and how do you improve it?

Event Match Quality (EMQ) is a score out of 10 that Meta shows for each server event, estimating how effectively the customer information you send can be matched to a Meta account. It appears in Events Manager on the event's detail view and, per Meta's best-practice guide, is currently available for web events only. Meta does not publish a universal target score.

To raise it:

  1. Send every identifier you lawfully have: email, phone, first and last name, city, state, postcode, country and external ID.
  2. Normalise before hashing: lowercase and trim emails; phone numbers as digits with country code; no spaces or punctuation in postcodes.
  3. Capture and pass fbc (from the fbclid click parameter) and fbp; they are strong matching keys.
  4. Send the real visitor's IP address and user agent, not your server's.
  5. Collect phone at checkout or on lead forms where it fits the experience; it is often the missing field.

In audits we often find integrations that were correct at launch but drifted: a new checkout, a theme update or a payment app removed fields while the connection still showed as active. Checking the raw payload is the only way to know.

How do you test the Conversions API?

  1. Open Test events. In Events Manager, select your dataset (pixel) and open the Test events tab. Copy the test code.
  2. Send a server test event. Add test_event_code to your server payload, or enable test mode in your partner integration or gateway.
  3. Complete a real test conversion. Place a test order or submit a lead form in a normal browser session so the pixel fires too.
  4. Check both sources and deduplication. Confirm the browser and server events arrive with the same event_name and event_id and that Meta marks them as deduplicated.
  5. Inspect the payload. Check that hashed identifiers, fbp, fbc, IP address, user agent, value and currency are present and correctly formatted.
  6. Go live and monitor. Remove the test code, then watch Diagnostics and Event Match Quality over the following days.

After launch, use the Diagnostics tab in Events Manager for warnings such as missing parameters, deduplication issues or invalid values, and compare Meta-reported purchases with your store or CRM weekly.

What are the most common Conversions API errors?

SymptomLikely causeFix
Purchases counted twiceNo shared event_id, or IDs generated separately on each sideGenerate one ID and send it from both
Server events not deduplicatedevent_name differs in spelling or capitalisationUse identical standard event names
Events rejected for timeevent_time in milliseconds, or more than seven days oldSend Unix seconds; send events promptly
Low Event Match QualityOnly email sent, or identifiers not normalised before hashingAdd phone, name, location, external ID, fbp, fbc; normalise first
Poor matching despite many fieldsIP and user agent hashed, or server IP sentSend the visitor's IP and user agent unhashed
Value missing in reportsvalue without currency, or value sent as text with symbolsSend numeric value and ISO currency code
Events stopped arrivingExpired or revoked access token, or app permissions changedUse a system user token; monitor Diagnostics
Test events in production datatest_event_code left in the payloadRemove it after testing

How does the Conversions API handle privacy and consent?

  • Consent still applies. If a visitor declines advertising cookies where consent is required, do not send their event server-side either. Wire your consent tool into the server route, not just the pixel.
  • Hashing is not anonymisation. SHA-256 hashed emails are still personal data under laws like GDPR. Cover them in your privacy policy and data processing terms.
  • Use data processing options where required. Meta's Limited Data Use option (data_processing_options: ["LDU"]) applies to certain US state privacy laws.
  • Send only what you need. No health details, financial account data or other sensitive categories in custom parameters or URLs.

Not legal advice

Privacy rules differ by country and change often. Have whoever owns privacy at your company sign off on what you send and when.

How do Conversions APIs compare across Meta, Google, TikTok, LinkedIn, Snap and Pinterest?

Every major ad platform now has a server-side route, and nearly all deduplicate the same way: a shared event ID between pixel and server. Google is the exception: enhanced conversions adds hashed first-party data to conversions rather than running a separate event stream, and it deduplicates on transaction ID. If you build server-side tracking once (for example in server-side GTM), generate one event ID per conversion and reuse it for every platform.

Server-side conversion APIs compared, checked against each platform's documentation in November 2026
PlatformServer-side routeDedup keyClick IDTesting
MetaConversions APIevent_name + event_id (or external_id/fbp), 48 hfbclid → fbcTest events (test_event_code)
Google AdsEnhanced conversions (web and leads)transaction_id per conversion actiongclid, gbraid, wbraidConversion diagnostics
TikTokEvents APIevent_id shared with pixel, 48 httclidTest events in Events Manager
LinkedInConversions APIeventId shared with Insight Tagli_fat_idPayload builder
SnapchatConversions APIevent_id = pixel client_dedup_id, 48 hScCid → sc_click_idtest_event_code, validate endpoint
PinterestConversions APIevent_id, 48 h (first event kept)epik / _epik cookietest=true sandbox

Official documentation for each:

On Google, smart bidding learns from these conversions, which is why we fix them first on Google Ads accounts; see how we run TikTok ads and LinkedIn ads too. Reddit and other newer ad platforms also offer conversion APIs; check their current docs before building, as field names change often.

Conversions API launch checklist

Use this before launch and again at each quarterly audit. Progress is saved in this browser only.

Conversions API launch checklist

0 of 14 checked (0%).

Events
Data quality
Testing and governance

Keep reading

Conversions API FAQ

What is the Meta Conversions API?

The Meta Conversions API (CAPI) is a server-to-server connection that sends conversion events, such as purchases and leads, from your server, website platform or CRM directly to Meta. It runs alongside the Meta pixel so conversions are still reported when the browser blocks or loses the pixel event.

Do I still need the Meta pixel if I use the Conversions API?

Yes, for websites Meta recommends a redundant setup: the pixel and the Conversions API sending the same events, with a shared event_id so Meta can deduplicate them. The pixel captures browser context and the server copy adds reliability and extra customer identifiers.

How does Conversions API deduplication work?

Meta supports two methods. The main one: send the same event_name and event_id on the browser and server copies (the pixel's eventID); if both arrive within 48 hours, Meta keeps one. The alternative: pass the same external_id and/or fbp from browser and server, which generally only works when the browser event arrives first. Meta's best-practice guide recommends sending all of them.

What is a good Event Match Quality score?

Event Match Quality is a score out of 10 that Meta shows in Events Manager for each web server event, indicating how well the customer information you send can be matched to Meta accounts. Meta does not publish a single target. Higher is better; improve it by sending more hashed identifiers (email, phone, name, location, external ID) plus fbp, fbc, IP address and user agent.

Is the Conversions API free?

Meta does not charge for the Conversions API. Since April 2026 Meta also offers a free one-click 'Meta-enabled' setup in Events Manager for websites, with no hosting. Other routes cost implementation: developer time for a direct integration, cloud or partner fees for the Conversions API Gateway or Signals Gateway, hosting for server-side Google Tag Manager, or a tool's fee.

How do I test the Conversions API?

Open Events Manager, choose your dataset, go to Test events and copy the test code. Send server events with the test_event_code parameter and complete a test purchase. Check that browser and server events both arrive, show as deduplicated, and carry the identifiers and value you expect. Remove the test code before going live.

Does the Conversions API get around cookie consent?

No. Server-side sending changes how data travels, not whether you are allowed to send it. If your consent banner or privacy law requires consent for advertising measurement, the server event must respect the same choice as the pixel. Hashing personal data is not anonymisation.

What is the Google, TikTok or LinkedIn equivalent of the Conversions API?

Google's closest equivalent is enhanced conversions (hashed first-party data added to conversions) plus enhanced conversions for leads, deduplicated by transaction ID. TikTok has the Events API, LinkedIn, Snap and Pinterest each have a Conversions API, and all of them deduplicate server events against their pixel with a shared event ID. The comparison table on this page links each platform's documentation.

Not sure your CAPI is sending what it should?

Book a free call. We will check your deduplication, Event Match Quality and payload, and tell you what is missing.