Connecting Phorest to BigQuery
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. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the Phorest appointment before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Phorest appointments in BigQuery: first visits and lifetime value
Load Phorest appointments into BigQuery keyed by appointment ID, with client ID, branch, service, staff, status, service and booking dates, visit number and price, plus clients with the source and click identifier captured at first online booking. First visits per campaign and lifetime value by source become queries. Keep cancellations and no-shows as statuses.
BigQuery is the best destination for Phorest data, because it can hold the two numbers a salon needs and ad platforms cannot: first visits per campaign and the lifetime revenue those clients went on to produce. Load appointments keyed by appointment ID with client ID, branch, service, staff, status, service date, booking date, visit number and price, and load clients separately with the acquisition source and click identifier captured at their first online booking.
Acquisition is then a query on visit number one, joined to the client's stored click ID. Lifetime value is the sum of later completed visits for the same client, grouped by that same source, and it never needs to be sent to an ad platform. Keep cancellations and no-shows as statuses rather than deleting rows, because a campaign that books first visits who never show up is a finding, not noise.
Check how you can get data out of Phorest before designing this; access to its API may need to be arranged with Phorest, and exports may be the practical starting point. Rebookings made at the front desk will have no click ID, which is correct. A gap in the click column on repeat visits is the system working as intended.
Phorest → BigQuery · what breaks
Why this join usually fails — Phorest → BigQuery
- 01
Whatever join key you decide on 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
The warehouse quietly disagreeing with every platform
This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.
- 04
Nothing reconciles afterwards
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
Phorest → BigQuery · the fix
What working looks like — Phorest → BigQuery
Whatever join key you decide on on every appointment
Conversions arriving in BigQuery
The row lands in a table you own, joinable to every other table you own, with no window and no expiry.
Reconciled against the source
Phorest → BigQuery · architecture
How Phorest and BigQuery 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
BigQuery needs a click to match
BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.
- 3
The identifier is the bridge
Whatever join key you decide on, 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
Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.
Phorest → BigQuery · normal or broken
Working vs. broken, side by side — Phorest → BigQuery
Normal, not a fault
Whatever join key you decide on present on the appointment
Sent from the Phorest appointment record
Deduplicated correctly
Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.
Reconciles with the source
Actually broken
Whatever join key you decide on 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
This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.
Nobody has reconciled it
Phorest → BigQuery · diagnose
Diagnostic order — Phorest → BigQuery
- 01
Count appointments carrying whatever join key you decide on
- 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
Reconcile warehouse order counts against each platform for one closed window
The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.
- 05
Read the match rate, not the success message
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
Phorest → BigQuery · prove
How it gets proven — Phorest → BigQuery
Source of truth
Phorest appointments by service date, with client visit number attached.
- Whatever join key you decide on confirmed present on a live appointment.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- First visits reconciled against imported conversions, with repeat revenue reported separately.
Phorest → BigQuery · free audit
What we check in the free audit
- Count appointments carrying whatever join key you decide on
- Follow one real conversion end to end
- Check whether repeat appointments carry the first identifier
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Phorest appointments by service date, with client visit number attached.
Free30 minutesNo obligation
Phorest → BigQuery · when not to buy
When you don't need this — Phorest → BigQuery
- Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry whatever join key you decide on.
- 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 one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.
Phorest → BigQuery · what we deliver
What gets built — Phorest → BigQuery
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 BigQuery
Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.
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 → BigQuery questions, answered
The Phorest client ID links appointments to the acquisition source and click identifier stored at the first online booking. Appointment ID keys the visits themselves.
Attribute visit one to the stored click ID, then sum later completed visits for those clients by the same source in BigQuery. Do not send repeat visits to ad platforms.
Almost always because whatever join key you decide on 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.
There is no vendor identifier here. You choose the key — order ID, user ID, click identifier, hashed email — and you live with the consequences. That is the whole appeal and the whole risk: nothing is standardised for you and nothing is silently wrong in a vendor's favour either.
The Phorest appointment record. Send first visits as the acquisition conversion. Report subsequent visits as client lifetime value in a separate figure.
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
More on Phorest → BigQuery
- 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 → BigQuery fits in the rest of your tracking
- Treatwell → BigQueryConnecting Treatwell to BigQuery
- GlossGenius → BigQueryConnecting GlossGenius to BigQuery
- Booksy → BigQueryConnecting Booksy to BigQuery
- Phorest → SnowflakeConnecting Phorest to Snowflake
- Phorest → SegmentConnecting Phorest to Segment
- Salons and barbersConversion tracking for salons and barbershops, measured in repeat clients
- Fresha → BigQueryConnecting Fresha to BigQuery
- Bookedin → BigQueryConnecting Bookedin to BigQuery
Free · 30 min
Get Phorest and BigQuery joined properly
Free30 minutesNo obligation
