Connecting Ghost memberships to PostHog
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. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Ghost paid subscription before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
PostHog funnels from free Ghost member to paid subscriber
With the theme identifying members by Ghost member UUID, send paid starts from your server when webhooks show free changing to paid: UUID as distinct_id, tier, interval and first charge, and an event UUID from the Stripe subscription ID. Track cancellations separately, use long funnel windows, and avoid double revenue with PostHog's Stripe source.
PostHog is good at the question Ghost's dashboard answers only in aggregate: how long free members take to pay, and what they read before they do. If the theme already identifies logged-in members by their Ghost member UUID, every post a free member reads is on the same PostHog person as the upgrade that comes later.
Send the paid subscription start from your server, not the Stripe return page. Ghost's member webhooks show the status change from free to paid; post a PostHog event with the member UUID as distinct_id, the tier, interval and first charge as properties, and an event UUID derived from the Stripe subscription ID so a retried webhook does not count twice. Then build a funnel from signed up to paid with a long conversion window, and a time-to-convert view: if the median upgrade comes after months, that is the window every ad platform you use needs to be judged against.
Record cancellations as their own event when the subscription is set to end, because Ghost keeps the member paid until the period ends. PostHog can also pull Stripe data directly in some setups; check whether its Stripe source covers what you need before writing extra events, and avoid counting revenue twice if you use both.
Ghost → PostHog · what breaks
Why this join usually fails — Ghost → PostHog
- 01
The distinct_id 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.
- 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.
- 03
Self-hosting the analytics and the outage together
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
- 04
Nothing reconciles afterwards
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
Ghost → PostHog · the fix
What working looks like — Ghost → PostHog
The distinct_id on every subscription
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Ghost memberships's own records are the reference, not either dashboard.
Ghost → PostHog · architecture
How Ghost and PostHog actually connect
- 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
PostHog needs a click to match
PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.
- 3
The identifier is the bridge
The distinct_id, captured at the visit and carried into the Ghost paid subscription.
- 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
Deduplication at the destination
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
Ghost → PostHog · normal or broken
Working vs. broken, side by side — Ghost → PostHog
Normal, not a fault
The distinct_id 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
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
Reconciles with the source
PostHog's count and Ghost memberships's records agree within a few percent over a closed window.
Actually broken
The distinct_id 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
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
Nobody has reconciled it
The dashboard shows a number and no one has compared it to Ghost memberships.
Ghost → PostHog · diagnose
Diagnostic order — Ghost → PostHog
- 01
Count subscriptions carrying the distinct_id
- 02
Follow one real conversion end to end
- 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.
- 04
Check ingestion health and disk before debugging any missing event
On self-hosted instances the answer is infrastructure far more often than it is instrumentation.
- 05
Read the match rate, not the success message
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
Ghost → PostHog · prove
How it gets proven — Ghost → PostHog
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.
- The distinct_id confirmed present on a live subscription.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- Paid subscription starts reconciled against imported conversions over a window long enough to include the upgrade lag.
Ghost → PostHog · free audit
What we check in the free audit
- Count subscriptions carrying the distinct_id
- Follow one real conversion end to end
- Measure the free-to-paid rate and the lag
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Ghost members with an active Stripe subscription, by start date, separated from free members.
Free30 minutesNo obligation
Ghost → PostHog · when not to buy
When you don't need this — Ghost → PostHog
- If PostHog 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 the distinct_id.
- If you have no paid tier, free signups are the honest metric and there is no revenue event to import.
- If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.
Ghost → PostHog · what we deliver
What gets built — Ghost → PostHog
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 PostHog
The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.
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.
From $400 · See packages
FAQ
Ghost → PostHog questions, answered
Identify members by Ghost member UUID in the theme, send the paid start server-side from Ghost's webhook, and build a funnel from signup to paid with a long conversion window.
It varies by publication, which is why measuring it matters. PostHog's time-to-convert view on a signup-to-paid funnel shows your own distribution.
Almost always because the distinct_id never reached the Ghost paid subscription. Signup and checkout use Ghost's portal, which renders over your page, and Stripe Checkout may take the visitor off-domain at payment. Measure coverage before debugging the dispatch.
PostHog identifies by distinct_id with an alias call to merge anonymous and identified users. On a self-hosted instance you also control the ingestion endpoint, which means the identifier survives ad blockers that would kill a third-party pixel — one of the few genuine technical advantages available to a first-party setup.
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.
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
More on Ghost → PostHog
- Ghost → Google AdsConnecting Ghost memberships to Google Ads
- Ghost → MetaConnecting Ghost memberships to Meta Conversions API
- Ghost → GA4Connecting Ghost memberships to GA4
RELATED GUIDES
Where Ghost → PostHog fits in the rest of your tracking
- Drupal Commerce → PostHogConnecting Drupal Commerce to PostHog
- Webflow → PostHogConnecting Webflow to PostHog
- Statamic → PostHogConnecting Statamic to PostHog
- Ghost → Adobe AnalyticsConnecting Ghost memberships to Adobe Analytics
- Ghost → MixpanelConnecting Ghost memberships to Mixpanel
- B2BConversion tracking for B2B, from first touch to closed-won
- Umbraco → PostHogConnecting Umbraco to PostHog
- Concrete CMS → PostHogConnecting Concrete CMS to PostHog
Free · 30 min
Get Ghost and PostHog joined properly
Free30 minutesNo obligation
