Skip to main content
Squire → PostHogIntegration guide

Connecting Squire to PostHog

Squire is built for barbershops where clients book a specific barber, which means the shop's advertising fills individual chairs and a fully booked barber cannot absorb more demand. 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 Squire 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

Squire with PostHog: where clients drop before the booking page

PostHog stops at the click into Squire, so capture the booking click with barber and location properties. Close the loop by carrying the distinct_id into the Squire link if Squire's export returns it, or import completed first visits as a daily event keyed on appointment ID with no person attached. Don't identify clients by phone.

PostHog on your shop site can show the path a new client takes: landing page, barber profiles, prices, then the click into Squire. Funnels and session replay stop at that click, because Squire's booking flow and app are not yours to instrument. That still answers useful questions, such as whether people read three barber profiles and leave without booking, which points at missing photos or prices rather than at the ads.

Capture the booking click as an event with barber and location properties, and keep UTM and click parameters on the session. To close the loop, either carry the PostHog distinct_id in the Squire booking link and read it back from Squire's export, if Squire passes it through, or import completed first visits as a separate daily event keyed on appointment ID with no person attached. The second is weaker but honest, and it still lets you compare click-to-visit ratios by barber.

Do not identify clients by phone number in PostHog just to stitch the two together; shop analytics does not need a client's number. Self-hosting PostHog for one shop's website is effort without a reason, since the privacy benefit is small when the booking itself happens on Squire.

Squire → PostHog · what breaks

Why this join usually fails — Squire → PostHog

  1. 01

    The distinct_id never reaches Squire

    Booking runs through a Squire-hosted flow or app, and clients rebook for years afterwards.

  2. 02

    Filling chairs that are already full

    Advertising a shop where the popular barbers are booked out three weeks produces disappointed clients and long queues, not revenue. The report should show availability by barber.

  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.

Squire → PostHog · the fix

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

Squire → PostHog · architecture

How Squire and PostHog actually connect

  1. 1

    Squire holds the truth

    Barbers have their own followings and their own availability. A shop-level booking count hides that one chair is full and another is empty.

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

  4. 4

    The event source decides reliability

    Send first visits as acquisition with the barber attached; repeats are retention.

  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.

Squire → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the appointment

  • Sent from the Squire 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

    Booking runs through a Squire-hosted flow or app, and clients rebook for years afterwards.

  • Sent from the browser

    Advertising a shop where the popular barbers are booked out three weeks produces disappointed clients and long queues, not revenue. The report should show availability by barber.

  • 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

Squire → PostHog · diagnose

Diagnostic order — Squire → PostHog

  1. 01

    Count appointments carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Report utilisation per barber, not per shop

    It decides whether the shop needs demand or capacity, which are opposite problems.

  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.

Squire → PostHog · prove

How it gets proven — Squire → PostHog

Source of truth

Squire completed appointments by date, with the barber and service recorded.

  • 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 per barber against imported conversions, with repeats reported separately.

Squire → PostHog · free audit

What we check in the free audit

  • Count appointments carrying the distinct_id
  • Follow one real conversion end to end
  • Report utilisation per barber, not per shop
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Squire completed appointments by date, with the barber and service recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Squire → PostHog · when not to buy

When you don't need this — Squire → PostHog

  • Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry the distinct_id.
  • Shops with a walk-in model and no barber preference can report at shop level.
  • 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.

Squire → PostHog · what we deliver

What gets built — Squire → PostHog

  • Identifier capture into Squire

    Capture at first booking and store against the client, reporting acquisition on first visits only.

  • Event source: the Squire appointment record

    Send first visits as acquisition with the barber attached; repeats are retention.

  • 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

    No-shows and cancellations reverse. Barbershop no-show rates are material.

Written guarantee

95%+ tracking accuracy

Measured against Squire completed appointments by date, with the barber and service recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Squire → PostHog questions, answered

No. Replay covers your own site up to the click into Squire; the booking happens in Squire's hosted flow or app.

Free · 30 min

Get Squire and PostHog joined properly

Free30 minutesNo obligation