Connecting Contentful to BigQuery
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. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the front-end conversion, not a Contentful record before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Contentful to BigQuery: a content dimension joined to conversions
Load Contentful into BigQuery as an entry dimension table with ID, content type, full slug history, tags, author and publish dates, kept current by publish webhooks or scheduled Delivery API pulls. Join it to GA4 and commerce or CRM conversion rows on an entry ID the front end writes into analytics events. This yields content-assisted revenue, not attribution.
In BigQuery, Contentful earns a table of its own: a dimension of entries with ID, content type, slug history, tags, author and publish dates. Contentful can fire webhooks on publish and unpublish, so a small loader can keep that table current, or you can pull from the Content Delivery API on a schedule. Either way, keep every slug an entry has ever had, because conversions recorded last spring point at last spring's URL.
The join is the hard part. Conversion rows come from your commerce or CRM system and carry the click identifiers your front end captured; page or event rows come from whatever collects behavior, often a GA4 export. Contentful entries join to those on page path or, better, on an entry ID your front end writes into the analytics event. A path-only join breaks on localized routes, trailing slashes and redirects, which on headless sites live in front-end config or in a redirect content type editors maintain.
What this buys you is content-assisted revenue that no ad platform reports: which articles appear in converting journeys and which were published, promoted and never touched a sale. It does not buy attribution. Click IDs and order totals still come from the money system. Keep preview-environment traffic out of the load, and treat a content table without stored slugs as a reason to rebuild before trusting any trend.
Contentful → BigQuery · what breaks
Why this join usually fails — Contentful → BigQuery
- 01
Whatever join key you decide on 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
The warehouse quietly disagreeing with every platform
This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.
- 04
Nothing reconciles afterwards
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
Contentful → BigQuery · the fix
What working looks like — Contentful → BigQuery
Whatever join key you decide on on every conversion
Conversions arriving in BigQuery
The row lands in a table you own, joinable to every other table you own, with no window and no expiry.
Reconciled against the source
Contentful → BigQuery · architecture
How Contentful and BigQuery 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
BigQuery needs a click to match
BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.
- 3
The identifier is the bridge
Whatever join key you decide on, 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
Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.
Contentful → BigQuery · normal or broken
Working vs. broken, side by side — Contentful → BigQuery
Normal, not a fault
Whatever join key you decide on present on the conversion
Sent from your commerce, CRM or billing system
Deduplicated correctly
Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.
Reconciles with the source
Actually broken
Whatever join key you decide on 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
This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.
Nobody has reconciled it
Contentful → BigQuery · diagnose
Diagnostic order — Contentful → BigQuery
- 01
Count conversions carrying whatever join key you decide on
- 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
Reconcile warehouse order counts against each platform for one closed window
The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.
- 05
Read the match rate, not the success message
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
Contentful → BigQuery · prove
How it gets proven — Contentful → BigQuery
Source of truth
Whatever system takes the money — Contentful holds none of it.
- Whatever join key you decide on confirmed present on a live conversion.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- The conversion confirmed sourced from the commerce or CRM system rather than from anything in the content layer.
Contentful → BigQuery · free audit
What we check in the free audit
- Count conversions carrying whatever join key you decide on
- Follow one real conversion end to end
- Establish which system holds the conversion before anything else
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Whatever system takes the money — Contentful holds none of it.
Free30 minutesNo obligation
Contentful → BigQuery · when not to buy
When you don't need this — Contentful → BigQuery
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry whatever join key you decide on.
- 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 have one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.
Contentful → BigQuery · what we deliver
What gets built — Contentful → BigQuery
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 BigQuery
Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.
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 → BigQuery questions, answered
Use Contentful's publish webhooks or a scheduled pull from the Content Delivery API to maintain an entries table, then join it to behavioral data on entry ID or page path. Check your plan's API rate limits before scheduling frequent full pulls.
Only if your behavioral data records which entry a visitor saw and your conversion rows share a user or session key with it. Contentful supplies the labels; the conversions come from your commerce or CRM data.
Almost always because whatever join key you decide on 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.
There is no vendor identifier here. You choose the key — order ID, user ID, click identifier, hashed email — and you live with the consequences. That is the whole appeal and the whole risk: nothing is standardised for you and nothing is silently wrong in a vendor's favour either.
Your commerce, CRM or billing system. Send from the system that holds the money. Contentful contributes the content layer and nothing to the conversion.
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
More on Contentful → BigQuery
- Contentful → Google AdsConnecting Contentful to Google Ads
- Contentful → MetaConnecting Contentful to Meta Conversions API
- Contentful → GA4Connecting Contentful to GA4
RELATED GUIDES
Where Contentful → BigQuery fits in the rest of your tracking
- Sanity → BigQueryConnecting Sanity to BigQuery
- Concrete CMS → BigQueryConnecting Concrete CMS to BigQuery
- Drupal Commerce → BigQueryConnecting Drupal Commerce to BigQuery
- Contentful → SnowflakeConnecting Contentful to Snowflake
- Contentful → SegmentConnecting Contentful to Segment
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Duda → BigQueryConnecting Duda to BigQuery
- Webflow → BigQueryConnecting Webflow to BigQuery
Free · 30 min
Get Contentful and BigQuery joined properly
Free30 minutesNo obligation
