Connecting Ghost to BigQuery
Ghost is publishing with memberships attached, so the commercial event is a paid subscription rather than a purchase. 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 Ghost member 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
Ghost to BigQuery: members, Stripe and click IDs in one table
Join Ghost member status, Stripe charges and ad click IDs in BigQuery using the Stripe customer ID Ghost stores on paid members. Ghost(Pro) data comes from the Admin API, member webhooks or exports; self-hosted Ghost's MySQL can be replicated at a pinned version. Load Ghost's own signup attribution separately from click IDs stored at signup.
BigQuery is where a Ghost publisher can finally put membership state, money and acquisition next to each other. Ghost knows who is a free, paid or complimentary member; the connected Stripe account knows what was actually charged and refunded; and neither knows which ad click started it. The join key between the first two is the Stripe customer ID that Ghost stores on each paid member's subscription, which survives email changes in a way the address does not.
How you get the data out depends on hosting. Ghost(Pro) sites get no database access, so it is the Admin API members endpoint, member webhooks or scheduled exports. Self-hosted Ghost runs on MySQL and can be replicated directly, though the schema changes between versions, so pin the version you modeled. Ghost also records its own signup attribution, the post and referrer a member came from; check whether your version exposes it through the API and load it as its own column rather than mixing it with ad click IDs.
Click IDs come from wherever you stored them at signup, typically member labels or your own table keyed by member uuid. With all three loaded you can measure free-to-paid lag by source and the real lifetime value per cohort, which is the figure the ad platforms should receive.
Ghost → BigQuery · what breaks
Why this join usually fails — Ghost → BigQuery
- 01
Whatever join key you decide on never reaches Ghost
Signup and checkout are Ghost-hosted with limited customisation, and free members vastly outnumber paid ones. An identifier captured on a post has to survive into the member record, which Ghost only partially supports.
- 02
Free members outnumbering paid by an order of magnitude
Ghost's newsletter signup is frictionless by design. Sending free signups as conversions teaches an ad platform to find people who subscribe to free newsletters.
- 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.
Ghost → BigQuery · the fix
What working looks like — Ghost → BigQuery
Whatever join key you decide on on every member
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
Ghost → BigQuery · architecture
How Ghost and BigQuery actually connect
- 1
Ghost holds the truth
Ghost's payments run through a connected Stripe account, so Stripe is authoritative for money and Ghost is authoritative for membership state. They should agree and reconciling them is worth doing once.
- 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 Ghost member.
- 4
The event source decides reliability
Send paid subscription starts at expected lifetime value. Free member signups are leads and belong in a separate event entirely.
- 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.
Ghost → BigQuery · normal or broken
Working vs. broken, side by side — Ghost → BigQuery
Normal, not a fault
Whatever join key you decide on present on the member
Sent from the Ghost member webhook, or the connected Stripe subscription event
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
Signup and checkout are Ghost-hosted with limited customisation, and free members vastly outnumber paid ones. An identifier captured on a post has to survive into the member record, which Ghost only partially supports.
Sent from the browser
Ghost's newsletter signup is frictionless by design. Sending free signups as conversions teaches an ad platform to find people who subscribe to free newsletters.
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
Ghost → BigQuery · diagnose
Diagnostic order — Ghost → BigQuery
- 01
Count members carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Check whether free and paid signups share a conversion action
If they do, the free tier is setting your bids and paid acquisition is invisible.
- 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.
Ghost → BigQuery · prove
How it gets proven — Ghost → BigQuery
Source of truth
Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.
- Whatever join key you decide on confirmed present on a live member.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- A paid subscription confirmed to carry lifetime value with free signups excluded.
Ghost → BigQuery · free audit
What we check in the free audit
- Count members carrying whatever join key you decide on
- Follow one real conversion end to end
- Check whether free and paid signups share a conversion action
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.
Free30 minutesNo obligation
Ghost → BigQuery · when not to buy
When you don't need this — Ghost → BigQuery
- Measure identifier coverage yourself first — pull your last hundred members and count how many carry whatever join key you decide on.
- If your Ghost site is a free newsletter monetised by sponsorship, there is no subscription conversion to measure here.
- 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.
Ghost → BigQuery · what we deliver
What gets built — Ghost → BigQuery
Identifier capture into Ghost
Carry the identifier through the signup URL into member labels or via the connected Stripe checkout's metadata, and verify on a real paid signup which survives.
Event source: the Ghost member webhook, or the connected Stripe subscription event
Send paid subscription starts at expected lifetime value. Free member signups are leads and belong in a separate event entirely.
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
Subscription cancellations reverse the lifetime value claimed.
Written guarantee
95%+ tracking accuracy
Measured against Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Ghost → BigQuery questions, answered
Yes, through the Admin API members endpoint or scheduled exports; self-hosted sites can also replicate the MySQL database. Ghost(Pro) sites don't get database access, so it is the API.
On the Stripe customer ID Ghost stores on each paid member's subscription. Email works too until a member changes it.
Almost always because whatever join key you decide on never reached the Ghost member. Signup and checkout are Ghost-hosted with limited customisation, and free members vastly outnumber paid ones. An identifier captured on a post has to survive into the member record, which Ghost only partially supports. 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.
The Ghost member webhook, or the connected Stripe subscription event. Send paid subscription starts at expected lifetime value. Free member signups are leads and belong in a separate event entirely.
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 Ghost → BigQuery
- Ghost → BigQueryConnecting Ghost memberships to BigQuery
- Ghost → Google AdsConnecting Ghost to Google Ads
- Ghost → MetaConnecting Ghost to Meta Conversions API
RELATED GUIDES
Where Ghost → BigQuery fits in the rest of your tracking
- Contentful → BigQueryConnecting Contentful to BigQuery
- Umbraco → BigQueryConnecting Umbraco to BigQuery
- Sitecore → BigQueryConnecting Sitecore to BigQuery
- Ghost → SnowflakeConnecting Ghost memberships to Snowflake
- Ghost → SegmentConnecting Ghost memberships to Segment
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- AEM → BigQueryConnecting Adobe Experience Manager to BigQuery
- Sanity → BigQueryConnecting Sanity to BigQuery
Free · 30 min
Get Ghost and BigQuery joined properly
Free30 minutesNo obligation
