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
- 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.
- 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.
- 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.
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
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
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 Phorest appointment.
- 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
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
- 01
Count appointments carrying the distinct_id
- 02
Follow one real conversion end to end
- 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.
- 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.
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.
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.
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.
No. Booking runs on Phorest's hosted pages, so PostHog sees your site up to the Book click.
Almost always because the distinct_id never reached the Phorest appointment. Online booking is Phorest-hosted, and the rebooking that generates most appointments happens at the front desk with no browser involved. 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 Phorest appointment record. Send first visits as the acquisition conversion. Report subsequent visits as client lifetime value in a separate figure.
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 Phorest → PostHog
- Phorest → Google AdsConnecting Phorest to Google Ads
- Phorest → MetaConnecting Phorest to Meta Conversions API
- Phorest → GA4Connecting Phorest to GA4
Using Phorest for bookings? How Phorest bookings get tracked end to end
RELATED GUIDES
Where Phorest → PostHog fits in the rest of your tracking
- Booksy → PostHogConnecting Booksy to PostHog
- Bookedin → PostHogConnecting Bookedin to PostHog
- Zenoti → PostHogConnecting Zenoti to PostHog
- Phorest → MixpanelConnecting Phorest to Mixpanel
- Phorest → Adobe AnalyticsConnecting Phorest to Adobe Analytics
- Massage and wellnessConversion tracking for massage studios, measured in memberships
- Fresha → PostHogConnecting Fresha to PostHog
- Boulevard → PostHogConnecting Boulevard to PostHog
Free · 30 min
Get Phorest and PostHog joined properly
Free30 minutesNo obligation
