Skip to main content
Phorest → PostHogIntegration guide

Connecting Phorest to PostHog

Phorest is built around salon client retention — rebooking rates, loyalty, review requests — which means it produces a great deal of repeat revenue that must not be credited to an acquisition click. 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 Phorest 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

Phorest to PostHog: cohorts of first visits that rebook

PostHog can show whether a campaign's new clients come back. Identify site visitors by email or phone, then send each completed Phorest appointment server-side with a distinct_id from that key, the appointment ID as event UUID, and visit number, service category and branch, so first-visit cohorts can be followed. Session replay stops at Phorest's hosted booking pages.

PostHog is most useful to a salon for one analysis Phorest does not give you by acquisition source: of the new clients a campaign brought in, how many came back. That needs the site visit and the appointments on the same person. Identify visitors on your site with the client's email or phone when they submit anything, and send Phorest appointments server-side to the capture API with a distinct_id derived from that same key, so the server events join the browser history.

Send each completed appointment as one event with the appointment ID as the event UUID, carrying visit number, service category and branch. Then a cohort of clients whose first visit followed a given campaign can be followed through visits two and three. A campaign that brings first visits but no second visits is buying one-off discount seekers, which shows up nowhere in a platform reporting first visits.

PostHog sees nothing inside Phorest's hosted booking pages, so session replay ends at the Book click. Use it on your own pages, the price list, stylist profiles and new-client offer, to find where visitors leave before booking.

Phorest → PostHog · what breaks

Why this join usually fails — Phorest → PostHog

  1. 01

    The distinct_id never reaches Phorest

    Online booking is Phorest-hosted, and the rebooking that generates most appointments happens at the front desk with no browser involved.

  2. 02

    A single click credited with two years of loyalty

    Salons have genuinely high repeat rates, which is exactly why sending every appointment with the original identifier produces absurd return figures that no one can act on.

  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.

Phorest → PostHog · the fix

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

Phorest → PostHog · architecture

How Phorest and PostHog actually connect

  1. 1

    Phorest holds the truth

    Visit number is the field that matters. A client's twelfth appointment is retention working; crediting it to the ad that produced visit one, eighteen months earlier, makes that campaign look extraordinary and tells you nothing actionable.

  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 Phorest appointment.

  4. 4

    The event source decides reliability

    Send first visits as the acquisition conversion. Report subsequent visits as client lifetime value in a separate figure.

  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.

Phorest → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the appointment

  • Sent from the Phorest appointment record

  • 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

    Online booking is Phorest-hosted, and the rebooking that generates most appointments happens at the front desk with no browser involved.

  • Sent from the browser

    Salons have genuinely high repeat rates, which is exactly why sending every appointment with the original identifier produces absurd return figures that no one can act on.

  • 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

Phorest → PostHog · diagnose

Diagnostic order — Phorest → PostHog

  1. 01

    Count appointments carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether repeat appointments carry the first identifier

    In retention-focused systems this is the default behavior, and it is almost never what anyone intended.

  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.

Phorest → PostHog · prove

How it gets proven — Phorest → PostHog

Source of truth

Phorest appointments by service date, with client visit number attached.

  • 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.
  • First visits reconciled against imported conversions, with repeat revenue reported separately.

Phorest → PostHog · free audit

What we check in the free audit

  • Count appointments carrying the distinct_id
  • Follow one real conversion end to end
  • Check whether repeat appointments carry the first identifier
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Phorest appointments by service date, with client visit number attached.

Get my free conversion tracking audit

Free30 minutesNo obligation

Phorest → PostHog · when not to buy

When you don't need this — Phorest → 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 at all, the retention reporting inside Phorest is the right tool 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.

Phorest → PostHog · what we deliver

What gets built — Phorest → PostHog

  • Identifier capture into Phorest

    Capture the identifier on the first online booking and store it against the client, then report acquisition on first visits only.

  • Event source: the Phorest appointment record

    Send first visits as the acquisition conversion. Report subsequent visits as client lifetime value in a separate figure.

  • 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 Phorest appointments by service date, with client visit number attached.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Phorest → PostHog questions, answered

Yes, if site visitors are identified with the same key used as distinct_id on server-sent Phorest appointments. Cohort first visits by campaign and track visits two and three.

Free · 30 min

Get Phorest and PostHog joined properly

Free30 minutesNo obligation