Connecting Phorest to GA4
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. GA4 is where the business goes to understand what happened, which makes an unattributed conversion there expensive in decisions rather than in ad spend. The join between them succeeds or fails on one thing: whether the GA4 client_id reaches the Phorest appointment before the conversion happens, because GA4 can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Phorest in GA4: first-visit purchase, visit number as a dimension
Read client_id and session_id on your site before the hosted Phorest booking and store them on the client's first online booking. Send generate_lead or a booking event at booking and purchase with service value on completion through Measurement Protocol, with visit number as a custom dimension. Never send front-desk rebookings; refund first-visit no-shows on the same transaction_id.
Phorest's online booking is hosted, so read the client_id and session_id on your own salon site before the visitor clicks Book, then store them against the Phorest client the first time that client books online. Send the first appointment to GA4 through Measurement Protocol when the booking is made, as generate_lead or a booking event, and send purchase with the service value when the appointment is completed. Check whether Phorest lets you add a GA4 ID to its booking pages, and if so make sure only one side sends each event.
Attach the client's visit number as a parameter registered as a custom dimension. That one field lets GA4 show acquisition from first visits and retention from everything after, in the same property, without crediting a twelfth haircut to the paid search session from last year.
Front-desk rebookings, which are most of a salon's appointments, have no browser session. Do not send them through Measurement Protocol with the client's stored client_id from the original online booking: GA4 would attribute them to an old session or reject the late timestamp, and either way your acquisition channel absorbs your retention revenue. Report repeat visits and client lifetime value from Phorest. Cancellations and no-shows of a first visit should go back as a refund on the same transaction_id.
Phorest → GA4 · what breaks
Why this join usually fails — Phorest → GA4
- 01
The GA4 client_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
Everything lands under (direct)/(none)
The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.
- 04
Nothing reconciles afterwards
GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.
Phorest → GA4 · the fix
What working looks like — Phorest → GA4
The GA4 client_id on every appointment
Conversions arriving in GA4
Conversions appear in GA4 attributed to the original session's source and medium, so acquisition reporting reflects what actually drove revenue.
Reconciled against the source
Phorest → GA4 · architecture
How Phorest and GA4 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
GA4 needs a click to match
GA4 needs the client_id to attach a server event to the user and session that produced the click. Without it there is no attribution to inherit and the event is orphaned.
- 3
The identifier is the bridge
The GA4 client_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
GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.
Phorest → GA4 · normal or broken
Working vs. broken, side by side — Phorest → GA4
Normal, not a fault
The GA4 client_id present on the appointment
Sent from the Phorest appointment record
Deduplicated correctly
GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.
Reconciles with the source
Actually broken
The GA4 client_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 classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.
Nobody has reconciled it
Phorest → GA4 · diagnose
Diagnostic order — Phorest → GA4
- 01
Count appointments carrying the GA4 client_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 whether server events carry a session and a source
In GA4 Realtime or DebugView, find the event and look at its session and traffic source. A brand-new user with no source on every server event is the missing-client_id signature.
- 05
Read the match rate, not the success message
GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.
Phorest → GA4 · prove
How it gets proven — Phorest → GA4
Source of truth
Phorest appointments by service date, with client visit number attached.
- The GA4 client_id confirmed present on a live appointment.
- Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
- First visits reconciled against imported conversions, with repeat revenue reported separately.
Phorest → GA4 · free audit
What we check in the free audit
- Count appointments carrying the GA4 client_id
- Follow one real conversion end to end
- Check whether repeat appointments carry the first identifier
- Check whether server events carry a session and a source
- Read the match rate, not the success message
Checked against
Phorest appointments by service date, with client visit number attached.
Free30 minutesNo obligation
Phorest → GA4 · when not to buy
When you don't need this — Phorest → GA4
- Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry the GA4 client_id.
- If you are not running acquisition campaigns at all, the retention reporting inside Phorest is the right tool and no integration is needed.
- GA4 is reporting, not bidding. If your problem is ad platform optimization, fix the ad platform destination first — GA4 will not change what any campaign does.
Phorest → GA4 · what we deliver
What gets built — Phorest → GA4
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 GA4
Measurement Protocol events with the client_id, session_id and the correct measurement ID and API secret, sent server-side.
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 → GA4 questions, answered
Yes, if you capture the GA4 client_id on your site before the hand-off and send the booking server-side. Front-desk rebookings have no session and should stay out of GA4.
Send the visit number as an event parameter and register it as a custom dimension, then filter on first visits for acquisition reporting.
Almost always because the GA4 client_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.
The client_id, from the _ga cookie. Measurement Protocol events without it are rejected or create a brand-new user with no session and no source, which is how server events end up filed under (direct)/(none) and make paid channels look worse than they are. Send session_id alongside it so the event joins the existing session, and include engagement_time_msec or the event may not appear as expected in reports.
The Phorest appointment record. Send first visits as the acquisition conversion. Report subsequent visits as client lifetime value in a separate figure.
GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.
More on Phorest → GA4
- Stripe → GA4Connecting Stripe to GA4
- PayPal → GA4Connecting PayPal to GA4
- HubSpot → GA4Connecting HubSpot to GA4
Using Phorest for bookings? How Phorest bookings get tracked end to end
RELATED GUIDES
Where Phorest → GA4 fits in the rest of your tracking
- Mindbody → GA4Connecting Mindbody to GA4
- Booksy → GA4Connecting Booksy to GA4
- Fresha → GA4Connecting Fresha to GA4
- Phorest → PostHogConnecting Phorest to PostHog
- Phorest → AmplitudeConnecting Phorest to Amplitude
- Massage and wellnessConversion tracking for massage studios, measured in memberships
- Treatwell → GA4Connecting Treatwell to GA4
- Boulevard → GA4Connecting Boulevard to GA4
Free · 30 min
Get Phorest and GA4 joined properly
Free30 minutesNo obligation
