Skip to main content
Xola → SegmentIntegration guide

Connecting Xola to Segment

Xola books tours and activities where capacity is fixed by the boat, the van or the guide, so the goal is not maximum bookings but the right bookings at the right price. 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 Xola 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

Xola through Segment: the booker is the user, not the group

Identify the booker in Segment with a hashed email or customer key and alias the browsing anonymousId. Send the completed Xola booking as a server-side track call from the webhook with booking ID as messageId, total paid as revenue, participants, experience, departure and pre-frame click IDs as properties. Map revenue to ad destinations and send cancellations separately.

Segment is worth adding for a Xola operator who sends bookings to several places: an email tool for pre-trip messages, a warehouse, and two or more ad networks. The identity is the booker: identify with a hash of their email or your own customer key as userId when they enter details on your site, and alias the anonymousId from their browsing session.

Send the completed booking as a server-side track call from Xola's webhook with the booking ID as messageId, total paid as revenue, participants, experience and departure as properties, and the click identifiers captured before the Xola frame as properties. Downstream, map revenue (not participants times a list price) to ad destinations, so group discounts don't inflate value in Meta or Google.

Participants who aren't the booker should not become Segment users from booking data alone; they never consented to anything and you usually only have a name. If your waiver or check-in process collects participant emails with consent, those are separate identify calls with their own consent state. Weather cancellations go through as their own track event so every destination receives the reversal. Check whether Xola has a native Segment integration before building; otherwise webhooks into a small server function is the usual route.

Xola → Segment · what breaks

Why this join usually fails — Xola → Segment

  1. 01

    The userId and anonymousId never reaches Xola

    The checkout runs in a Xola-served frame, and a meaningful share of activity bookings are made by one person for a whole group.

  2. 02

    Bookings counted, participants ignored

    Optimizing on booking count teaches the platform that a one-person booking is as good as a twelve-person one. It will then find you a great many solo travellers.

  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.

Xola → Segment · the fix

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

Xola → Segment · architecture

How Xola and Segment actually connect

  1. 1

    Xola holds the truth

    One booking can be one person or twelve. Counting bookings rather than participants makes a family reunion and a solo traveller identical conversions against wildly different revenue.

  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 Xola booking.

  4. 4

    The event source decides reliability

    Send bookings valued at the total paid, with participant count as a separate field.

  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.

Xola → Segment · normal or broken

Working vs. broken, side by side — Xola → Segment

Normal, not a fault

  • The userId and anonymousId present on the booking

  • Sent from the Xola 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 checkout runs in a Xola-served frame, and a meaningful share of activity bookings are made by one person for a whole group.

  • Sent from the browser

    Optimizing on booking count teaches the platform that a one-person booking is as good as a twelve-person one. It will then find you a great many solo travellers.

  • 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

Xola → Segment · diagnose

Diagnostic order — Xola → Segment

  1. 01

    Count bookings carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare booking count against participant count by campaign

    The ratio varies by source far more than most operators expect, and it decides where budget should go.

  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.

Xola → Segment · prove

How it gets proven — Xola → Segment

Source of truth

Xola bookings by departure date and time slot, valued at total participants rather than per booking.

  • 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.
  • Departed bookings reconciled at total value against imported conversions.

Xola → Segment · free audit

What we check in the free audit

  • Count bookings carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Compare booking count against participant count by campaign
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Xola bookings by departure date and time slot, valued at total participants rather than per booking.

Get my free conversion tracking audit

Free30 minutesNo obligation

Xola → Segment · when not to buy

When you don't need this — Xola → Segment

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the userId and anonymousId.
  • If every booking is a fixed single seat, count bookings and skip the participant dimension entirely.
  • 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.

Xola → Segment · what we deliver

What gets built — Xola → Segment

  • Identifier capture into Xola

    Capture on your own domain before the frame loads, and attach the identifier to the booking so participant count and total value travel with it.

  • Event source: the Xola booking record

    Send bookings valued at the total paid, with participant count as a separate field.

  • 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 weather cancellations reverse. In outdoor activities the second category is not small.

Written guarantee

95%+ tracking accuracy

Measured against Xola bookings by departure date and time slot, valued at total participants rather than per booking.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Xola → Segment questions, answered

The booker. Participants only become users if you separately collect their details with consent, for example through waivers.

Free · 30 min

Get Xola and Segment joined properly

Free30 minutesNo obligation