Connecting Ghost to Mixpanel
Ghost is publishing with memberships attached, so the commercial event is a paid subscription rather than a purchase. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Ghost member before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Ghost to Mixpanel: free-to-paid funnels keyed on member uuid
Call identify with the Ghost member uuid in the theme whenever a member is signed in, and send page views with post slug and primary tag. Send paid starts server-side from Ghost's member webhook or Stripe with distinct_id as the uuid and $insert_id as the Stripe subscription ID. Expect magic-link opens to orphan some pre-signup history.
The question a Ghost publisher brings to Mixpanel is content-level: which posts and tags do future paying members read before they upgrade. That needs page views carrying the post slug and primary tag, sent from the theme, and a paid event landing on the same distinct_id. The member uuid is the right ID; call identify with it in the theme template whenever a member is signed in.
The magic link is where Ghost funnels split into two people. Signup and sign-in both work by emailed link, and mail apps often open that link in their own browser. Mixpanel sees a new device, identified correctly, while the weeks of reading on Safari stay anonymous until the member signs in there. Expect a share of members whose pre-signup history never joins, and size it before trusting any post-level conversion rate.
Send the paid start server-side from the Ghost member webhook or Stripe, with distinct_id set to the member uuid and $insert_id set to the Stripe subscription ID, so a webhook retry does not count twice. Ghost already records its own signup attribution, the post a member came from. Compare it with Mixpanel's first-touch post for a month: where they disagree, Ghost is reading the last page before signup and Mixpanel the whole path.
Ghost → Mixpanel · what breaks
Why this join usually fails — Ghost → Mixpanel
- 01
The distinct_id 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
One event schema, two teams, no agreement
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
- 04
Nothing reconciles afterwards
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
Ghost → Mixpanel · the fix
What working looks like — Ghost → Mixpanel
The distinct_id on every member
Conversions arriving in Mixpanel
The event lands on the user profile and becomes available in funnels, retention and cohort analysis.
Reconciled against the source
Ghost → Mixpanel · architecture
How Ghost and Mixpanel 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
Mixpanel needs a click to match
Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.
- 3
The identifier is the bridge
The distinct_id, 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
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
Ghost → Mixpanel · normal or broken
Working vs. broken, side by side — Ghost → Mixpanel
Normal, not a fault
The distinct_id present on the member
Sent from the Ghost member webhook, or the connected Stripe subscription event
Deduplicated correctly
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
Reconciles with the source
Actually broken
The distinct_id 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
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
Nobody has reconciled it
Ghost → Mixpanel · diagnose
Diagnostic order — Ghost → Mixpanel
- 01
Count members carrying the distinct_id
- 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
List every event name in the project and look for near-duplicates
Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.
- 05
Read the match rate, not the success message
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
Ghost → Mixpanel · prove
How it gets proven — Ghost → Mixpanel
Source of truth
Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.
- The distinct_id confirmed present on a live member.
- Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
- A paid subscription confirmed to carry lifetime value with free signups excluded.
Ghost → Mixpanel · free audit
What we check in the free audit
- Count members carrying the distinct_id
- Follow one real conversion end to end
- Check whether free and paid signups share a conversion action
- List every event name in the project and look for near-duplicates
- 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 → Mixpanel · when not to buy
When you don't need this — Ghost → Mixpanel
- Measure identifier coverage yourself first — pull your last hundred members and count how many carry the distinct_id.
- If your Ghost site is a free newsletter monetised by sponsorship, there is no subscription conversion to measure here.
- If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.
Ghost → Mixpanel · what we deliver
What gets built — Ghost → Mixpanel
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 Mixpanel
The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event 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.
From $400 · See packages
FAQ
Ghost → Mixpanel questions, answered
Yes, if page views carry the post slug and the paid event lands on the same distinct_id. Compare it with Ghost's own member attribution before trusting either.
The magic link often opens in a different browser than the one used for reading. Each browser is a separate device until the member signs in there and you call identify with the uuid.
Almost always because the distinct_id 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.
Mixpanel identifies people by distinct_id, which starts as an anonymous device value and should be aliased to your own user ID at signup. Getting that alias wrong is the single most common Mixpanel implementation failure: the anonymous pre-signup activity and the identified user become two separate people, and every funnel that crosses signup is broken.
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.
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
More on Ghost → Mixpanel
- Ghost → MixpanelConnecting Ghost memberships to Mixpanel
- Ghost → Google AdsConnecting Ghost to Google Ads
- Ghost → MetaConnecting Ghost to Meta Conversions API
RELATED GUIDES
Where Ghost → Mixpanel fits in the rest of your tracking
- Sitecore → MixpanelConnecting Sitecore to Mixpanel
- Statamic → MixpanelConnecting Statamic to Mixpanel
- AEM → MixpanelConnecting Adobe Experience Manager to Mixpanel
- Ghost → GA4Connecting Ghost memberships to GA4
- Ghost → Adobe AnalyticsConnecting Ghost memberships to Adobe Analytics
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Sanity → MixpanelConnecting Sanity to Mixpanel
- Contentful → MixpanelConnecting Contentful to Mixpanel
Free · 30 min
Get Ghost and Mixpanel joined properly
Free30 minutesNo obligation
