Skip to main content
Square Appointments → PostHogIntegration guide

Connecting Square Appointments to PostHog

Square Appointments settles into the same Square ledger as the card taken at the counter, so the appointment and the payment are already joined — provided you filter for the right channel. 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 Square Appointments booking 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

Square Appointments in PostHog: stitch booking to visitor

PostHog loses visitors at Square's booking page, so identify them with an email before the booking button, then send booked and completed appointment events from Square server-side using that same normalized email as distinct_id and a UUID derived from the Square booking or payment ID. Without identification, those events form separate persons without paths.

PostHog's strength is following one person from anonymous visit to identified user under one distinct_id. With Square Appointments the funnel breaks exactly where it gets interesting: the client leaves your site for Square's booking page, and PostHog never sees the service chosen, the slot or the deposit. What you can send server-side is the result, a booked event and a completed appointment event from Square's records, but they arrive without the visitor's distinct_id unless you created a link.

The link is identification before the handoff. If your site asks for an email before the booking button, through a new-client form or a member login, call identify with that email so the anonymous browsing merges into a person, and use the same normalized email as the distinct_id on the server events from Square. Without that step, Square events form a separate set of persons with revenue and no path, still useful for counts but not for funnels.

Give each server event a UUID derived from the Square booking or payment ID, so a webhook retry does not double a completed appointment. Session replay cannot see a booking page you do not host, so do not expect to watch drop-off inside the Square flow. For clinical or wellness services on PostHog Cloud, keep service names out of event properties.

Square Appointments → PostHog · what breaks

Why this join usually fails — Square Appointments → PostHog

  1. 01

    The distinct_id never reaches Square Appointments

    The booking site is Square-hosted, and the payment may be taken in person days later.

  2. 02

    Counter sales counted as booked appointments

    The shared ledger is convenient and it is the trap. If the booking channel is not filtered, walk-in revenue flows straight into your reported campaign performance.

  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.

Square Appointments → PostHog · the fix

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

Square Appointments → PostHog · architecture

How Square Appointments and PostHog actually connect

  1. 1

    Square Appointments holds the truth

    Walk-ins and rebookings made at the counter land in the same ledger. Without the filter, every in-person sale becomes an advertising conversion.

  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 Square Appointments booking.

  4. 4

    The event source decides reliability

    Send completed appointment transactions net of tips.

  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.

Square Appointments → PostHog · normal or broken

Working vs. broken, side by side — Square Appointments → PostHog

Normal, not a fault

  • The distinct_id present on the appointment

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

    The booking site is Square-hosted, and the payment may be taken in person days later.

  • Sent from the browser

    The shared ledger is convenient and it is the trap. If the booking channel is not filtered, walk-in revenue flows straight into your reported campaign performance.

  • 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

Square Appointments → PostHog · diagnose

Diagnostic order — Square Appointments → PostHog

  1. 01

    Count appointments carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Filter by booking channel and re-check the total

    Compare against the online booking count. A mismatch means the filter is wrong before the tracking is.

  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.

Square Appointments → PostHog · prove

How it gets proven — Square Appointments → PostHog

Source of truth

Square transactions tied to an appointment, filtered to those booked online.

  • 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.
  • Online-booked completed appointments reconciled against imported conversions.

Square Appointments → PostHog · free audit

What we check in the free audit

  • Count appointments carrying the distinct_id
  • Follow one real conversion end to end
  • Filter by booking channel and re-check the total
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Square transactions tied to an appointment, filtered to those booked online.

Get my free conversion tracking audit

Free30 minutesNo obligation

Square Appointments → PostHog · when not to buy

When you don't need this — Square Appointments → PostHog

  • Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry the distinct_id.
  • If almost all your business is walk-in, measure it on appointment volume and do not build a revenue import.
  • 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.

Square Appointments → PostHog · what we deliver

What gets built — Square Appointments → PostHog

  • Identifier capture into Square Appointments

    Capture on your own domain, persist against the customer, and let the completed transaction rather than the booking be the reported event.

  • Event source: the Square transaction record

    Send completed appointment transactions net of tips.

  • 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

    Refunds and no-shows reverse.

Written guarantee

95%+ tracking accuracy

Measured against Square transactions tied to an appointment, filtered to those booked online.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Square Appointments → PostHog questions, answered

No. It is Square-hosted, so PostHog sees only the click out and whatever you send back server-side from Square's records.

Free · 30 min

Get Square Appointments and PostHog joined properly

Free30 minutesNo obligation