Connecting Substack to PostHog
Substack owns the subscriber relationship, the payment and increasingly the discovery, which leaves a writer with very little to attribute and a growing share of subscribers who never saw their site. 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 Substack 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 on your product, Substack as a cohort property
PostHog can't run on Substack, so this pair only helps when the newsletter supports your own product already running PostHog. Match the Substack export to identified PostHog persons on email and set a person property such as substack_status, rather than capturing events that create persons for every subscriber. UTM-tagged product links in the newsletter show Substack-driven signups.
PostHog cannot run on Substack, so there is no distinct_id on a reader and no funnel through the subscribe page. The pairing earns its place when the newsletter supports a product of your own, an app, a SaaS tool, a course platform, that already runs PostHog, and the question is whether paid newsletter readers behave differently as users.
Answer it with a person property, not events. Match the Substack export to identified PostHog persons on email and set a property such as substack_status to paid, free or none. Cohorts and retention charts can then split by it. Capturing Substack signups as events instead creates persons for every subscriber who never used your product, and on PostHog Cloud that adds to the bill for people who will never fire another event.
If your product is anonymous until signup, add the reverse link: put a UTM-tagged link to your product in the newsletter, so PostHog's first-touch properties show which signups came from Substack readers. That is the only Substack-to-product attribution available, because nothing comes back from Substack's side in real time.
Substack → PostHog · what breaks
Why this join usually fails — Substack → PostHog
- 01
The distinct_id never reaches Substack
Signup happens on a Substack-hosted page, and network-sourced subscriptions never touch a property of yours at any point.
- 02
The network producing growth you did not buy
Substack recommendations can drive most of a publication's growth. Pooling that with paid acquisition makes campaigns look excellent in the months the network is generous and terrible when it is not.
- 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.
Substack → PostHog · the fix
What working looks like — Substack → 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
Substack → PostHog · architecture
How Substack and PostHog actually connect
- 1
Substack holds the truth
Recommendations and the Substack app produce subscribers you did not pay for. They are genuinely valuable and they are not evidence that your advertising worked — and on many publications they are the majority.
- 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 Substack paid subscription.
- 4
The event source decides reliability
Send paid subscription starts at the annualized value. A free subscriber is a mailing list entry, not revenue.
- 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.
Substack → PostHog · normal or broken
Working vs. broken, side by side — Substack → PostHog
Normal, not a fault
The distinct_id present on the subscription
Sent from the Substack subscriber export
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
Actually broken
The distinct_id missing on most records
Signup happens on a Substack-hosted page, and network-sourced subscriptions never touch a property of yours at any point.
Sent from the browser
Substack recommendations can drive most of a publication's growth. Pooling that with paid acquisition makes campaigns look excellent in the months the network is generous and terrible when it is not.
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
Substack → PostHog · diagnose
Diagnostic order — Substack → PostHog
- 01
Count subscriptions carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Split subscriptions by acquisition source
Own promotion versus recommendations versus the app. Without it, no paid figure means anything.
- 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.
Substack → PostHog · prove
How it gets proven — Substack → PostHog
Source of truth
Substack paid subscriptions by start date, split by whether they came from your own promotion or from Substack's network.
- 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 from your own promotion reconciled against imported conversions.
Substack → PostHog · free audit
What we check in the free audit
- Count subscriptions carrying the distinct_id
- Follow one real conversion end to end
- Split subscriptions by acquisition source
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Substack paid subscriptions by start date, split by whether they came from your own promotion or from Substack's network.
Free30 minutesNo obligation
Substack → PostHog · when not to buy
When you don't need this — Substack → PostHog
- Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the distinct_id.
- If your growth is essentially all recommendations, the lever is cross-promotion, not ad spend, and no tracking build changes that.
- 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.
Substack → PostHog · what we deliver
What gets built — Substack → PostHog
Identifier capture into Substack
Carry the identifier into the subscribe link where the platform supports a parameter, and report network-sourced subscriptions as an unattributable channel rather than letting them dilute the figure.
Event source: the Substack subscriber export
Send paid subscription starts at the annualized value. A free subscriber is a mailing list entry, not revenue.
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, and Substack churn in month one is meaningful.
Written guarantee
95%+ tracking accuracy
Measured against Substack paid subscriptions by start date, split by whether they came from your own promotion or from Substack's network.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Substack → PostHog questions, answered
No. Substack does not allow custom scripts. Use PostHog on your own product and bring Substack status in as a person property.
Tag newsletter links to your product with UTM parameters and read PostHog's first-touch properties, then match the export on email for status.
Almost always because the distinct_id never reached the Substack paid subscription. Signup happens on a Substack-hosted page, and network-sourced subscriptions never touch a property of yours at any point. 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 Substack subscriber export. Send paid subscription starts at the annualized value. A free subscriber is a mailing list entry, not revenue.
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 Substack → PostHog
- Substack → Google AdsConnecting Substack to Google Ads
- Substack → MetaConnecting Substack to Meta Conversions API
- Substack → GA4Connecting Substack to GA4
RELATED GUIDES
Where Substack → PostHog fits in the rest of your tracking
- Mighty Networks → PostHogConnecting Mighty Networks to PostHog
- Discord → PostHogConnecting Discord paid communities to PostHog
- Buy Me a Coffee → PostHogConnecting Buy Me a Coffee to PostHog
- Substack → AmplitudeConnecting Substack to Amplitude
- Substack → MixpanelConnecting Substack to Mixpanel
- MembershipsConversion tracking for membership communities, past the first month
- Whop → PostHogConnecting Whop to PostHog
Free · 30 min
Get Substack and PostHog joined properly
Free30 minutesNo obligation
