Connecting Treatwell to Segment
Treatwell is a beauty marketplace with a salon booking system attached, so most of the bookings flowing through it were generated by Treatwell rather than by you. 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 Treatwell 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
Treatwell to Segment: one salon has nothing to fan out
Segment is overkill for most salons. For a multi-location group, post Treatwell bookings from exports to a Segment HTTP source as one track call each, with the booking reference as messageId, a userId you control, channel as a property and value net of commission and discount. Respect GDPR consent before connecting ad destinations.
Segment is for sending one clean event to many destinations, and a salon on Treatwell typically has a website, an email tool and perhaps one ad account. That does not justify a customer data platform, and most of the booking data lives inside Treatwell where Segment cannot observe it anyway.
For a multi-location group that does have a warehouse, an email platform and several ad accounts, the job is to bring Treatwell bookings in from exports or reports and post them server-side to a Segment HTTP source as one track call each, with the Treatwell booking reference as messageId. The userId should be a client ID you control, usually derived from email, since Treatwell's own client identifier means nothing to any destination. Carry the channel, widget or marketplace, as a property on every call so downstream tools never treat marketplace bookings as earned.
Value should be net of commission and promotional discount, which may mean sending a correction once the payout arrives. Consent travels with the event: under GDPR, the marketing consent recorded when the client booked decides which Segment destinations may receive them, and marketplace clients may not have consented to your marketing at all. Check before connecting ad destinations.
Treatwell → Segment · what breaks
Why this join usually fails — Treatwell → Segment
- 01
The userId and anonymousId never reaches Treatwell
The widget is Treatwell-served, and marketplace bookings originate entirely inside Treatwell.
- 02
Commission and discount both omitted from the value
A marketplace booking at a promotional rate, minus new-client commission, can be worth half its headline price. Import the headline and the channel looks twice as good as it is.
- 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.
- 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.
Treatwell → Segment · the fix
What working looks like — Treatwell → Segment
The userId and anonymousId on every booking
Conversions arriving in Segment
Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.
Reconciled against the source
Treatwell → Segment · architecture
How Treatwell and Segment actually connect
- 1
Treatwell holds the truth
Marketplace bookings carry a commission on new clients and often a promotional discount as well. Two deductions, both invisible if you import the headline price.
- 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
The identifier is the bridge
The userId and anonymousId, captured at the visit and carried into the Treatwell booking.
- 4
The event source decides reliability
Send completed appointments net of commission and discount.
- 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.
Treatwell → Segment · normal or broken
Working vs. broken, side by side — Treatwell → Segment
Normal, not a fault
The userId and anonymousId present on the booking
Sent from the Treatwell booking 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 widget is Treatwell-served, and marketplace bookings originate entirely inside Treatwell.
Sent from the browser
A marketplace booking at a promotional rate, minus new-client commission, can be worth half its headline price. Import the headline and the channel looks twice as good as it is.
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
Treatwell → Segment · diagnose
Diagnostic order — Treatwell → Segment
- 01
Count bookings carrying the userId and anonymousId
- 02
Follow one real conversion end to end
- 03
Reconcile against the payout, not the booking
The payout report is the only place where both deductions have already been applied.
- 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.
- 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.
Treatwell → Segment · prove
How it gets proven — Treatwell → Segment
Source of truth
Treatwell bookings by service date, split between your own booking widget and the Treatwell marketplace.
- The userId and anonymousId confirmed present on a live booking.
- An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
- Own-widget bookings reconciled net against imported conversions, with marketplace volume reported separately.
Treatwell → Segment · free audit
What we check in the free audit
- Count bookings carrying the userId and anonymousId
- Follow one real conversion end to end
- Reconcile against the payout, not the booking
- Check identity resolution before checking anything downstream
- Read the match rate, not the success message
Checked against
Treatwell bookings by service date, split between your own booking widget and the Treatwell marketplace.
Free30 minutesNo obligation
Treatwell → Segment · when not to buy
When you don't need this — Treatwell → Segment
- Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the userId and anonymousId.
- If Treatwell is purely a client-acquisition marketplace for you, evaluate it on commission economics rather than building a tracking integration.
- 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.
Treatwell → Segment · what we deliver
What gets built — Treatwell → Segment
Identifier capture into Treatwell
Attribute widget bookings placed from your own site; report marketplace volume separately with its commission stated.
Event source: the Treatwell booking record
Send completed appointments net of commission and discount.
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
Cancellations and no-shows reverse.
Written guarantee
95%+ tracking accuracy
Measured against Treatwell bookings by service date, split between your own booking widget and the Treatwell marketplace.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Treatwell → Segment questions, answered
Not for a single salon. Segment helps only when a group needs Treatwell bookings in several downstream tools under one definition.
Pull bookings from Treatwell exports and post them server-side to a Segment HTTP source, with the booking reference as messageId and channel as a property.
Almost always because the userId and anonymousId never reached the Treatwell booking. The widget is Treatwell-served, and marketplace bookings originate entirely inside Treatwell. Measure coverage before debugging the dispatch.
Segment identifies people by anonymousId before they are known and userId afterwards, and the alias between them is what stitches a session to a customer. Click identifiers travel as event properties or traits rather than as a matching key — Segment does not match anything itself, it forwards. That distinction changes the whole design: get the identity resolution right and every downstream destination inherits it.
The Treatwell booking record. Send completed appointments net of commission and discount.
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.
More on Treatwell → Segment
- Stripe → SegmentConnecting Stripe to Segment
- PayPal → SegmentConnecting PayPal to Segment
- Shopify → SegmentConnecting Shopify to Segment
RELATED GUIDES
Where Treatwell → Segment fits in the rest of your tracking
- Boulevard → SegmentConnecting Boulevard to Segment
- Booksy → SegmentConnecting Booksy to Segment
- Bookedin → SegmentConnecting Bookedin to Segment
- Treatwell → BigQueryConnecting Treatwell to BigQuery
- Med spaConversion tracking for med spas, measured in attended appointments
- Fresha → SegmentConnecting Fresha to Segment
- Squire → SegmentConnecting Squire to Segment
- Vagaro → SegmentConnecting Vagaro to Segment
Free · 30 min
Get Treatwell and Segment joined properly
Free30 minutesNo obligation
