Connecting Paid Memberships Pro to PostHog
Paid Memberships Pro supports multiple membership levels with upgrade and downgrade paths, which means a member's value changes over time without any new acquisition happening. 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 PMPro membership level change 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
PMPro to PostHog: which content turns free members into paid
Identify members in PostHog by WordPress user ID at registration and every login, then send new membership, level change and cancellation events server-side from PMPro hooks with event UUIDs built from the order code. Keep current level as a person property to build free-to-paid and retention funnels, and check self-hosted ingestion before debugging missing events.
PostHog is a good fit for a PMPro site because the question membership businesses most need answered is product-shaped: which articles, lessons or community features do people use before they upgrade, and what do they stop using before they cancel. That needs the same person across anonymous reading, login and payment.
Call identify with the WordPress user ID at registration and at every login, so anonymous browsing merges into the member. Send membership events server-side from PMPro hooks: a new membership with level and amount, a level change with old and new level, a cancellation with the date access ends. Set the current level as a person property. Supply your own event UUID, built from the PMPro order code, so a retried webhook does not log a second payment.
Then the funnels become useful: free registration to first paid level, basic to premium, and cohort retention by acquisition source. Renewals sent server-side keep revenue properties current without a pageview. If you self-host PostHog next to WordPress, check ingestion before debugging a missing upgrade; a full disk on the PostHog box drops events while PMPro keeps taking payments.
Paid Memberships Pro → PostHog · what breaks
Why this join usually fails — Paid Memberships Pro → PostHog
- 01
The distinct_id never reaches Paid Memberships Pro
Level changes happen inside the member account with no acquisition journey at all.
- 02
Upgrades credited to the original acquisition campaign
A member who joined on a basic plan and upgraded a year later generates revenue the campaign did not produce. Attributing it to the original click makes that campaign look far better than it was.
- 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.
Paid Memberships Pro → PostHog · the fix
What working looks like — Paid Memberships Pro → PostHog
The distinct_id on every membership
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Paid Memberships Pro → PostHog · architecture
How Paid Memberships Pro and PostHog actually connect
- 1
Paid Memberships Pro holds the truth
An existing member upgrading from a basic to a premium level is expansion revenue. It was produced by the content, not by an advertisement.
- 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 PMPro membership level change.
- 4
The event source decides reliability
Send new memberships at level value as acquisition; upgrades and downgrades as expansion and contraction.
- 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.
Paid Memberships Pro → PostHog · normal or broken
Working vs. broken, side by side — Paid Memberships Pro → PostHog
Normal, not a fault
The distinct_id present on the membership
Sent from the PMPro membership 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
Actually broken
The distinct_id missing on most records
Level changes happen inside the member account with no acquisition journey at all.
Sent from the browser
A member who joined on a basic plan and upgraded a year later generates revenue the campaign did not produce. Attributing it to the original click makes that campaign look far better than it was.
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
Paid Memberships Pro → PostHog · diagnose
Diagnostic order — Paid Memberships Pro → PostHog
- 01
Count memberships carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Separate new signups from level changes
One field, and it stops expansion revenue quietly inflating acquisition performance.
- 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.
Paid Memberships Pro → PostHog · prove
How it gets proven — Paid Memberships Pro → PostHog
Source of truth
PMPro memberships by date, with level changes tracked separately from new signups.
- The distinct_id confirmed present on a live membership.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- New memberships reconciled at level value against imported conversions, with upgrades reported separately.
Paid Memberships Pro → PostHog · free audit
What we check in the free audit
- Count memberships carrying the distinct_id
- Follow one real conversion end to end
- Separate new signups from level changes
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
PMPro memberships by date, with level changes tracked separately from new signups.
Free30 minutesNo obligation
Paid Memberships Pro → PostHog · when not to buy
When you don't need this — Paid Memberships Pro → PostHog
- Measure identifier coverage yourself first — pull your last hundred memberships and count how many carry the distinct_id.
- Single-level membership sites have no upgrade path and no expansion to separate.
- 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.
Paid Memberships Pro → PostHog · what we deliver
What gets built — Paid Memberships Pro → PostHog
Identifier capture into Paid Memberships Pro
Store the identifier at first signup and report upgrades as expansion against the same member.
Event source: the PMPro membership record
Send new memberships at level value as acquisition; upgrades and downgrades as expansion and contraction.
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 and downgrades reverse or reduce.
Written guarantee
95%+ tracking accuracy
Measured against PMPro memberships by date, with level changes tracked separately from new signups.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Paid Memberships Pro → PostHog questions, answered
Call identify with the WordPress user ID at registration and login, and use the same ID as distinct_id on server-side membership events.
Send your own event UUID derived from the PMPro order code, so retried webhooks are deduplicated.
Almost always because the distinct_id never reached the PMPro membership level change. Level changes happen inside the member account with no acquisition journey at all. 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 PMPro membership record. Send new memberships at level value as acquisition; upgrades and downgrades as expansion and contraction.
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 Paid Memberships Pro → PostHog
- Paid Memberships Pro → Google AdsConnecting Paid Memberships Pro to Google Ads
- Paid Memberships Pro → MetaConnecting Paid Memberships Pro to Meta Conversions API
- Paid Memberships Pro → GA4Connecting Paid Memberships Pro to GA4
RELATED GUIDES
Where Paid Memberships Pro → PostHog fits in the rest of your tracking
- Canvas → PostHogConnecting Canvas LMS to PostHog
- TalentLMS → PostHogConnecting TalentLMS to PostHog
- Litmos → PostHogConnecting Litmos to PostHog
- Paid Memberships Pro → MatomoConnecting Paid Memberships Pro to Matomo
- Paid Memberships Pro → MixpanelConnecting Paid Memberships Pro to Mixpanel
- BootcampsConversion tracking for bootcamps, measured in started students
- 360Learning → PostHogConnecting 360Learning to PostHog
- Docebo → PostHogConnecting Docebo to PostHog
Free · 30 min
Get Paid Memberships Pro and PostHog joined properly
Free30 minutesNo obligation
