What Is CAPI in Meta? The Server-Side Conversions API Explained
CAPI in Meta sends conversion events from your server so blocked cookies and iOS opt-outs don't erase them. Here's how event_id, deduplication and Event Match Quality work.

Key takeaways
- CAPI sends events from your server to Meta, so cookie blocks, ad blockers and browser privacy settings that silence the pixel don't apply, which is why Meta recommends running the pixel and CAPI together rather than picking one.
- Meta deduplicates a pixel event and a server event when both carry the same event_id, so a $97 purchase sent as abc-123 on both sides counts once, while a mismatch like abc-124 produces two rows in Events Manager for one sale.
- For Purchase events the working Event Match Quality target is 8.8 or above, and one advertiser test that moved EMQ from 8.6 to 9.3 reported 18% lower cost per acquisition ($42 to $35) and 22% higher ROAS.
- Hashing only matches when you normalize first: lowercase the email, strip spaces from the phone number, then hash with SHA-256, because a different format produces a different value than the one the pixel sends.
- Consent gates the send itself, and a 2026 German court ruling held that without user consent you must not fire CAPI, so validate a small set of three to five trusted events against your Stripe or CRM order count rather than chasing the score.
CAPI in Meta stands for Conversions API. It's a server-side connection that sends conversion events from your own server straight to Meta. The browser pixel doesn't have to report them. It runs alongside the Meta Pixel rather than replacing it. Meta recommends both. When the pixel and your server send the same event_id, Meta deduplicates the matching pair. The point is to keep conversion data arriving when cookie restrictions, ad blockers or iOS opt-outs stop the browser event.
This piece covers what a server event actually carries. It explains why the browser side broke in stages (iOS 14.5, cookie limits, ad blockers). It shows how event_id keeps one sale from being reported twice. You'll also see what Meta's 0 to 10 Event Match Quality score is really telling you. There's also the consent rule that decides whether an event leaves your server at all.
You'll finish with the three setup paths, from Meta's one-click option to direct API coding. There's also a checklist for validating your events against your own order numbers instead of Meta's score.
What Is CAPI in Meta? The Conversions API in Plain English
CAPI is short for Conversions API. It sends conversion data directly from your server to Meta without a browser or cookies, which is the whole idea in one sentence.
"Server-side" means the event is built and sent by code running on your server or platform, not by JavaScript in the visitor's browser. The data comes from records you already hold: an order in your store, a form submission in your CRM, an account upgrade in your app. The visitor's browser doesn't have to load, and a blocked cookie doesn't stop the event. The API call itself is free, and where the Facebook API does cost you money is App Review time, your server bill and the work of staying inside rate limits.
If you've seen the term before under a different name, that's why. Meta used to call this the Server-Side API and renamed it; the mechanism never changed. Same story with IDs: Meta merged website, app, offline and messaging events into one pipeline called a dataset, so what you knew as a Pixel ID now appears as a Dataset ID in Events Manager.
One thing worth getting straight early: CAPI is a delivery pipe, not a reporting tool. Server-side events link to Facebook Pixel events and process like browser pixel events, so they feed measurement, reporting and optimization the same way. CAPI changes how events reach Meta. It doesn't change how Meta counts or attributes them.
Meta Pixel vs CAPI: What Each One Sees, and Why You Run Both
The difference is where the event comes from, not what it says. The Pixel reports from the visitor's browser; CAPI reports from your server. Meta recommends running both, and you should, because they fail in different places.
A tracking pixel is code from a third-party provider that sits on your site and sends data about a visitor's activity back to that provider's server (OAIC). The Meta Pixel specifically is a JavaScript snippet that fires from the user's browser and relies on cookies and browser storage to track behavior across sessions (Cometly). That dependency is the whole weakness. Clear the cookie, block the script, tighten a browser privacy setting, and the event either never arrives or arrives stripped of identifiers.
CAPI sends event data straight from your server to Meta's servers, bypassing the browser entirely, so cookies, ad blockers and browser privacy settings don't apply (Cometly). Nothing loads in the visitor's browser, so nothing in the browser can stop it.
What each one can actually see is the more useful split:
| Meta Pixel | Conversions API | |
|---|---|---|
| Source | Visitor's browser | Your server |
| Fires | In real time, when the page loads | When your backend triggers it |
| Blocked by | Ad blockers, cookie limits, browser privacy settings | Nothing in the browser |
| Data it knows | Page views, clicks, form starts, in-session behavior | Order value, refunds, subscription renewals, offline status changes |
| Weak spot | Data loss before it ever sends | Needs a server or an integration to fire it |
The pixel sees things your backend never will: which page someone landed on, how long they stayed, that they started a form and quit. CAPI sees orders, refunds, cancellations and events that happen on pages the pixel never loaded, like a payment confirmation or a billing system update. You lose real information if you pick one.
Meta officially recommends running the Pixel and the Conversions API together rather than picking one (Cometly). The usual objection is double counting. It isn't a problem: Meta deduplicates events when both sources fire, so nothing's counted twice (LeadsBridge). The next section covers how that deduplication works via event_id.
Does the hybrid approach actually perform better? In one practitioner's A/B test, running Meta Pixel and the Conversions API together outperformed pure server-side tracking by a small margin (ConversionTracking.io). A single test, a small margin, so treat it as a nudge rather than proof. It does undercut the argument that a full server-side rebuild is the goal.
One thing to avoid: don't wait until CAPI is fully built to keep collecting browser data. A pixel that's installed and firing today gives Meta something to match against while you set up the server side. If you don't have one running yet, the steps for installing, verifying and deleting a Meta Pixel are covered side by side, including what does and doesn't cost money.
Why CAPI Exists Now: iOS 14.5, Ad Blockers and Blocked Cookies
Browser tracking broke in stages, and each stage removed events Meta needs to optimize delivery.
Apple went first. Starting with the release of iOS 14.5, iPadOS 14.5 and tvOS 14.5, every app has to request permission through AppTrackingTransparency before tracking a user or reading the device's advertising identifier. If the user says no, that identifier is set to all zeros and the app is not allowed to track them.
There's no clever substitute. Fingerprinting, which means collecting device and usage data to derive a unique representation of a user, is listed by Apple as a continued violation of the Apple Developer Program License Agreement. So the opt-out isn't a gap you can plug from the browser side.
Cookies and ad blockers take the rest. The net effect, per Cometly's writeup, is that browser-based Pixel tracking misses a significant share of conversions.
That last point is the one that hits your account numbers. Meta's ad system learns from the events you feed it, so when a browser event never arrives, delivery gets tuned on incomplete data. You usually see it as weaker optimization and a higher cost per result, on the same offer, the same creative and the same budget. If that pattern matches your dashboard, which signals survive after iOS 14 and how a server-side purchase pipeline rebuilds the missing purchases is the practical next read.
What CAPI Sends With Every Event: Events, Identifiers and Hashing
Every server event carries four things: an identifier Meta can match, a timestamp, the event name and value, and an event_id. Marketing API v13.0 and later enforces the customer information requirements. A payload without at least one usable identifier gets attributed to no one.
The identifier is where most setups break. Meta accepts identifiers such as a hashed email or a hashed phone number. It also accepts the browser and device signals the pixel sends. Send several and your match rate improves.
Hash normalized data, never raw data. Lowercase the email, strip spaces from the phone number, then hash with SHA-256. That's Meta's rule: normalize your data (lowercase emails, remove spaces from phone numbers) before hashing. Formatting decides the match. That's why tools normalize before hashing so the hashed value matches what the browser pixel produces. Format it differently and the same customer hashes to a different value. The other fields worth normalizing, and the order to fix them in, are covered in how to improve event match quality without collecting more data.
Two fields trip people up. Event Time is a Unix timestamp in seconds for when the event actually occurred. Facebook converts ISO 8601 timestamps to Unix for you. For website events the source URL is required and must begin with http:// or https:// and match your verified domain.
Then name the event (Purchase, Lead, AddToCart) and include a value where it applies. Set the event_id you'll compare against the pixel's copy later.
Run the funnel and the checkout in one system. The purchase event and its identifiers then come from the same source as the order. That takes most of this plumbing off your list. Sofunnels includes Meta CAPI and server-side Google tracking on Basic and Pro, alongside the checkout and upsells that generate the events.
Event Deduplication: How event_id Stops the Same Purchase Counting Twice
Deduplication is the part of Meta CAPI setup that decides whether one sale counts once or twice. The Event ID is any unique string that Facebook uses to deduplicate events sent by both the Pixel and the Conversions API, so the same value has to leave both your browser code and your server. When you're wiring that up yourself, the server-side walkthrough for deduplicating against the pixel you already run covers picking the ID and testing that the pair actually matches.

Say a buyer pays $97 at checkout. The pixel fires Purchase with eventID abc-123, your server sends Purchase with event_id abc-123. Meta matches the pair and reports one conversion. Change the server side to abc-124 and Events Manager shows two rows for one sale. That mismatch is the most common dedup failure you'll see.
Matching IDs don't merge the payloads. Meta's systems by documentation and public information do not merge deduplicated event information, so a field you send only from the server won't fill the gap on the pixel's copy. Send complete data on both sides.
Pick the ID at the source. A unique order number already works as the event_id, and the checkout passes that same value to the browser and the server.
Event Match Quality: What Meta's 0 to 10 Score Means
Event Match Quality is a metric in Facebook Events Manager that scores how well your server events match to Facebook users. The scale runs from poor to great. A high score means Meta is confident about which account an event belongs to. Your ads then reach the people who actually converted.
For purchase events, aim for 8.8 or above, because a higher score means better ad targeting and lower cost per result. Treat anything under that as a missing field to find, not a setup to rebuild.
Don't take the number as ground truth. Meta's documentation notes the metric is in development. Testing suggests it behaves more like a benchmark or an average across comparable setups than a measure of data accuracy.
18% lower cost per acquisition, from $42 to $35, when one advertiser moved EMQ from 8.6 to 9.3; ROAS rose 22% (ConversionTracking.io, citing an advertiser test)
Use it as a smoke alarm instead of a score to optimize. When a purchase event drops from 8.8 to 6, check identifiers first: a missing hashed email, or a missing event source URL. Fix that field and re-check the next day rather than chasing tenths of a point.
Consent and PII: What You Decide Before You Send Anything
Consent decides whether an event leaves your server at all. Which fields it carries is the smaller question. In 2026, a German court ruled that if a user has not given consent, you must not fire CAPI.
Consent still gets collected on your site or app. The restriction travels with the event. Turning on Data Processing Options makes your platform send Meta an array marking those events for processing with Limited Data Use restrictions.
Hashing is not anonymizing. That data still counts as personal information when the ad platform can match it to data it already holds. An IP address, URL information or a hashed email all qualify. The OAIC advises a data minimization approach: configure tracking to collect only what is reasonably necessary.
If a server event makes you uneasy, consider first-party data sent through direct channels like email, where the person clearly opted in. It's the more protective route.
How to Set Up Meta CAPI Without a Developer (and Check It Works)
You can get a working CAPI setup with no code at all, or with one integration. Choose the path that matches your stack. Then validate it against your own order numbers, not Meta's score.
Least effort: one-click CAPI in Events Manager. Meta launched a one-click setup inside Events Manager in April 2026. It needs no code and no maintenance. You connect your dataset, and Meta handles the rest, though it does not cover custom or offline events.
Mid effort: a platform or partner integration. On Shopify or WooCommerce, this is the standard path. It's one of the three main ways to implement the Conversions API, alongside direct API coding and third-party attribution tools.
Most effort: direct API coding. You need this for custom events from a checkout, upsell or app, where no integration knows your event names. Offline conversions no longer have a separate route. Meta shut down its standalone Offline Conversions API in May 2025, so offline events now go through the standard Conversions API.
If you'd rather not maintain an endpoint, Sofunnels builds the whole flow (pages, checkout, one-click upsells, follow-up emails). It sets up Meta CAPI and server-side Google tracking on Basic and Pro. Events come from the same flow the buyer went through.
Minimum viable event set: Lead, CompleteRegistration or Schedule if relevant, Purchase, and one event for upsell or order-bump revenue. Three to five events you trust beat fifteen you don't.
Don't validate with EMQ alone. Testing indicates you can raise the Event Match Quality score by sending more low-quality or fake data. A bug that sent the server's intermediary IP instead of the visitor's produced a very high score. And a lower-scoring method can still record more conversions.
- Pick a setup path: one-click, platform integration, or direct API
- Confirm which events you actually need (three to five, no more)
- Fire a test Purchase event and check deduplication works
- Export the same week's orders from Stripe or your CRM
- Compare order count against deduplicated Purchase events in Events Manager
- Fix any gap where events exceed real orders before scaling spend
Questions
Is Meta's Conversions API free to use?
Meta does not charge you for sending events through the Conversions API, and there is no per-event price. Your cost is the work around it: engineering time for a custom build, or a platform subscription if you use an integration instead. Ad spend stays separate and unchanged.
Can CAPI send offline orders, phone sales or events from a CRM?
Yes. Server events can come from any record your system already holds, including phone orders, CRM status changes and in-person sales. Meta retired its standalone Offline Conversions API in May 2025, so offline events now travel through the standard Conversions API with the same identifiers and hashing rules.
Does CAPI track checkout, order bumps and one-click upsells the same way?
Yes, as long as each one fires its own event with a name and a value. Checkout usually sends Purchase, while bumps and upsells send their own events or a value added to the order total. The work is naming them consistently on both the pixel and the server.
How long after setup should conversion counts and cost per result change?
Give it at least a week of real traffic before you judge it. Meta needs events to learn from, so counts often look flat for the first few days and then shift as delivery adjusts. Treat any specific timeline as an estimate, not a guarantee.
What is a dataset ID, and is it the same as a Pixel ID?
A dataset is Meta's single pipeline for website, app, offline and messaging events, and the Dataset ID is what Events Manager now shows where the old Pixel ID appeared. If you are hunting for a Pixel ID in the interface and cannot find it, that is why. The data is the same, just under one roof.
Sources
- Get ready for AppTrackingTransparency, Apple Developer (Apple Inc.)
- Tracking pixels and privacy obligations, Office of the Australian Information Commissioner (OAIC)
- Facebook Conversions API (Actions), Twilio (Segment documentation)
- Everything you need to know about Facebook Conversions API, LeadsBridge
- Meta Event Match Quality Score Explained, ConversionTracking.io
- 7 Proven Strategies to Master Conversion API vs Facebook Pixel Tracking, Cometly

