Connecting Mindbody to PostHog
Mindbody runs booking, payments and memberships for a large share of fitness and wellness businesses, whose economics are entirely about retention. 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 Mindbody client record 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 the studio site, Mindbody sales joined by distinct_id
Session replay goes blank inside Mindbody's widget, so finish the funnel server-side. Identify visitors by email on a short claim-the-intro form, then post intro purchased and membership sold from Mindbody with that email as distinct_id and an event UUID from the sale ID. Send visits too, to measure retention by acquisition source.
PostHog is useful to a Mindbody business for the part of the funnel you own: which pages, offers and schedules lead people to open the booking widget. Session replay will show someone reaching the widget and then go blank or stop, because the widget's content is served by Mindbody. Do not mistake the end of the recording for the end of the journey.
To finish the funnel, send Mindbody sales to PostHog server-side. The join needs an identity at both ends. Identify visitors by email on your own page before the widget, where a short claim-the-intro-offer form works well, and use that email as the distinct_id when posting intro purchased and membership sold from Mindbody, with an event UUID derived from the Mindbody sale ID so retried webhooks do not double. Visitors who go straight into the widget without identifying stay anonymous and cannot be joined.
The analysis worth building is retention by acquisition source: of intro buyers from each landing page or campaign, how many attended twice and how many bought a membership. Send visits from Mindbody as events so PostHog can compute it. If you self-host, check ingestion lag before concluding that a week of sales is missing.
Mindbody → PostHog · what breaks
Why this join usually fails — Mindbody → PostHog
- 01
The distinct_id never reaches Mindbody
The booking widget is usually on a Mindbody domain, so cookies do not cross. On top of that the Mindbody consumer app produces bookings that never touch your website at all and carry no identifier by construction.
- 02
App bookings that no ad can claim
The Mindbody marketplace and app produce real bookings with no click identifier. For many studios this is a large share, and it should be reported as its own channel rather than dragging measured coverage down.
- 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.
Mindbody → PostHog · the fix
What working looks like — Mindbody → PostHog
The distinct_id on every sale
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Mindbody → PostHog · architecture
How Mindbody and PostHog actually connect
- 1
Mindbody holds the truth
Attendance during an intro period is the strongest predictor of conversion to membership available anywhere in this category, and Mindbody records 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 Mindbody client record.
- 4
The event source decides reliability
Fire on membership or package sold rather than class booked — class bookings include your existing members, and sending them teaches the algorithm to find people who already pay you.
- 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.
Mindbody → PostHog · normal or broken
Working vs. broken, side by side — Mindbody → PostHog
Normal, not a fault
The distinct_id present on the sale
Sent from the Mindbody sale 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
The booking widget is usually on a Mindbody domain, so cookies do not cross. On top of that the Mindbody consumer app produces bookings that never touch your website at all and carry no identifier by construction.
Sent from the browser
The Mindbody marketplace and app produce real bookings with no click identifier. For many studios this is a large share, and it should be reported as its own channel rather than dragging measured coverage down.
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
Mindbody → PostHog · diagnose
Diagnostic order — Mindbody → PostHog
- 01
Count sales carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Measure the share of bookings coming from the app and marketplace
That share is your attribution ceiling and it is usually larger than owners expect.
- 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.
Mindbody → PostHog · prove
How it gets proven — Mindbody → PostHog
Source of truth
Mindbody's sales records — memberships and packages sold by date — cross-checked against visit records.
- The distinct_id confirmed present on a live sale.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- A booking through the hosted widget with the identifier confirmed on the Mindbody client record.
Mindbody → PostHog · free audit
What we check in the free audit
- Count sales carrying the distinct_id
- Follow one real conversion end to end
- Measure the share of bookings coming from the app and marketplace
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Mindbody's sales records — memberships and packages sold by date — cross-checked against visit records.
Free30 minutesNo obligation
Mindbody → PostHog · when not to buy
When you don't need this — Mindbody → PostHog
- Measure identifier coverage yourself first — pull your last hundred sales and count how many carry the distinct_id.
- If most of your bookings come through the Mindbody app, measure that share first — it may show paid is a small slice and this is not the priority.
- 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.
Mindbody → PostHog · what we deliver
What gets built — Mindbody → PostHog
Identifier capture into Mindbody
Pass the identifier into the hosted widget through its supported parameters and store it on the Mindbody client record so it survives the intro period into the eventual membership sale.
Event source: the Mindbody sale webhook
Fire on membership or package sold rather than class booked — class bookings include your existing members, and sending them teaches the algorithm to find people who already pay you.
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 reverse the tenure value claimed at the sale, which matters because retention is the entire business model.
Written guarantee
95%+ tracking accuracy
Measured against Mindbody's sales records — memberships and packages sold by date — cross-checked against visit records.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Mindbody → PostHog questions, answered
Generally not. The widget content is served by Mindbody, so replay stops where the widget begins.
Identify visitors by email on your own page before the widget, then send Mindbody sales server-side with that email as the distinct_id.
Almost always because the distinct_id never reached the Mindbody client record. The booking widget is usually on a Mindbody domain, so cookies do not cross. On top of that the Mindbody consumer app produces bookings that never touch your website at all and carry no identifier by construction. 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 Mindbody sale webhook. Fire on membership or package sold rather than class booked — class bookings include your existing members, and sending them teaches the algorithm to find people who already pay you.
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 Mindbody → PostHog
- Mindbody → Google AdsConnecting Mindbody to Google Ads
- Mindbody → MetaConnecting Mindbody to Meta Conversions API
- Mindbody → GA4Connecting Mindbody to GA4
RELATED GUIDES
Where Mindbody → PostHog fits in the rest of your tracking
- Treatwell → PostHogConnecting Treatwell to PostHog
- Zenoti → PostHogConnecting Zenoti to PostHog
- GlossGenius → PostHogConnecting GlossGenius to PostHog
- Mindbody → AmplitudeConnecting Mindbody to Amplitude
- Mindbody → Adobe AnalyticsConnecting Mindbody to Adobe Analytics
- Massage and wellnessConversion tracking for massage studios, measured in memberships
- Boulevard → PostHogConnecting Boulevard to PostHog
- Bookedin → PostHogConnecting Bookedin to PostHog
Free · 30 min
Get Mindbody and PostHog joined properly
Free30 minutesNo obligation
