Skip to main content
Square Appointments → SegmentIntegration guide

Connecting Square Appointments to Segment

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. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Square Appointments booking before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Square Appointments into Segment: online bookings only fan out

Use a Segment Source Function to receive Square's booking and payment webhooks, verify the signature and emit track calls with the Square ID as messageId. Because Square's ledger mixes walk-ins with bookings, emit Order Completed only for payments matched to online-booked appointments, reduce value by tip_money, and send counter sales under a name no ad destination maps.

Segment fits when a service brand wants its site, email tool and ad platforms reading one stream. Check the catalog for a Square source. Failing that, a Source Function can receive Square's booking and payment webhooks, verify Square's signature, and emit track calls with the Square ID as messageId. Use your own user ID where you have one, otherwise the Square customer_id, used the same way everywhere.

Square's ledger is shared, and that's the hazard for Segment. Every counter sale and walk-in payment arrives in the same webhook stream as booked appointments. If they all go out as Order Completed, every connected ad destination gets walk-in revenue as purchases. In the function, emit 'Order Completed' only for payments matched to an online-booked appointment. Send counter sales under a separate event name that no ad destination maps.

Reduce the value by tip_money before it leaves the function, because each destination would otherwise report tips as service revenue in its own way. Click IDs captured on your site belong on the identify call as traits at form submit. They can't come from Square, which never saw the ad click.

Square Appointments → Segment · what breaks

Why this join usually fails — Square Appointments → Segment

  1. 01

    The userId and anonymousId 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

    One bad event multiplied across every destination

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  4. 04

    Nothing reconciles afterwards

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Square Appointments → Segment · the fix

What working looks like — Square Appointments → Segment

  • The userId and anonymousId on every appointment

  • Conversions arriving in Segment

    Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.

  • Reconciled against the source

Square Appointments → Segment · architecture

How Square Appointments and Segment 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

    Segment needs a click to match

    Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.

  3. 3

    The identifier is the bridge

    The userId and anonymousId, 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

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

Square Appointments → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the appointment

  • Sent from the Square transaction record

  • Deduplicated correctly

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

  • Reconciles with the source

Actually broken

  • The userId and anonymousId 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

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  • Nobody has reconciled it

Square Appointments → Segment · diagnose

Diagnostic order — Square Appointments → Segment

  1. 01

    Count appointments carrying the userId and anonymousId

  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 identity resolution before checking anything downstream

    If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.

  5. 05

    Read the match rate, not the success message

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Square Appointments → Segment · prove

How it gets proven — Square Appointments → Segment

Source of truth

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

  • The userId and anonymousId confirmed present on a live appointment.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • Online-booked completed appointments reconciled against imported conversions.

Square Appointments → Segment · free audit

What we check in the free audit

  • Count appointments carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Filter by booking channel and re-check the total
  • Check identity resolution before checking anything downstream
  • 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 → Segment · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry the userId and anonymousId.
  • If almost all your business is walk-in, measure it on appointment volume and do not build a revenue import.
  • If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.

Square Appointments → Segment · what we deliver

What gets built — Square Appointments → Segment

  • 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 Segment

    Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.

  • 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 → Segment questions, answered

Check the current catalog. A Segment Source Function can receive Square's webhooks and emit track and identify calls if there isn't one.

Free · 30 min

Get Square Appointments and Segment joined properly

Free30 minutesNo obligation