Facebook Conversions API (CAPI) for online stores
Facebook CAPI: your Meta ads learn from every sale, not only the ones the pixel saw.
Facebook Conversions API (CAPI) for your store, with no code to write: AxiTrace sends every order from your server to Meta, with the hashed email and phone and the ad click Meta matches on. Your pixel stays, and each sale is counted once.
- All 9 platforms on every plan
- Free up to 10,000 visits a month
- No credit card
- Event Purchase a standard Meta event
- Order value value, currency from the order in your store
- Products bought content_ids, contents ids, quantities and prices
- Order number order_id
- Event id event_id same as your pixel
- Email em SHA-256 hash
- Phone ph SHA-256 hash
- Ad click fbc rebuilt from fbclid
- Browser fbp from the _fbp cookie
- Customer id external_id SHA-256 hash
- Page view PageView
- Product view ViewContent
- Add to cart AddToCart
- Checkout started InitiateCheckout
- Payment details AddPaymentInfo
- Order paid Purchase
Meta gets the sale from your server as its standard Purchase event, with the real order value and the products in it.
Five ways for Meta to recognise the buyer. The click cookie was gone by the day of the purchase, so AxiTrace rebuilt fbc from the ad click it had kept.
Meta also gets every step before the purchase, under its own event names, so campaigns can optimise for carts and checkouts as well.
What the Meta pixel misses
The Meta pixel reports only what the browser lets through.
The pixel runs in your buyer's browser. Some sales never leave it, and those that do often reach Meta without the click or the customer details it matches on.
-
up to 30%
of orders never reach the pixel
Ad blockers, Safari and consent banners cut the browser off before the purchase fires.
-
24 hours
is how long Safari keeps the click cookie after a Meta ad
The _fbc cookie holds the click on your ad. A buyer who pays two days later reaches Meta without the click that brought them in.
-
0 to 10
is how Meta scores the match quality of an event
A purchase with no email, phone or click id cannot be tied to a person. It scores low and teaches the algorithm next to nothing.
How it works with Meta
Sent from your server, matched, counted once.
AxiTrace takes each order your store recorded and sends it to your Meta dataset through the Conversions API, with everything Meta can match the buyer on. Your pixel's base code stays on the store: AxiTrace fires the browser events through it with the same event id as the server copy, so Meta keeps one purchase.
- The ad click, kept AxiTrace stores the fbclid of the ad click with the visitor. When the _fbc cookie is missing at the purchase, fbc is rebuilt from it.
- Hashed customer details Email and phone reach Meta only as SHA-256 hashes, together with fbp, a hashed customer id (external_id), the IP address and the browser.
- One event id eventID in the browser and event_id on the server hold the same value, so Meta pairs the two copies and drops the duplicate.
-
Browser pixel
no event id
event id
ord_10931 -
Server event
event id
ord_10931
2 purchases counted for one order
1 purchase counted for one order
Counted twice
Duplicate dropped
The platform cannot tell that both reports are one sale, so it counts two. ROAS in Ads Manager is inflated.
Both reports carry the same event id. The platform keeps one purchase, with the identifiers of both.
What changes
Meta finds more buyers. Ads Manager shows more of your sales.
Meta bids on the purchases it is told about, and on how surely it can tie each one to a person. Both improve when the order comes from your server.
-
Ad delivery
Campaigns learn from all your buyers
Every campaign optimised for purchases learns from the orders the pixel missed too. Meta looks for more people like your real customers, not like the part of them it happened to see.
-
Match quality
More purchases tied to a person
Meta scores each event from 0 to 10 on how well it can match it. An event with a hashed email, phone, fbc and fbp scores higher than what the pixel sends alone.
What Event Match Quality is -
Reports
Ads Manager counts each sale once
Purchases that never fired in the browser now show up in Ads Manager, and a sale reported by both pixel and server is merged into one.
Test your deduplication
~13%lower cost per result for advertisers who add the Conversions API to their pixel, according to Meta.
Setup
Two values from Events Manager, and Meta is connected.
-
Install the app or plugin
Shopify, WooCommerce, PrestaShop, Shopware, Magento or OpenCart. Any other store uses one 11 KB script or a GTM tag.
-
Paste your dataset ID and access token
Both come from Meta Events Manager: the ID of your dataset (pixel) and a Conversions API access token generated in its settings. The Test connection button checks them with Meta.
-
Watch your events arrive
Switch on Test mode with the code from the Test events tab and see each event land in Events Manager. Switch it off, and you are live.
The facts
The Meta Conversions API in AxiTrace, in short.
- Plan
-
All 9 platforms on every plan, Free included. A plan is sized by visits, not by events or by platforms.
See pricing - Events sent
-
The whole funnel under Meta's standard event names, plus Search and Lead where your store has them. You choose which ones are forwarded.
- PageView
- ViewContent
- AddToCart
- InitiateCheckout
- AddPaymentInfo
- Purchase
- Matched on
-
Hashed email and phone, the ad click, the browser id and a hashed customer id, with the IP address and the browser. Name, city, postcode and country are added, hashed, when the order has them.
- em
- ph
- fbc
- fbp
- external_id
- Deduplication
-
One event id on the pixel event and on the server event. Meta pairs two copies that arrive within 48 hours of each other and keeps one.
- Consent
-
An optional consent gate that reads Google Consent Mode v2 and TCF. A buyer who refused is never sent to an ad platform.
- Limits
-
Meta accepts an event up to 7 days old: an older one is not sent, and the Event feed says why. A click id older than 90 days is left out, and an event with nothing Meta could match is not sent at all.
- On Shopify
-
The purchase goes to Meta from the server only. An optional Custom Pixel adds the browser copy of page views, product views, carts and checkouts, with the same event id.
Read the Meta Pixel Bridge guide - For agencies
-
One login for every client store. With Manage access an agency connects Meta for each client, and the access token stays in that client's workspace.
Partner program for agencies - Your data
-
Stored in the EU, on Google Cloud in Warsaw, under a data processing agreement.
Frequently asked questions
Something else on your mind? Ask us directly
What is the Facebook Conversions API (CAPI)?
The Conversions API is Meta's way of receiving events from a server instead of from the buyer's browser. The Meta pixel is stopped by ad blockers, Safari's cookie limits and consent banners, which together hide up to 30% of orders from it. An event sent from your server arrives anyway, and it carries more of what Meta matches on: a hashed email and phone, the ad click and a customer id.
Do I keep my Meta pixel?
Yes, keep its base code on the store. AxiTrace fires the pixel's events through it, each with the same event id it sends from the server, so Meta counts every event once. Remove a second pixel plugin or a manual fbq('track') call that fires the same events: those copies carry no shared id and would be counted twice. On Shopify the purchase is sent from the server only.
How does AxiTrace raise Event Match Quality?
Event Match Quality is Meta's score from 0 to 10 for how well an event can be matched to a person. AxiTrace sends each event with a hashed email and phone, fbc, fbp, a hashed customer id, the IP address and the browser, and rebuilds fbc from the ad click when the cookie is gone. A store that sends one identifier from the browser typically sits between 4 and 6, and the full set sent from the server typically scores 8 or higher. Your own score is shown per event in Events Manager.
Which events does Meta receive?
The whole funnel under Meta's standard names: PageView, ViewContent, AddToCart, InitiateCheckout, AddPaymentInfo and Purchase, plus Search and Lead where your store has them. All are sent by default, and on the connection page you can untick the ones you do not want. On Pro and above your own custom events can go to Meta too, under a standard name or one of your own.
What do I need from Meta to connect it?
Two values from Events Manager: the ID of your dataset (pixel) and a Conversions API access token, generated in the dataset's settings. Paste both into AxiTrace and press Test connection. Before you go live, switch on Test mode with your Test Event Code and watch the events arrive in the Test events tab. AxiTrace never changes anything in your ad account.
Can an agency set up Facebook CAPI for its clients?
Yes. In the AxiTrace partner program an agency works in every client store from one login. With Manage access it connects Meta for a client with that client's dataset ID and access token, the token is stored in the client's workspace and shown to nobody, and the store owner gets an email when a platform is connected. The client can review or revoke the agency's access at any time.
Which plan do I need?
All 9 destinations are on every plan, including the Free plan with 10,000 visits a month and no credit card. Each eligible AxiTrace session counts as one visit, however many events or platform deliveries it generates, so the plan you need depends on your traffic, not on how many platforms you connect.
My store already sends Conversions API events. Why add AxiTrace?
A built-in integration sends one platform its own events. AxiTrace records each order once, from your store, and sends it to all 9 platforms with the same matching and the same event id. Then it does what no single platform will: it shows which campaign started the order, across Meta, Google Ads and TikTok, and what that campaign earned after costs.
Send Meta your next sale from the server.
Free up to 10,000 visits a month. Growth, Pro and Business are free for 14 days, with no card and no automatic charge.
An agency, or more than 3M visits a month? Talk to us
- Data stored in the EU
- GDPR, with a DPA
- On the Shopify App Store
- Plugin on WordPress.org
- In ChatGPT and Claude
Opening the demo...
The demo could not be opened. Try again in a moment.
Start Free