Skip to main content
Weave → PostHogIntegration guide

Connecting Weave to PostHog

Weave combines the practice phone system with messaging and scheduling, which makes it one of the few places where the call that actually books the patient is a measurable event. 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 Weave call or booking 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 a practice website: mask the booking form

Use PostHog for the website booking flow only, masking all form inputs or disabling session replay on booking pages. Keep an anonymous distinct_id; don't identify visitors by email. To connect a web booking to attendance, send a generic visit-attended event server-side with the same distinct_id and a random event UUID. Phone bookings through Weave stay out.

PostHog fits one part of a Weave practice's measurement: the online booking flow on the website, where you can see where people abandon the form. It cannot see the larger share of bookings that happen on the phone. Use it to fix the web form, and use tracked numbers and the practice system for calls, rather than trying to make PostHog the source of truth for patients.

Session replay is the specific hazard. A replay of a booking form can capture name, date of birth, insurance and reason for visit as the patient types, which turns your analytics into a store of health information. Mask all form inputs, or disable replay on booking pages entirely, and make sure autocapture is not recording the text of the reason-for-visit field. If you need PostHog Cloud with patient-linked data, confirm whether a business associate agreement is available for your plan; self-hosting avoids that question but leaves you running the instance.

For the join, use an anonymous distinct_id and do not identify visitors with their email. If you want to connect a web booking to whether the appointment was attended, send a generic visit-attended event server-side with the same distinct_id and a random event UUID, carrying no appointment type. Phone bookings through Weave stay out of PostHog.

Weave → PostHog · what breaks

Why this join usually fails — Weave → PostHog

  1. 01

    The distinct_id never reaches Weave

    A call carries no cookie. The join has to be made on the phone number, which means the identifier must already be attached to the number that was dialled.

  2. 02

    Counting calls instead of patients

    A call is not a booking. Wrong numbers, existing patients rescheduling, sales calls and hang-ups all land in the same total, and optimizing toward call volume buys you more of all of them.

  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.

Weave → PostHog · the fix

What working looks like — Weave → PostHog

  • The distinct_id on every booking

  • Conversions arriving in PostHog

    The event lands on the person profile and becomes available in insights, funnels and session replay.

  • Reconciled against the source

Weave → PostHog · architecture

How Weave and PostHog actually connect

  1. 1

    Weave holds the truth

    In dental and optometry the phone is still the dominant booking channel. A measurement plan that only counts online bookings is measuring the minority of the business.

  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 Weave call or booking.

  4. 4

    The event source decides reliability

    Send attended appointments as a plain count. Call duration is a useful internal quality signal and is not a conversion.

  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.

Weave → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

  • 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

    A call carries no cookie. The join has to be made on the phone number, which means the identifier must already be attached to the number that was dialled.

  • Sent from the browser

    A call is not a booking. Wrong numbers, existing patients rescheduling, sales calls and hang-ups all land in the same total, and optimizing toward call volume buys you more of all of them.

  • 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

Weave → PostHog · diagnose

Diagnostic order — Weave → PostHog

  1. 01

    Count bookings carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure what share of calls become attended appointments

    It is usually far lower than expected, and the ratio differs enormously by campaign.

  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.

Weave → PostHog · prove

How it gets proven — Weave → PostHog

Source of truth

Attended appointments in the practice system, joined to the Weave call or message that produced them.

  • The distinct_id confirmed present on a live booking.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Attended appointments reconciled against imported conversions, with raw call volume reported separately.

Weave → PostHog · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Measure what share of calls become attended appointments
  • 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, joined to the Weave call or message that produced them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Weave → PostHog · when not to buy

When you don't need this — Weave → PostHog

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • A practice that books almost entirely online does not need call tracking, and adding it introduces a PHI surface for no gain.
  • 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.

Weave → PostHog · what we deliver

What gets built — Weave → PostHog

  • Identifier capture into Weave

    Use dynamic number insertion so the number displayed carries the session, then persist the identifier against the patient record when the call converts.

  • Event source: your practice management system

    Send attended appointments as a plain count. Call duration is a useful internal quality signal and is not a conversion.

  • 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, joined to the Weave call or message that produced them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Weave → PostHog questions, answered

Yes, if form inputs are not masked. Mask every input or disable replay on booking pages so names, dates of birth and reasons for visit are never recorded.

Free · 30 min

Get Weave and PostHog joined properly

Free30 minutesNo obligation