Connecting Contentful to Meta Conversions API
Contentful is headless content only — it has no checkout, no orders and no customers, which is the single most important thing to establish before anyone quotes for work. 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 front-end conversion, not a Contentful record 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
Contentful sites and Meta CAPI: fbc, routing and event_id
For Meta CAPI on a headless Contentful site, write _fbc from fbclid on the first request, server-side from the front-end host, and keep _fbp. Send events from commerce or CRM with the order or lead ID as event_id, shared with the pixel, plus saved client IP and user agent. Fire PageView or ViewContent on route changes; Contentful sends nothing.
For Meta on a headless Contentful site, the front end has three jobs the CMS cannot do: turn the fbclid on the landing URL into an _fbc value, keep _fbp alive, and hand both to the server that sends the Conversions API event. In a client-routed Next.js or Nuxt app the fbclid disappears after the first navigation, so _fbc has to be written on that first request. Setting it server-side from the front-end host also avoids Safari's cap on cookies written by script.
Send the server event from the commerce or CRM system that records the conversion, using the order or lead ID as event_id, and have the browser pixel fire the same event_id on the confirmation route. Include client_ip_address and client_user_agent from the original browser request; a backend webhook has neither unless the front end saved them with the order, and website events without them match noticeably worse.
The headless trap specific to Meta: the base pixel fires PageView once on initial load and not on route changes unless you call it on navigation, so audiences built from viewed content (a service page, a pricing entry) come out nearly empty. Fire PageView or ViewContent on each route change, with the Contentful content type as a custom parameter if you want audiences by content type. Nothing in Contentful should be sending events to Meta; it has no customer or order to send.
Contentful → Meta · what breaks
Why this join usually fails — Contentful → Meta
- 01
The fbc and fbp values never reaches Contentful
Because Contentful is headless, the front end is a separate application — usually Next.js, Nuxt or similar — and that application is where client-side routing, caching and identifier capture all actually happen. Attributing a tracking problem to Contentful is nearly always a misdiagnosis.
- 02
Blaming the CMS for a front-end problem
Headless setups fail at the front end — client-side routing that fires one pageview per session, an identifier lost on a route change — and the CMS gets blamed. Contentful is not in that path at all.
- 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.
Contentful → Meta · the fix
What working looks like — Contentful → Meta
The fbc and fbp values on every conversion
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
Contentful → Meta · architecture
How Contentful and Meta actually connect
- 1
Contentful holds the truth
Contentful stores content and serves it via API. The commercial record lives in your commerce platform, your CRM or your billing system, and that is where measurement belongs.
- 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 front-end conversion, not a Contentful record.
- 4
The event source decides reliability
Send from the system that holds the money. Contentful contributes the content layer and nothing to the conversion.
- 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.
Contentful → Meta · normal or broken
Working vs. broken, side by side — Contentful → Meta
Normal, not a fault
The fbc and fbp values present on the conversion
Sent from your commerce, CRM or billing system
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
Because Contentful is headless, the front end is a separate application — usually Next.js, Nuxt or similar — and that application is where client-side routing, caching and identifier capture all actually happen. Attributing a tracking problem to Contentful is nearly always a misdiagnosis.
Sent from the browser
Headless setups fail at the front end — client-side routing that fires one pageview per session, an identifier lost on a route change — and the CMS gets blamed. Contentful is not in that path at all.
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
Contentful → Meta · diagnose
Diagnostic order — Contentful → Meta
- 01
Count conversions carrying the fbc and fbp values
- 02
Follow one real conversion end to end
- 03
Establish which system holds the conversion before anything else
In a headless stack it is never the CMS, and starting there wastes the engagement.
- 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.
Contentful → Meta · prove
How it gets proven — Contentful → Meta
Source of truth
Whatever system takes the money — Contentful holds none of it.
- The fbc and fbp values confirmed present on a live conversion.
- Deduplication confirmed in Events Manager on a real purchase, with the browser and server events visibly paired rather than counted twice.
- The conversion confirmed sourced from the commerce or CRM system rather than from anything in the content layer.
Contentful → Meta · free audit
What we check in the free audit
- Count conversions carrying the fbc and fbp values
- Follow one real conversion end to end
- Establish which system holds the conversion before anything else
- Read Event Match Quality and the deduplication indicator
- Read the match rate, not the success message
Checked against
Whatever system takes the money — Contentful holds none of it.
Free30 minutesNo obligation
Contentful → Meta · when not to buy
When you don't need this — Contentful → Meta
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the fbc and fbp values.
- There is no Contentful-specific tracking build. The work is in your front-end framework and your commerce system, and we would say so rather than bill for the CMS.
- 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.
Contentful → Meta · what we deliver
What gets built — Contentful → Meta
Identifier capture into Contentful
Capture and persist the identifier in the front-end application, server-side, and carry it into whichever system records the conversion.
Event source: your commerce, CRM or billing system
Send from the system that holds the money. Contentful contributes the content layer and nothing to the conversion.
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 wherever the money lives.
Written guarantee
95%+ tracking accuracy
Measured against Whatever system takes the money — Contentful holds none of it.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Contentful → Meta questions, answered
Not one that would help with conversions: Contentful has no orders or leads to send. The Conversions API event belongs on your commerce or CRM side, using fbc and fbp captured by your front end.
Client-side routing never reloads the page, so the base pixel code runs once. Fire PageView from your router's navigation event.
Almost always because the fbc and fbp values never reached the front-end conversion, not a Contentful record. Because Contentful is headless, the front end is a separate application — usually Next.js, Nuxt or similar — and that application is where client-side routing, caching and identifier capture all actually happen. Attributing a tracking problem to Contentful is nearly always a misdiagnosis. 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, CRM or billing system. Send from the system that holds the money. Contentful contributes the content layer and nothing to the conversion.
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 Contentful → 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 Contentful → Meta fits in the rest of your tracking
- Meta · Local servicesMeta Ads conversion tracking for local service businesses
- Meta · B2BMeta Ads conversion tracking for B2B companies
- Meta × Ecommerce OrdersHow to reconcile Meta Ads against your store's order table
- Meta · Comparison page → demoHow to track comparison page visit to demo request for Meta Ads
- Webflow → MetaConnecting Webflow to Meta Conversions API
- Contentful → Google AdsConnecting Contentful to Google Ads
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Duda → MetaConnecting Duda to Meta Conversions API
Free · 30 min
Get Contentful and Meta joined properly
Free30 minutesNo obligation
