Meta Conversions API: setup, deduplication and Event Match Quality
By Naman Khetawat, 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.
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):
| Field | What it is |
|---|---|
| event_name | Standard event such as Purchase, Lead, AddToCart, or a custom name. Must match the pixel's name exactly for deduplication. |
| event_time | Unix timestamp in seconds. Can be up to 7 days old; if any event in a request is older, Meta rejects the whole request. |
| event_id | Unique ID shared with the pixel copy of the same event. Used for deduplication. |
| action_source | Where the conversion happened: website, app, physical_store, phone_call, chat, email, business_messaging, system_generated or other. |
| event_source_url | The page URL where the event happened. Required for website events. |
| user_data | Customer identifiers. Most are hashed with SHA-256; IP, user agent, fbp and fbc are sent as-is. |
| custom_data | value, 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" }
}]
}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.
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.
| Option | Best for | Effort | Watch out for |
|---|---|---|---|
| Meta-enabled Conversions API ("Set up with Meta" in Events Manager) | Websites with low server-event coverage and no developer | Very low: one click, no hosting, free | Web 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 platform | Low: connect and choose a data-sharing level | Limited control over which events and fields are sent; check the payload anyway |
| Conversions API Gateway | Sites that want server events without code, on infrastructure they control | Low to medium: runs in your AWS or GCP account, or through a partner | Mirrors pixel events; cost is cloud resources or partner fees |
| Signals Gateway | Businesses that want a self-hosted event pipeline feeding several destinations | Medium: self-provisioned server in your cloud | More to run and maintain; cloud resource fees |
| Server-side Google Tag Manager | Teams already on GTM that want one server container for Meta, Google, TikTok | Medium: server container, hosting, tag templates | Event ID must be generated once and shared with the browser tag |
| Direct API integration | Custom stacks, CRM or offline events, full control | High: developer work via the Graph API or Meta Business SDK | Hashing, 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.
Map events
List the conversions that matter (Purchase, Lead, CompleteRegistration) and where each is confirmed.
Choose a route
Partner integration, Gateway, server-side GTM or direct API.
Share an event_id
Generate one ID per event and send it from both pixel and server.
Add identifiers
Hash email, phone, name, location, external ID. Pass fbp, fbc, IP, user agent.
Send value
value and currency on purchases; consider margin-based values if you can.
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.
| Method 1: event_id (recommended) | Method 2: external_id and/or fbp | |
|---|---|---|
| Match on | Same event_name + same event_id (pixel: eventID) | Same event_name + same external_id and/or fbp, sent from browser and server |
| Window | Both copies received within 48 hours | Within 48 hours |
| Order of arrival | Either order | Generally only works when the browser event arrives first |
| Use when | Always, as the primary key | As 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.
Same event_name + same event_id = one counted conversion. Without a shared event_id, Meta can count the purchase twice.
- 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.
- Keep event names identical, including capitalisation.
Purchaseandpurchaseare different events. - 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.
Purchaseon one side andpurchaseor 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
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:
- Send every identifier you lawfully have: email, phone, first and last name, city, state, postcode, country and external ID.
- Normalise before hashing: lowercase and trim emails; phone numbers as digits with country code; no spaces or punctuation in postcodes.
- Capture and pass
fbc(from thefbclidclick parameter) andfbp; they are strong matching keys. - Send the real visitor's IP address and user agent, not your server's.
- 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?
- Open Test events. In Events Manager, select your dataset (pixel) and open the Test events tab. Copy the test code.
- Send a server test event. Add test_event_code to your server payload, or enable test mode in your partner integration or gateway.
- Complete a real test conversion. Place a test order or submit a lead form in a normal browser session so the pixel fires too.
- 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.
- Inspect the payload. Check that hashed identifiers, fbp, fbc, IP address, user agent, value and currency are present and correctly formatted.
- 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?
| Symptom | Likely cause | Fix |
|---|---|---|
| Purchases counted twice | No shared event_id, or IDs generated separately on each side | Generate one ID and send it from both |
| Server events not deduplicated | event_name differs in spelling or capitalisation | Use identical standard event names |
| Events rejected for time | event_time in milliseconds, or more than seven days old | Send Unix seconds; send events promptly |
| Low Event Match Quality | Only email sent, or identifiers not normalised before hashing | Add phone, name, location, external ID, fbp, fbc; normalise first |
| Poor matching despite many fields | IP and user agent hashed, or server IP sent | Send the visitor's IP and user agent unhashed |
| Value missing in reports | value without currency, or value sent as text with symbols | Send numeric value and ISO currency code |
| Events stopped arriving | Expired or revoked access token, or app permissions changed | Use a system user token; monitor Diagnostics |
| Test events in production data | test_event_code left in the payload | Remove 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
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.
| Platform | Server-side route | Dedup key | Click ID | Testing |
|---|---|---|---|---|
| Meta | Conversions API | event_name + event_id (or external_id/fbp), 48 h | fbclid → fbc | Test events (test_event_code) |
| Google Ads | Enhanced conversions (web and leads) | transaction_id per conversion action | gclid, gbraid, wbraid | Conversion diagnostics |
| TikTok | Events API | event_id shared with pixel, 48 h | ttclid | Test events in Events Manager |
| Conversions API | eventId shared with Insight Tag | li_fat_id | Payload builder | |
| Snapchat | Conversions API | event_id = pixel client_dedup_id, 48 h | ScCid → sc_click_id | test_event_code, validate endpoint |
| Conversions API | event_id, 48 h (first event kept) | epik / _epik cookie | test=true sandbox |
Official documentation for each:
- Google: About enhanced conversions, enhanced conversions for leads (imports now run through Data Manager; Google combined the web and leads settings in April 2026), and transaction IDs for deduplication. Google tag gateway serves the Google tag from your own domain; it is not a server-side conversions API.
- TikTok: About Events API and event deduplication ("You must share Event ID (event_id) as a parameter through both Pixel and Events API").
- LinkedIn: Conversions API and deduplication. When both arrive with the same
eventId, LinkedIn discards the Conversions API copy. Conversions must be within the past 90 days. - Snapchat: Conversions API parameters. Events cannot be more than 7 days old.
- Pinterest: Conversions API. Pinterest asks for near-real-time sending and keeps the first event of a duplicate pair.
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%).