Connecting Luma Health to PostHog
Luma Health automates patient outreach — waitlists, recalls, referrals — which means most of the appointments it generates come from patients you already had. 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 Luma Health appointment 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
Luma Health to PostHog: funnel to the handoff, then server-side
PostHog's funnel ends at the handoff to Luma Health scheduling. Store the distinct_id at first contact against the new patient, then send a server-side capture when the first appointment is attended, with an event UUID derived from the appointment ID. Self-host or confirm a BAA, mask or disable session replay and autocapture near scheduling, and report new patients only.
PostHog is good at showing where people drop out of a web flow, and practices usually want that for the path from a service page to "book appointment." The funnel ends where your site hands off to Luma Health scheduling: if booking completes on a Luma-hosted page, PostHog's distinct_id stays behind and the funnel's last step is a click, not an appointment.
Closing it means storing the distinct_id at first contact against the new patient, then sending a server-side capture with that distinct_id when the practice system shows the first appointment attended, with an event UUID derived from the appointment ID so retries collapse. Self-hosted PostHog keeps that inside your infrastructure; on PostHog Cloud, check whether a BAA is available for your plan before sending anything appointment-related.
Two PostHog features need attention on these pages. Session replay records what patients see and type, including symptoms in a contact form, so disable it near scheduling or mask every input. Autocapture can store button text and URLs that name conditions, so turn it off there or filter it. Then report new patients only: a recall event in a funnel makes a blog post from years ago look like it books patients today.
Luma Health → PostHog · what breaks
Why this join usually fails — Luma Health → PostHog
- 01
The distinct_id never reaches Luma Health
Outreach happens over SMS and email, days or months after any web session, on devices that never carried your identifier.
- 02
Recall volume inflating acquisition
Automated recall is very effective, which is exactly why letting it flow into the paid conversion count is so distorting — the better the recall program works, the better your ads appear to perform.
- 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.
Luma Health → PostHog · the fix
What working looks like — Luma Health → PostHog
The distinct_id on every appointment
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Luma Health → PostHog · architecture
How Luma Health and PostHog actually connect
- 1
Luma Health holds the truth
A recall is retention automation working. Crediting it to an acquisition campaign, sometimes years after the click, makes that campaign look extraordinary and tells you nothing you can act on.
- 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 Luma Health appointment.
- 4
The event source decides reliability
Send new-patient attended appointments as the acquisition event. Recalls belong in a retention figure, counted separately and without clinical detail.
- 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.
Luma Health → PostHog · normal or broken
Working vs. broken, side by side — Luma Health → PostHog
Normal, not a fault
The distinct_id present on the appointment
Sent from your practice system
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
Outreach happens over SMS and email, days or months after any web session, on devices that never carried your identifier.
Sent from the browser
Automated recall is very effective, which is exactly why letting it flow into the paid conversion count is so distorting — the better the recall program works, the better your ads appear to perform.
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
Luma Health → PostHog · diagnose
Diagnostic order — Luma Health → PostHog
- 01
Count appointments carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Split appointments into new versus returning patients
One field. It usually halves the acquisition number and makes it real.
- 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.
Luma Health → PostHog · prove
How it gets proven — Luma Health → PostHog
Source of truth
Attended appointments in the practice system, split into new patients and recalls.
- The distinct_id confirmed present on a live appointment.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- New-patient attended appointments reconciled against imported conversions.
Luma Health → PostHog · free audit
What we check in the free audit
- Count appointments carrying the distinct_id
- Follow one real conversion end to end
- Split appointments into new versus returning patients
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Attended appointments in the practice system, split into new patients and recalls.
Free30 minutesNo obligation
Luma Health → PostHog · when not to buy
When you don't need this — Luma Health → PostHog
- Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry the distinct_id.
- If you are not running acquisition campaigns, Luma's own reporting answers the recall question and no integration is needed.
- 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.
Luma Health → PostHog · what we deliver
What gets built — Luma Health → PostHog
Identifier capture into Luma Health
Capture at first contact and store against the patient, then report acquisition on new patients only.
Event source: your practice system
Send new-patient attended appointments as the acquisition event. Recalls belong in a retention figure, counted separately and without clinical detail.
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 no-shows reverse.
Written guarantee
95%+ tracking accuracy
Measured against Attended appointments in the practice system, split into new patients and recalls.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Luma Health → PostHog questions, answered
No, or only with every input masked and compliance sign-off, because replays can capture health details patients type.
Booking completes in Luma's scheduling flow, outside your site. Send the attended appointment server-side with the stored distinct_id to close it.
Almost always because the distinct_id never reached the Luma Health appointment. Outreach happens over SMS and email, days or months after any web session, on devices that never carried your identifier. 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.
Your practice system. Send new-patient attended appointments as the acquisition event. Recalls belong in a retention figure, counted separately and without clinical detail.
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 Luma Health → PostHog
- Luma Health → Google AdsConnecting Luma Health to Google Ads
- Luma Health → MetaConnecting Luma Health to Meta Conversions API
- Luma Health → GA4Connecting Luma Health to GA4
Using Luma Health for bookings? How Luma Health bookings get tracked end to end
RELATED GUIDES
Where Luma Health → PostHog fits in the rest of your tracking
- Solutionreach → PostHogConnecting Solutionreach to PostHog
- Dentrix Ascend → PostHogConnecting Dentrix Ascend to PostHog
- NexHealth → PostHogConnecting NexHealth to PostHog
- Luma Health → Adobe AnalyticsConnecting Luma Health to Adobe Analytics
- Luma Health → GA4Connecting Luma Health to GA4
- DermatologyConversion tracking for dermatology, split medical from cosmetic
- Zocdoc → PostHogConnecting Zocdoc to PostHog
- Weave → PostHogConnecting Weave to PostHog
Free · 30 min
Get Luma Health and PostHog joined properly
Free30 minutesNo obligation
