Skip to main content
Ghost → AmplitudeIntegration guide

Connecting Ghost to Amplitude

Ghost is publishing with memberships attached, so the commercial event is a paid subscription rather than a purchase. 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 Ghost member 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

Ghost members in Amplitude: member uuid as user ID, paid as revenue

Use the Ghost member uuid as Amplitude's user ID, set from the theme on every page view and reused on server events. Send paid starts from Ghost webhooks or Stripe with price and revenue type, and renewals from Stripe's paid-invoice events, since Ghost emits none. Free signups carry no price, and comped members no revenue.

For a publisher, Amplitude answers retention questions an ad platform never will: which posts convert free members to paid, how long the gap is, and which cohorts cancel after the first renewal. The user ID that makes that work is the Ghost member uuid. Ghost themes expose it to signed-in members, so the template can set it as Amplitude's user ID on every page view, and server events from Ghost webhooks or Stripe can use the same value. Email is a worse key because members can change it.

The identity break is the magic link. A reader browses posts in Safari, signs up, and clicks the sign-in link in a mail app that opens its own browser. That is a new device ID, merged only once the member is identified there. The Safari reading history joins when the member signs in on Safari too, which some never do.

Revenue needs its own care. Send the paid subscription start with the plan amount in price and a revenue type, then renewals from Stripe's paid-invoice events, because Ghost itself does not emit a renewal. Complimentary members have their own status in Ghost and should carry no revenue. Free signups get their own event with no price at all, or Amplitude's revenue charts average down with every newsletter subscriber.

Ghost → Amplitude · what breaks

Why this join usually fails — Ghost → Amplitude

  1. 01

    The user ID and device ID pair 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.

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

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

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

Ghost → Amplitude · the fix

What working looks like — Ghost → Amplitude

  • The user ID and device ID pair on every member

  • 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

Ghost → Amplitude · architecture

How Ghost and Amplitude actually connect

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

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the Ghost member.

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

Ghost → Amplitude · normal or broken

Working vs. broken, side by side — Ghost → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the member

  • Sent from the Ghost member webhook, or the connected Stripe subscription event

  • 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

    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

    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

Ghost → Amplitude · diagnose

Diagnostic order — Ghost → Amplitude

  1. 01

    Count members carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

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

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

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

Ghost → Amplitude · prove

How it gets proven — Ghost → Amplitude

Source of truth

Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.

  • The user ID and device ID pair confirmed present on a live member.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • A paid subscription confirmed to carry lifetime value with free signups excluded.

Ghost → Amplitude · free audit

What we check in the free audit

  • Count members carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Check whether free and paid signups share a conversion action
  • Check a purchase event for the price and quantity fields specifically
  • 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.

Get my free conversion tracking audit

Free30 minutesNo obligation

Ghost → Amplitude · when not to buy

When you don't need this — Ghost → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred members and count how many carry the user ID and device ID pair.
  • If your Ghost site is a free newsletter monetised by sponsorship, there is no subscription conversion to measure here.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Ghost → Amplitude · what we deliver

What gets built — Ghost → Amplitude

  • 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 Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

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

Get my free conversion tracking audit

From $400 · See packages

FAQ

Ghost → Amplitude questions, answered

Set Amplitude's user ID to the member uuid in your theme when a member is signed in, and use the same uuid on server events from Ghost or Stripe webhooks.

Free · 30 min

Get Ghost and Amplitude joined properly

Free30 minutesNo obligation