Connecting Contentful to Amplitude
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. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the front-end conversion, not a Contentful record before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Contentful and Amplitude: content entries as event properties
To bring Contentful context into Amplitude, put the entry ID and content type on the page or content-view event your front end sends, as properties rather than event names. Hook page views into the router so client-side navigation is counted. Device ID comes from the SDK, user ID and revenue from your auth or payment system.
Amplitude is one of the few destinations where Contentful data is actually useful, because a cohort question like "do people who read the comparison guides retain better" needs to know which content someone saw. The workable pattern is to put the Contentful entry ID and content type onto the page or content-view event your front end sends, so analysis can group by content model rather than by URL, which changes every time an editor renames a slug.
Identity is not Contentful's concern. The device ID comes from the Amplitude SDK in your Next.js or Nuxt app, and the user ID comes from your auth or commerce system at signup or checkout. The failure specific to headless sites is the route change: if the SDK only fires on full page loads, a session that browses ten articles client-side records one view, and every content cohort is undercounted. Check that your page-view tracking hooks into the router.
Revenue still has to come from the system that takes payment, sent with the same user ID and Amplitude's price and quantity fields, so content cohorts can be valued. Keep entry IDs as properties rather than event names; one event per content type is manageable, one event per article is not. Preview and staging builds that read Contentful's preview API should send to a separate Amplitude project or not at all.
Contentful → Amplitude · what breaks
Why this join usually fails — Contentful → Amplitude
- 01
The user ID and device ID pair 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
Revenue events that carry no revenue
Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.
- 04
Nothing reconciles afterwards
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
Contentful → Amplitude · the fix
What working looks like — Contentful → Amplitude
The user ID and device ID pair on every conversion
Conversions arriving in Amplitude
The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.
Reconciled against the source
Contentful → Amplitude · architecture
How Contentful and Amplitude 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
Amplitude needs a click to match
Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.
- 3
The identifier is the bridge
The user ID and device ID pair, 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
Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.
Contentful → Amplitude · normal or broken
Working vs. broken, side by side — Contentful → Amplitude
Normal, not a fault
The user ID and device ID pair present on the conversion
Sent from your commerce, CRM or billing system
Deduplicated correctly
Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.
Reconciles with the source
Actually broken
The user ID and device ID pair 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
Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.
Nobody has reconciled it
Contentful → Amplitude · diagnose
Diagnostic order — Contentful → Amplitude
- 01
Count conversions carrying the user ID and device ID pair
- 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
Check a purchase event for the price and quantity fields specifically
Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.
- 05
Read the match rate, not the success message
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
Contentful → Amplitude · prove
How it gets proven — Contentful → Amplitude
Source of truth
Whatever system takes the money — Contentful holds none of it.
- The user ID and device ID pair confirmed present on a live conversion.
- Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
- The conversion confirmed sourced from the commerce or CRM system rather than from anything in the content layer.
Contentful → Amplitude · free audit
What we check in the free audit
- Count conversions carrying the user ID and device ID pair
- Follow one real conversion end to end
- Establish which system holds the conversion before anything else
- Check a purchase event for the price and quantity fields specifically
- Read the match rate, not the success message
Checked against
Whatever system takes the money — Contentful holds none of it.
Free30 minutesNo obligation
Contentful → Amplitude · when not to buy
When you don't need this — Contentful → Amplitude
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the user ID and device ID pair.
- 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 nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.
Contentful → Amplitude · what we deliver
What gets built — Contentful → Amplitude
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 Amplitude
The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.
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 → Amplitude questions, answered
Yes, as event properties on content-view events, alongside the content type. Entry IDs survive slug changes, which makes content cohorts stable over time.
Your front end is a single-page app and the SDK is only tracking full page loads. Hook page tracking into the router's navigation events; Contentful itself plays no part in it.
Almost always because the user ID and device ID pair 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.
Amplitude tracks both a device ID and a user ID and merges them when a user identifies. The merge rules decide who counts as one person, so a mistake here does not produce a small error — it changes every retention curve and cohort size in the account.
Your commerce, CRM or billing system. Send from the system that holds the money. Contentful contributes the content layer and nothing to the conversion.
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
More on Contentful → Amplitude
- Contentful → Google AdsConnecting Contentful to Google Ads
- Contentful → MetaConnecting Contentful to Meta Conversions API
- Contentful → GA4Connecting Contentful to GA4
RELATED GUIDES
Where Contentful → Amplitude fits in the rest of your tracking
- Umbraco → AmplitudeConnecting Umbraco to Amplitude
- Concrete CMS → AmplitudeConnecting Concrete CMS to Amplitude
- Sanity → AmplitudeConnecting Sanity to Amplitude
- Contentful → GA4Connecting Contentful to GA4
- Contentful → PostHogConnecting Contentful to PostHog
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Ghost → AmplitudeConnecting Ghost memberships to Amplitude
- Webflow → AmplitudeConnecting Webflow to Amplitude
Free · 30 min
Get Contentful and Amplitude joined properly
Free30 minutesNo obligation
