Connecting Contentful to Customer.io
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. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the front-end conversion, not a Contentful record before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Contentful and Customer.io: publish once, broadcast once
Contentful's real role in Customer.io is triggering new-content broadcasts, through a small service that records announced entry IDs, ignores republishes and filters by content type. Publish webhooks carry no person, so never send them as person events. Purchases come from your backend through the Track API, and the snippet must record route-change page views.
A real use for Contentful in Customer.io is announcing new content: publishing an article or a product page in Contentful triggers an API-triggered broadcast to a segment. The trap is that a Contentful publish webhook fires on every publish, including republishing a typo fix an hour later. Wired straight to the broadcast trigger, each correction sends the announcement to the whole segment again.
Put a small service between the webhook and Customer.io that records which entry IDs have already been announced and ignores republishes. Filter by content type too, so publishing a footer link or an author bio does not trigger anything. Test against a separate Customer.io workspace, because a broadcast trigger has no undo once it reaches real inboxes.
None of this is a conversion. The publish webhook carries no person, so it must never be sent as a person event. Purchases and sign-ups reach Customer.io from your commerce or product backend through the Track API. On the front end, the Customer.io JavaScript snippet must record page views on client-side route changes, or the page-view conditions in your campaigns only ever see the first page of each visit.
Contentful → Customer.io · what breaks
Why this join usually fails — Contentful → Customer.io
- 01
The person identifier you assign 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
A test event sending a real email
Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.
- 04
Nothing reconciles afterwards
Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.
Contentful → Customer.io · the fix
What working looks like — Contentful → Customer.io
The person identifier you assign on every conversion
Conversions arriving in Customer.io
The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.
Reconciled against the source
Contentful → Customer.io · architecture
How Contentful and Customer.io 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
Customer.io needs a click to match
Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.
- 3
The identifier is the bridge
The person identifier you assign, 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
Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.
Contentful → Customer.io · normal or broken
Working vs. broken, side by side — Contentful → Customer.io
Normal, not a fault
The person identifier you assign present on the conversion
Sent from your commerce, CRM or billing system
Deduplicated correctly
Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.
Reconciles with the source
Actually broken
The person identifier you assign 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
Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.
Nobody has reconciled it
Contentful → Customer.io · diagnose
Diagnostic order — Contentful → Customer.io
- 01
Count conversions carrying the person identifier you assign
- 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
Confirm which workspace you are writing to before sending anything
Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.
- 05
Read the match rate, not the success message
Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.
Contentful → Customer.io · prove
How it gets proven — Contentful → Customer.io
Source of truth
Whatever system takes the money — Contentful holds none of it.
- The person identifier you assign confirmed present on a live conversion.
- Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
- The conversion confirmed sourced from the commerce or CRM system rather than from anything in the content layer.
Contentful → Customer.io · free audit
What we check in the free audit
- Count conversions carrying the person identifier you assign
- Follow one real conversion end to end
- Establish which system holds the conversion before anything else
- Confirm which workspace you are writing to before sending anything
- Read the match rate, not the success message
Checked against
Whatever system takes the money — Contentful holds none of it.
Free30 minutesNo obligation
Contentful → Customer.io · when not to buy
When you don't need this — Contentful → Customer.io
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the person identifier you assign.
- 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 your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.
Contentful → Customer.io · what we deliver
What gets built — Contentful → Customer.io
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 Customer.io
The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.
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 → Customer.io questions, answered
Yes, through a webhook to an API-triggered broadcast, but put a filter in between so republishing the same entry does not send again.
Contentful fires a publish webhook on every republish, including small edits. Record announced entry IDs and ignore repeats.
Almost always because the person identifier you assign 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.
Customer.io identifies people by an ID you control, with email as a common choice. Anonymous events can be sent and later merged, but a mismatch creates a second profile — and a second profile means a second copy of every campaign that person is enrolled in.
Your commerce, CRM or billing system. Send from the system that holds the money. Contentful contributes the content layer and nothing to the conversion.
Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.
More on Contentful → Customer.io
- Stripe → Customer.ioConnecting Stripe to Customer.io
- PayPal → Customer.ioConnecting PayPal to Customer.io
- Shopify → Customer.ioConnecting Shopify to Customer.io
RELATED GUIDES
Where Contentful → Customer.io fits in the rest of your tracking
- Sanity → Customer.ioConnecting Sanity to Customer.io
- Statamic → Customer.ioConnecting Statamic to Customer.io
- Duda → Customer.ioConnecting Duda to Customer.io
- Contentful → Marketing CloudConnecting Contentful to Salesforce Marketing Cloud
- Contentful → BrazeConnecting Contentful to Braze
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Umbraco → Customer.ioConnecting Umbraco to Customer.io
- AEM → Customer.ioConnecting Adobe Experience Manager to Customer.io
Free · 30 min
Get Contentful and Customer.io joined properly
Free30 minutesNo obligation
