Skip to main content
Solutionreach → PostHogIntegration guide

Connecting Solutionreach to PostHog

Solutionreach exists to fill and confirm medical and dental appointments, which means almost everything it touches is protected health information and the tracking has to be built around what must never leave. 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 Solutionreach 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

Solutionreach and PostHog: mask the booking form first

Before using PostHog on the online booking flow, mask all inputs on booking pages and confirm it in a recorded test session, since replay can capture reasons for visit. Self-host, or confirm a BAA on PostHog Cloud. Store the booking distinct_id against the appointment and send an attended event server-side with an event UUID and no clinical properties.

PostHog is most useful to a practice for the online booking flow and any patient portal it controls: where people abandon a request, which steps confuse them. The risk is session replay. Depending on settings, replay can capture what a patient typed into the reason-for-visit box, and a symptom stored in a replay is protected health information sitting in an analytics tool. Mask all inputs on booking pages and confirm it by watching a recorded test session.

Self-hosting PostHog keeps that data on your own infrastructure; PostHog Cloud may offer a business associate agreement on some plans, so confirm in writing before relying on it. The join for attended visits is the distinct_id from the booking session, stored against the appointment, followed by a server-side capture call when the practice management system marks the visit attended. Supply an event UUID so a retried batch does not double the count.

Keep the properties dull: one attended event, no appointment type, no provider, no clinic location that implies a specialty. A funnel from booking request to attended visit is the point, and it works without any clinical field. Send cancellations and no-shows from the practice management system as their own events and read the attended rate as an insight.

Solutionreach → PostHog · what breaks

Why this join usually fails — Solutionreach → PostHog

  1. 01

    The distinct_id never reaches Solutionreach

    Confirmations and reminders go out by SMS and email and are acted on days later on a phone that never saw your website.

  2. 02

    Appointment type sent as a conversion label

    It is the default thing to do and it is a disclosure. "Booked: oncology consult" arriving in an ad platform tied to a click identifier is protected health information leaving your control, and no business benefit justifies it.

  3. 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.

  4. 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.

Solutionreach → PostHog · the fix

What working looks like — Solutionreach → 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

Solutionreach → PostHog · architecture

How Solutionreach and PostHog actually connect

  1. 1

    Solutionreach holds the truth

    A count and a value. Never the appointment type, never the provider's specialty, never a procedure code — those describe a person's health and have no business in an ad platform under any configuration.

  2. 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. 3

    The identifier is the bridge

    The distinct_id, captured at the visit and carried into the Solutionreach appointment.

  4. 4

    The event source decides reliability

    Send attended appointments as an undifferentiated count. One event, one value, no type attached.

  5. 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.

Solutionreach → PostHog · normal or broken

Working vs. broken, side by side — Solutionreach → PostHog

Normal, not a fault

  • The distinct_id present on the appointment

  • Sent from your practice management 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

    Confirmations and reminders go out by SMS and email and are acted on days later on a phone that never saw your website.

  • Sent from the browser

    It is the default thing to do and it is a disclosure. "Booked: oncology consult" arriving in an ad platform tied to a click identifier is protected health information leaving your control, and no business benefit justifies it.

  • 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

Solutionreach → PostHog · diagnose

Diagnostic order — Solutionreach → PostHog

  1. 01

    Count appointments carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Read what is actually in the conversion payload

    Not what the documentation says is sent — the real payload, field by field. Do this before touching anything else.

  4. 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.

  5. 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.

Solutionreach → PostHog · prove

How it gets proven — Solutionreach → PostHog

Source of truth

Attended appointments in your practice management system, counted rather than described.

  • 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.
  • Attended appointment counts reconciled against imported conversions, with the payload demonstrated to carry no clinical field.

Solutionreach → PostHog · free audit

What we check in the free audit

  • Count appointments carrying the distinct_id
  • Follow one real conversion end to end
  • Read what is actually in the conversion payload
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Attended appointments in your practice management system, counted rather than described.

Get my free conversion tracking audit

Free30 minutesNo obligation

Solutionreach → PostHog · when not to buy

When you don't need this — Solutionreach → PostHog

  • Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry the distinct_id.
  • If you cannot guarantee the payload stays clean, do not build this. Report appointment volume internally and optimize on clicks. That is a worse campaign and the correct decision.
  • 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.

Solutionreach → PostHog · what we deliver

What gets built — Solutionreach → PostHog

  • Identifier capture into Solutionreach

    Capture the identifier at the original online booking and persist it against the patient record inside your own systems, so the attended visit weeks later still resolves without any of the clinical detail travelling with it.

  • Event source: your practice management system

    Send attended appointments as an undifferentiated count. One event, one value, no type attached.

  • 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, and in this sector no-show rates are high enough that ignoring them badly overstates results.

Written guarantee

95%+ tracking accuracy

Measured against Attended appointments in your practice management system, counted rather than described.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Solutionreach → PostHog questions, answered

It can, depending on your masking settings. Mask every input on booking and portal pages and verify by watching a test replay before going live.

Free · 30 min

Get Solutionreach and PostHog joined properly

Free30 minutesNo obligation