Skip to main content
Sitecore → MetaIntegration guide

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

  1. 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.

  2. 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.

  3. 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.

  4. 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. 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. 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. 3

    The identifier is the bridge

    The fbc and fbp values, captured at the visit and carried into the Sitecore contact and order.

  4. 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. 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

  1. 01

    Count orders carrying the fbc and fbp values

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 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.

  5. 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.

Get my free conversion tracking audit

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.

Get my free conversion tracking audit

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.

Free · 30 min

Get Sitecore and Meta joined properly

Free30 minutesNo obligation