Connecting Saleor to Meta Conversions API
Saleor is headless and GraphQL-first, which means the storefront and the commerce engine are separate applications and the identifier has to survive a boundary that traditional platforms do not have. Meta's pixel loses a large share of conversions to Safari, ad blockers and iOS, and the Conversions API exists because of it. The join between them succeeds or fails on one thing: whether the fbc and fbp values reaches the Saleor order before the conversion happens, because Meta can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Saleor to Meta CAPI: one event_id from storefront to webhook
Use the Saleor order number as the shared event_id: the storefront pixel fires Purchase with it, and the ORDER_FULLY_PAID webhook sends the server event with the same value. Store fbc, fbp, client IP and user agent in checkout privateMetadata, hash order email and phone, and send per-event currency. Test the Next.js confirmation route for double or missed fires.
Meta deduplication needs the same event_id on the pixel Purchase and the server Purchase, and on Saleor those two come from separate applications. The cleanest key is the Saleor order number: the storefront fires the pixel with it on the confirmation page, and the ORDER_FULLY_PAID webhook sends the server event with it. If the storefront fires before the order exists, use the checkout ID and send that same value from the webhook.
fbc and fbp go into the checkout's privateMetadata along with the client IP address and user agent the storefront saw, because the webhook runs on the server and knows none of them. Without them, Meta's match quality on server events from Saleor is poor. Hash the order email and phone from the API before sending.
Many Saleor storefronts are built on Next.js with route prefetching and client-side navigation, which can fire a pixel event twice on one page view or skip it on a soft navigation. Test the confirmation route specifically. Saleor channels with different currencies must send currency per event. Refunds cannot be sent to Meta as reversals, so reconcile reported Purchase value against paid orders net of refunds from the API.
Saleor → Meta · what breaks
Why this join usually fails — Saleor → Meta
- 01
The fbc and fbp values never reaches Saleor
The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.
- 02
A storefront that knows the click and an API that holds the money
Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.
- 03
Double counting from broken deduplication
Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.
- 04
Nothing reconciles afterwards
Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.
Saleor → Meta · the fix
What working looks like — Saleor → Meta
The fbc and fbp values on every order
Conversions arriving in Meta
Events appear in Events Manager with an Event Match Quality score, deduplicated against the pixel, and become usable for optimization and attribution.
Reconciled against the source
Saleor → Meta · architecture
How Saleor and Meta actually connect
- 1
Saleor holds the truth
In a headless setup the storefront is one of several possible clients. Attributing from it means measuring one channel of a system designed to have many.
- 2
Meta Conversions API needs a click to match
Meta matches server events to people using whatever identifiers you send, hashed with SHA-256 where required. There is no single mandatory key, which is why quality varies so much between implementations — a poorly matched event is accepted, reported, and worth much less than it appears.
- 3
The identifier is the bridge
The fbc and fbp values, captured at the visit and carried into the Saleor order.
- 4
The event source decides reliability
Send fully paid orders at their net total, sourced from the API.
- 5
Deduplication at the destination
Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.
Saleor → Meta · normal or broken
Working vs. broken, side by side — Saleor → Meta
Normal, not a fault
The fbc and fbp values present on the order
Sent from the Saleor order webhook
Deduplicated correctly
Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.
Reconciles with the source
Actually broken
The fbc and fbp values missing on most records
The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.
Sent from the browser
Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.
Counted twice, or not at all
Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.
Nobody has reconciled it
Saleor → Meta · diagnose
Diagnostic order — Saleor → Meta
- 01
Count orders carrying the fbc and fbp values
- 02
Follow one real conversion end to end
- 03
Inspect order metadata on a live order for the identifier
Either it is on the order or the attribution is guesswork. There is no middle state.
- 04
Read Event Match Quality and the deduplication indicator
In Events Manager, open the event and check both. A low match quality means weak identifiers; a missing deduplication indicator means your event_id pairing is broken.
- 05
Read the match rate, not the success message
Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.
Saleor → Meta · prove
How it gets proven — Saleor → Meta
Source of truth
Saleor orders by payment status, read from the API rather than inferred from the storefront.
- The fbc and fbp values confirmed present on a live order.
- Deduplication confirmed in Events Manager on a real purchase, with the browser and server events visibly paired rather than counted twice.
- Paid orders reconciled from the API against imported conversions.
Saleor → Meta · free audit
What we check in the free audit
- Count orders carrying the fbc and fbp values
- Follow one real conversion end to end
- Inspect order metadata on a live order for the identifier
- Read Event Match Quality and the deduplication indicator
- Read the match rate, not the success message
Checked against
Saleor orders by payment status, read from the API rather than inferred from the storefront.
Free30 minutesNo obligation
Saleor → Meta · when not to buy
When you don't need this — Saleor → Meta
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the fbc and fbp values.
- If you run a single storefront and no other clients, the added complexity of headless attribution buys you nothing over a standard integration.
- If you are not running Meta ads at meaningful spend, the Conversions API is effort without payoff. It earns its cost when the optimization signal is worth improving.
Saleor → Meta · what we deliver
What gets built — Saleor → Meta
Identifier capture into Saleor
Capture in the storefront and write the identifier into order metadata through the API at checkout, so it lives on the order rather than in a session.
Event source: the Saleor order webhook
Send fully paid orders at their net total, sourced from the API.
Dispatch to Meta
Server-side events to the Conversions API with the event_id matched to the pixel, action_source set correctly, and customer data hashed before it leaves your infrastructure.
Reversals where they exist
Refunds and cancellations reverse.
Written guarantee
95%+ tracking accuracy
Measured against Saleor orders by payment status, read from the API rather than inferred from the storefront.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Saleor → Meta questions, answered
The Saleor order number or checkout ID, sent identically from the storefront pixel and the server webhook.
The webhook lacks the browser data. Store fbc, fbp, IP address and user agent in checkout metadata so the server event can include them.
Almost always because the fbc and fbp values never reached the Saleor order. The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there. Measure coverage before debugging the dispatch.
Two things. The _fbc cookie, derived from the fbclid parameter on the landing URL in the format fb.1.<timestamp>.<fbclid>, is the click identifier. The _fbp cookie is the browser identifier. Beyond those, Meta matches on hashed customer information — email, phone, name, city, country — and every additional field raises the Event Match Quality score. Unlike Google, Meta does not need a click ID at all if the customer data is good, but match quality drops noticeably without it.
The Saleor order webhook. Send fully paid orders at their net total, sourced from the API.
Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.
More on Saleor → Meta
- Stripe → MetaConnecting Stripe to Meta Conversions API
- Toast → MetaConnecting Toast to Meta Conversions API
- Olo → MetaConnecting Olo to Meta Conversions API
RELATED GUIDES
Where Saleor → Meta fits in the rest of your tracking
- Meta · Furniture ecommerceMeta Ads conversion tracking for furniture ecommerce brands
- Meta · SupplementsMeta Ads conversion tracking for supplement brands
- Meta × Ecommerce OrdersHow to reconcile Meta Ads against your store's order table
- Meta · Add to cart → purchaseHow to track add to cart to purchase for Meta Ads
- EDD → MetaConnecting Easy Digital Downloads to Meta Conversions API
- Saleor → SnapchatConnecting Saleor to Snapchat
- Furniture ecommerceConversion tracking for furniture ecommerce, measured after delivery
- nopCommerce → MetaConnecting nopCommerce to Meta Conversions API
Free · 30 min
Get Saleor and Meta joined properly
Free30 minutesNo obligation
