Connecting Kajabi to PostHog
Kajabi bundles courses, funnels, email and payments into one platform, which means the entire customer journey happens inside a single hosted system. 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 Kajabi offer purchase 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
Kajabi with PostHog: sales-page funnels and a stored distinct_id
Add PostHog through Kajabi's custom header code, write its distinct_id into a hidden opt-in or checkout field kept in a Kajabi custom field, and post the purchase webhook to the capture API with that distinct_id and a UUID derived from the Kajabi purchase ID. Identify members by email at sign-in, and send amount charged and contracted total as separate properties.
PostHog on a Kajabi site answers questions Kajabi's own analytics do not: where on a long sales page people stop scrolling, which pricing option they click, how far webinar registrants get through the replay page. Add the snippet through Kajabi's custom header code and check that it loads on checkout pages and, if you want course engagement, inside the member area.
To tie the purchase to the session, write PostHog's distinct_id into a hidden field on the opt-in or checkout form and keep it in a Kajabi custom field. Post the purchase from the Kajabi webhook to the capture API with that distinct_id and a UUID derived from the Kajabi purchase ID, so retried webhooks do not duplicate. When the member later signs in, identify them by email so the anonymous browsing and the purchase merge into one person.
Payment plans affect any revenue insight. Send offer type, amount charged and contracted total as separate properties; a funnel that sums amount charged will rank the high-ticket plan offer below a cheap tripwire. Keep session replay off checkout fields. Self-hosting PostHog on a subdomain of the domain your Kajabi site uses keeps capture first-party, but you then own ingestion uptime during launches, when traffic spikes.
Kajabi → PostHog · what breaks
Why this join usually fails — Kajabi → PostHog
- 01
The distinct_id never reaches Kajabi
Kajabi hosts the landing pages, the checkout and the member area. The identifier has to be captured on the Kajabi page itself and carried into the purchase through its supported custom fields, since there is no separate site to capture it on.
- 02
Payment plans reported as single sales
A high-ticket course sold on a twelve-month plan arrives as an order at the first instalment. Sent at face value it understates the sale by an order of magnitude.
- 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.
Kajabi → PostHog · the fix
What working looks like — Kajabi → PostHog
The distinct_id on every purchase
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Kajabi → PostHog · architecture
How Kajabi and PostHog actually connect
- 1
Kajabi holds the truth
Kajabi's offers can be one-time, payment plans or recurring subscriptions, and the three need valuing differently. A payment plan sold as a single conversion at its first instalment badly understates it.
- 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 Kajabi offer purchase.
- 4
The event source decides reliability
Send from the webhook rather than a thank-you page, and distinguish one-time offers from payment plans and subscriptions so each carries the right value.
- 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.
Kajabi → PostHog · normal or broken
Working vs. broken, side by side — Kajabi → PostHog
Normal, not a fault
The distinct_id present on the purchase
Sent from the Kajabi purchase webhook
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
Kajabi hosts the landing pages, the checkout and the member area. The identifier has to be captured on the Kajabi page itself and carried into the purchase through its supported custom fields, since there is no separate site to capture it on.
Sent from the browser
A high-ticket course sold on a twelve-month plan arrives as an order at the first instalment. Sent at face value it understates the sale by an order of magnitude.
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
Kajabi → PostHog · diagnose
Diagnostic order — Kajabi → PostHog
- 01
Count purchases carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Check how payment-plan offers are being valued
If the conversion carries the first instalment rather than the plan total, every high-ticket campaign looks unprofitable.
- 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.
Kajabi → PostHog · prove
How it gets proven — Kajabi → PostHog
Source of truth
Kajabi's purchase and subscription records for the same window.
- The distinct_id confirmed present on a live purchase.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- A payment-plan purchase confirmed to carry its full contracted value.
Kajabi → PostHog · free audit
What we check in the free audit
- Count purchases carrying the distinct_id
- Follow one real conversion end to end
- Check how payment-plan offers are being valued
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Kajabi's purchase and subscription records for the same window.
Free30 minutesNo obligation
Kajabi → PostHog · when not to buy
When you don't need this — Kajabi → PostHog
- Measure identifier coverage yourself first — pull your last hundred purchases and count how many carry the distinct_id.
- If you sell a single low-priced offer, Kajabi's own reporting will tell you what you need.
- 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.
Kajabi → PostHog · what we deliver
What gets built — Kajabi → PostHog
Identifier capture into Kajabi
Capture the identifier on the Kajabi landing page, store it in a custom field on the contact, and confirm it appears on the resulting purchase record.
Event source: the Kajabi purchase webhook
Send from the webhook rather than a thank-you page, and distinguish one-time offers from payment plans and subscriptions so each carries the right value.
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
Refunds and subscription cancellations are recorded and should reduce the reported figure — refund rates on high-ticket course offers are meaningful.
Written guarantee
95%+ tracking accuracy
Measured against Kajabi's purchase and subscription records for the same window.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Kajabi → PostHog questions, answered
Through Kajabi's custom header code. Check that it loads on checkout and member pages if you need those.
Store the distinct_id in a Kajabi custom field at opt-in or checkout, then capture the purchase server-side from the webhook with that distinct_id.
Almost always because the distinct_id never reached the Kajabi offer purchase. Kajabi hosts the landing pages, the checkout and the member area. The identifier has to be captured on the Kajabi page itself and carried into the purchase through its supported custom fields, since there is no separate site to capture it on. 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 Kajabi purchase webhook. Send from the webhook rather than a thank-you page, and distinguish one-time offers from payment plans and subscriptions so each carries the right value.
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 Kajabi → PostHog
- Kajabi → Google AdsConnecting Kajabi to Google Ads
- Kajabi → MetaConnecting Kajabi to Meta Conversions API
- Kajabi → GA4Connecting Kajabi to GA4
RELATED GUIDES
Where Kajabi → PostHog fits in the rest of your tracking
- Podia → PostHogConnecting Podia to PostHog
- Teachable → PostHogConnecting Teachable to PostHog
- Circle → PostHogConnecting Circle to PostHog
- Kajabi → Adobe AnalyticsConnecting Kajabi to Adobe Analytics
- Kajabi → MixpanelConnecting Kajabi to Mixpanel
- MembershipsConversion tracking for membership communities, past the first month
- Patreon → PostHogConnecting Patreon to PostHog
- ClickFunnels → PostHogConnecting ClickFunnels to PostHog
Free · 30 min
Get Kajabi and PostHog joined properly
Free30 minutesNo obligation
