Skip to main content
Ghost → BigQueryIntegration guide

Connecting Ghost memberships to BigQuery

Ghost runs on your own domain with Stripe underneath, which makes it the rare creator platform where the whole chain is genuinely yours and attribution can actually work end to end. 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 paid subscription 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 and Stripe in BigQuery: measuring the free-to-paid lag

Land Ghost members from the Admin API or webhooks and Stripe subscriptions and invoices directly, joined on the Stripe customer ID Ghost keeps. Add a first-touch table of click IDs and UTMs keyed to an ID attached at signup, then measure free-to-paid lag by source. Treat Stripe as revenue truth, excluding comped and gift members.

BigQuery is the cleanest place to measure the number that decides a Ghost publication's ad spend: how long after a free signup the paid upgrade happens, by acquisition source. That needs two sources joined: Ghost members (email, status, created date, labels and any attribution fields) and the Stripe subscriptions underneath, linked through the Stripe customer ID Ghost keeps for paid members.

Land members from the Ghost Admin API or member webhooks, and Stripe subscriptions and invoices from Stripe directly, since Stripe holds the actual amounts, trials, coupons and refunds. Add a first-touch table written by your site when a visitor arrives with gclid, fbclid or UTMs, keyed to an ID you attach to the member at signup. The upgrade lag by channel is then one query: paid start date minus member created date, grouped by first-touch source, over cohorts old enough to have upgraded.

The usual mistake is counting comped and gift members as paid because their Ghost status says so, while Stripe shows no charge for them. Treat Stripe as the revenue truth and Ghost as the identity and engagement truth, and exclude members who cancel inside the first period from any acquisition cohort.

Ghost → BigQuery · what breaks

Why this join usually fails — Ghost → BigQuery

  1. 01

    Whatever join key you decide on never reaches Ghost

    Signup and checkout use Ghost's portal, which renders over your page, and Stripe Checkout may take the visitor off-domain at payment.

  2. 02

    The gap between free signup and paid upgrade

    Most Ghost publications convert a small single-digit percentage of free members to paid, months later. Optimizing on free signups finds people who like free things, and the paid number does not move.

  3. 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.

  4. 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 subscription

  • 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 memberships's own records are the reference, not either dashboard.

Ghost → BigQuery · architecture

How Ghost and BigQuery actually connect

  1. 1

    Ghost memberships holds the truth

    Ghost's free tier is a mailing list and its paid tier is revenue. The free-to-paid conversion rate is the number that decides whether acquisition is worth anything, and it is invisible if members are counted as one pool.

  2. 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. 3

    The identifier is the bridge

    Whatever join key you decide on, captured at the visit and carried into the Ghost paid subscription.

  4. 4

    The event source decides reliability

    Send paid subscription starts at a defensible annual value, and free signups as a separate lower-value action.

  5. 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 subscription

    Visible on the record itself in Ghost memberships, not merely captured somewhere on the site.

  • Sent from the Ghost member and Stripe subscription record

  • 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

    BigQuery's count and Ghost memberships's records agree within a few percent over a closed window.

Actually broken

  • Whatever join key you decide on missing on most records

    Signup and checkout use Ghost's portal, which renders over your page, and Stripe Checkout may take the visitor off-domain at payment.

  • Sent from the browser

    Most Ghost publications convert a small single-digit percentage of free members to paid, months later. Optimizing on free signups finds people who like free things, and the paid number does not move.

  • 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

    The dashboard shows a number and no one has compared it to Ghost memberships.

Ghost → BigQuery · diagnose

Diagnostic order — Ghost → BigQuery

  1. 01

    Count subscriptions carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure the free-to-paid rate and the lag

    Both matter. If the median upgrade happens four months after signup, your attribution window is the constraint, not your campaigns.

  4. 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.

  5. 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

Against Ghost memberships's own records, not against either platform's dashboard.

Source of truth

Ghost members with an active Stripe subscription, by start date, separated from free members.

  • Whatever join key you decide on confirmed present on a live subscription.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Paid subscription starts reconciled against imported conversions over a window long enough to include the upgrade lag.

Ghost → BigQuery · free audit

What we check in the free audit

  • Count subscriptions carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Measure the free-to-paid rate and the lag
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Ghost members with an active Stripe subscription, by start date, separated from free members.

Get my free conversion tracking audit

Free30 minutesNo obligation

Ghost → BigQuery · when not to buy

When you don't need this — Ghost → BigQuery

  • If BigQuery already reports conversions that reconcile against Ghost memberships's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry whatever join key you decide on.
  • If you have no paid tier, free signups are the honest metric and there is no revenue event to import.
  • 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

    Capture on your own domain, persist in first-party storage, and attach the identifier to the member record so the upgrade weeks later still resolves.

  • Event source: the Ghost member and Stripe subscription record

    Send paid subscription starts at a defensible annual value, and free signups as a separate lower-value action.

  • 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

    Cancellations inside the first period reverse.

Written guarantee

95%+ tracking accuracy

Measured against Ghost members with an active Stripe subscription, by start date, separated from free members.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Ghost → BigQuery questions, answered

Use the Stripe customer ID Ghost stores on paid members, and fall back to email for older records. Stripe supplies the amounts; Ghost supplies signup date and status.

Free · 30 min

Get Ghost and BigQuery joined properly

Free30 minutesNo obligation