Connecting Contentful to Marketo
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. Marketo scores leads rather than counting conversions, which means what you send it does not report a number — it changes who your sales team calls tomorrow. The join between them succeeds or fails on one thing: whether the lead record, keyed on email reaches the front-end conversion, not a Contentful record before the conversion happens, because Marketo can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Contentful and Marketo: gated content, SPA routing and Munchkin
On a Contentful site, the Marketo conversion is a form fill, through Marketo's embedded form or a custom form posting to the REST API, keyed on email. Call Munchkin's visit function on every client-side route change, pass the gated asset's Contentful entry ID or slug in a hidden field, and confirm anonymous Munchkin history attaches to API-created leads.
On a Contentful site the Marketo conversion is almost always a form fill: a gated report, a webinar registration or a demo request whose page content comes from a Contentful entry. The form itself is Marketo's embedded form, or a custom form in your front end posting to the REST API. Contentful stores neither the submission nor the lead, so the activity that scoring reads is created in Marketo, keyed on email.
Client-side routing is where this pair breaks. Munchkin records a page visit on page load, and a Next.js or Nuxt app changes routes without loading a page, so the lead's history shows the landing page and nothing after it. Call Munchkin's visit function on each route change, otherwise every scoring rule built on pages viewed is scoring a single page. Pass the Contentful entry ID or slug of the gated asset into a hidden field, so the lead record says which piece of content converted, not just which URL it was on.
If you build custom forms instead of Marketo's, check whether the anonymous Munchkin history attaches to the lead created by the API call. Leads created through REST without that association arrive with no web history, and the anonymous visits from before the fill sit on a separate record that scoring never sees.
Contentful → Marketo · what breaks
Why this join usually fails — Contentful → Marketo
- 01
The lead record, keyed on email 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 scoring threshold crossed by a duplicate
Unlike an ad platform, a duplicate here has an operational consequence: a lead is marked sales-ready, routed, and called by a person. Doing that on the strength of an event counted twice wastes the most expensive resource in the funnel.
- 04
Nothing reconciles afterwards
Marketo shows the activity log on the lead record with the resulting score change. Read the lead, not the API response, and verify no duplicate lead was created.
Contentful → Marketo · the fix
What working looks like — Contentful → Marketo
The lead record, keyed on email on every conversion
Conversions arriving in Marketo
The activity lands on the lead, scoring rules evaluate, and the lead may move into a nurture programme or into the sales queue.
Reconciled against the source
Contentful → Marketo · architecture
How Contentful and Marketo 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
Marketo needs a click to match
Marketo needs the lead's email and the activity or custom object you are recording, with the fields the scoring rules actually reference. An activity that no scoring rule looks at changes nothing.
- 3
The identifier is the bridge
The lead record, keyed on email, 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
Marketo deduplicates leads on email by default, but activities are not deduplicated. A purchase pushed twice can trigger a scoring rule twice and push a lead over a threshold it should not have crossed.
Contentful → Marketo · normal or broken
Working vs. broken, side by side — Contentful → Marketo
Normal, not a fault
The lead record, keyed on email present on the conversion
Sent from your commerce, CRM or billing system
Deduplicated correctly
Marketo deduplicates leads on email by default, but activities are not deduplicated. A purchase pushed twice can trigger a scoring rule twice and push a lead over a threshold it should not have crossed.
Reconciles with the source
Actually broken
The lead record, keyed on email 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
Unlike an ad platform, a duplicate here has an operational consequence: a lead is marked sales-ready, routed, and called by a person. Doing that on the strength of an event counted twice wastes the most expensive resource in the funnel.
Nobody has reconciled it
Contentful → Marketo · diagnose
Diagnostic order — Contentful → Marketo
- 01
Count conversions carrying the lead record, keyed on email
- 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 the lead's activity log after a test conversion
One activity or two, and did the score move by the amount the rule specifies? That is the whole test.
- 05
Read the match rate, not the success message
Marketo shows the activity log on the lead record with the resulting score change. Read the lead, not the API response, and verify no duplicate lead was created.
Contentful → Marketo · prove
How it gets proven — Contentful → Marketo
Source of truth
Whatever system takes the money — Contentful holds none of it.
- The lead record, keyed on email confirmed present on a live conversion.
- Activities confirmed on single lead records with score changes matching the configured rules, and no duplicate leads created.
- The conversion confirmed sourced from the commerce or CRM system rather than from anything in the content layer.
Contentful → Marketo · free audit
What we check in the free audit
- Count conversions carrying the lead record, keyed on email
- Follow one real conversion end to end
- Establish which system holds the conversion before anything else
- Check the lead's activity log after a test conversion
- Read the match rate, not the success message
Checked against
Whatever system takes the money — Contentful holds none of it.
Free30 minutesNo obligation
Contentful → Marketo · when not to buy
When you don't need this — Contentful → Marketo
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the lead record, keyed on email.
- 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 sales team does not act on lead scores, pushing conversions into Marketo produces a tidier database and changes nothing about revenue.
Contentful → Marketo · what we deliver
What gets built — Contentful → Marketo
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 Marketo
The Marketo REST API, posted server-side to create or update the lead and record the activity.
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 → Marketo questions, answered
Because the front end routes client-side and Munchkin only logs a visit on full page load. Trigger a Munchkin visit call on every route change in your Next.js or Nuxt app.
Marketo's embedded forms handle the cookie-to-lead association for you. Custom forms give you design control but you have to handle that association and the hidden fields yourself.
Almost always because the lead record, keyed on email 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.
Marketo resolves to a lead by email address, with a Munchkin cookie tying anonymous web activity to that lead once known. Send an activity with a new email and you create a duplicate lead rather than updating one — and duplicate leads in a scoring system produce two half-scored people instead of one qualified one.
Your commerce, CRM or billing system. Send from the system that holds the money. Contentful contributes the content layer and nothing to the conversion.
Marketo shows the activity log on the lead record with the resulting score change. Read the lead, not the API response, and verify no duplicate lead was created.
More on Contentful → Marketo
- Contentful → Google AdsConnecting Contentful to Google Ads
- Contentful → MetaConnecting Contentful to Meta Conversions API
- Contentful → GA4Connecting Contentful to GA4
RELATED GUIDES
Where Contentful → Marketo fits in the rest of your tracking
- Ghost → MarketoConnecting Ghost memberships to Marketo
- Duda → MarketoConnecting Duda to Marketo
- Concrete CMS → MarketoConnecting Concrete CMS to Marketo
- Contentful → HubSpotConnecting Contentful to HubSpot
- Contentful → 6senseConnecting Contentful to 6sense
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Statamic → MarketoConnecting Statamic to Marketo
- Sanity → MarketoConnecting Sanity to Marketo
Free · 30 min
Get Contentful and Marketo joined properly
Free30 minutesNo obligation
