Connecting Sitecore to Meta Conversions API
Sitecore is enterprise digital experience software with its own personalisation and analytics stack, which frequently competes with rather than complements the measurement you are trying to build. 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 Sitecore contact and 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
Sitecore to Meta: capture fbclid past the CDN cache
Sitecore caching breaks server-set _fbc cookies on cached pages, so capture fbclid at the edge or with a small first-party script. Send Purchase, or Lead for Sitecore Forms, from the commerce or CRM layer with fbc, fbp, hashed email and the order or submission ID as shared event_id. Never send Sitecore goals or xDB events; gate everything on consent.
The Sitecore-specific way Meta tracking breaks is caching. If you capture fbclid server-side and set _fbc in a Set-Cookie header from the Sitecore application, any page served from the CDN or Sitecore's output cache never runs that code. Visitors landing on a cached campaign page get no cookie. Capture at the edge, or in a small first-party script that reads fbclid from the URL, and make sure the CDN does not strip query strings before the page sees them.
Send Purchase (or Lead for Sitecore Forms submissions) from the commerce or CRM layer that holds the order, carrying the fbc, fbp and hashed email captured on the site. Use the order or form submission ID as event_id, shared with the pixel. Do not wire Sitecore's own goals or xDB interaction events to Meta. They exist to drive personalization, and many of them fire on engagement that is not a conversion.
Enterprise Sitecore sites usually run a consent management platform and several country sites. Gate both the pixel and the server event on the same consent signal, and confirm each country site sends to the right dataset. A shared pixel across regional sites without a site parameter makes Meta's numbers impossible to reconcile against regional order data.
Sitecore → Meta · what breaks
Why this join usually fails — Sitecore → Meta
- 01
The fbc and fbp values never reaches Sitecore
Sitecore's personalisation can vary page output per visitor, its analytics identity model is separate from any ad platform's, and enterprise deployments sit behind multiple caching and CDN layers.
- 02
Two analytics systems answering different questions
Sitecore's experience analytics and your ad platform reporting will never agree because they measure different things. Trying to reconcile them wastes weeks.
- 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.
Sitecore → Meta · the fix
What working looks like — Sitecore → 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
Sitecore → Meta · architecture
How Sitecore and Meta actually connect
- 1
Sitecore holds the truth
Sitecore's experience database tracks contacts and interactions for personalisation. It is not a conversion source for ad platforms and its numbers will not match theirs, by design.
- 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 Sitecore contact and order.
- 4
The event source decides reliability
Send from the commerce layer. Sitecore's own goal and event tracking serves personalisation and should not be wired to ad platforms.
- 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.
Sitecore → Meta · normal or broken
Working vs. broken, side by side — Sitecore → Meta
Normal, not a fault
The fbc and fbp values present on the order
Sent from your commerce system's order event
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
Sitecore's personalisation can vary page output per visitor, its analytics identity model is separate from any ad platform's, and enterprise deployments sit behind multiple caching and CDN layers.
Sent from the browser
Sitecore's experience analytics and your ad platform reporting will never agree because they measure different things. Trying to reconcile them wastes weeks.
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
Sitecore → Meta · diagnose
Diagnostic order — Sitecore → Meta
- 01
Count orders carrying the fbc and fbp values
- 02
Follow one real conversion end to end
- 03
Separate Sitecore's personalisation analytics from conversion measurement
They are different systems for different purposes. Conflating them is the standard mistake in this stack.
- 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.
Sitecore → Meta · prove
How it gets proven — Sitecore → Meta
Source of truth
Your commerce or CRM system — Sitecore's own analytics database answers a different question.
- 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.
- Conversions confirmed sourced from the commerce system rather than from Sitecore's experience database.
Sitecore → 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
- Separate Sitecore's personalisation analytics from conversion measurement
- Read Event Match Quality and the deduplication indicator
- Read the match rate, not the success message
Checked against
Your commerce or CRM system — Sitecore's own analytics database answers a different question.
Free30 minutesNo obligation
Sitecore → Meta · when not to buy
When you don't need this — Sitecore → Meta
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the fbc and fbp values.
- If your Sitecore implementation is content-only with commerce elsewhere, work at the commerce layer entirely.
- 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.
Sitecore → Meta · what we deliver
What gets built — Sitecore → Meta
Identifier capture into Sitecore
Capture the identifier server-side in the application and persist it to the commerce order, keeping it separate from Sitecore's own contact identity model.
Event source: your commerce system's order event
Send from the commerce layer. Sitecore's own goal and event tracking serves personalisation and should not be wired to ad platforms.
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
Handled at the commerce layer.
Written guarantee
95%+ tracking accuracy
Measured against Your commerce or CRM system — Sitecore's own analytics database answers a different question.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Sitecore → Meta questions, answered
If the cookie is set server-side by the application, cached pages served by the CDN never run that code. Capture fbclid at the edge or in a first-party script.
No. Send orders or form submissions from your commerce or CRM system. Sitecore goals serve personalization and include engagement that is not a conversion.
Almost always because the fbc and fbp values never reached the Sitecore contact and order. Sitecore's personalisation can vary page output per visitor, its analytics identity model is separate from any ad platform's, and enterprise deployments sit behind multiple caching and CDN layers. 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.
Your commerce system's order event. Send from the commerce layer. Sitecore's own goal and event tracking serves personalisation and should not be wired to ad platforms.
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 Sitecore → Meta
- Meta · Lead → booked callHow to track lead to booked call for Meta Ads
- Meta · Booked call → closed wonHow to track booked call to closed won for Meta Ads
- Meta · Free trial → paidHow to track free trial to paid for Meta Ads
RELATED GUIDES
Where Sitecore → Meta fits in the rest of your tracking
- Meta · Local servicesMeta Ads conversion tracking for local service businesses
- Meta · SaaSMeta Ads conversion tracking for SaaS companies
- Meta × CRM DealsHow to reconcile Meta Ads against your CRM's closed-won deals
- Meta · Lead magnet → saleHow to track lead magnet to sale for Meta Ads
- Statamic → MetaConnecting Statamic to Meta Conversions API
- Sitecore → TikTokConnecting Sitecore to TikTok Events API
- EcommerceConversion tracking for ecommerce brands, measured against your orders
- Umbraco → MetaConnecting Umbraco to Meta Conversions API
Free · 30 min
Get Sitecore and Meta joined properly
Free30 minutesNo obligation
