Skip to main content
WeTravel → SegmentIntegration guide

Connecting WeTravel to Segment

WeTravel handles payments and payouts for group travel organisers, which means it sits between the traveller's money and the operator's — and the operator only sees what settles. 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 WeTravel 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

WeTravel to Segment: pick a userId when travelers never log in

Use the payer's normalized email, or a hash of it, as Segment userId, and call identify on inquiry or waitlist forms so browsing joins the profile. Send WeTravel bookings server-side as Order Completed with the booking ID as order_id and messageId, carrying traveler-facing total and settled payout with currencies. Send installments separately, Order Refunded for cancellations, and pass consent state.

Most tour operators have no customer login, so the usual Segment advice to use your database user ID does not apply. The practical userId for WeTravel bookings is the payer's email, normalized to lowercase and trimmed, or a hash of it. Without normalization, a traveler who books twice with different capitalization becomes two users in every downstream destination at once.

Link the browsing first. Analytics.js on your trip pages has an anonymousId; when the visitor gives an email on an inquiry form or waitlist, call identify with the normalized email so their browsing joins that profile. The WeTravel booking then arrives server-side under the same userId as an Order Completed event, with the booking ID as order_id and in the messageId, so a re-run sync cannot duplicate it across destinations.

Carry both amounts: the traveler-facing total and the settled payout, each with its currency, as separate properties, and decide per destination which one maps to revenue. Ad platforms should usually get the settled figure. Send instalments as their own events and Order Refunded for cancellations. Pass the consent state from your site, since travelers from outside the US may arrive with stricter consent requirements.

WeTravel → Segment · what breaks

Why this join usually fails — WeTravel → Segment

  1. 01

    The userId and anonymousId never reaches WeTravel

    Booking pages are WeTravel-hosted and travellers frequently arrive from an organiser's own promotion.

  2. 02

    The traveller's payment reported as the operator's revenue

    Fees and currency spread mean the operator receives materially less than the traveller paid. Reporting the traveller-facing figure overstates every efficiency ratio the operator computes.

  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.

WeTravel → Segment · the fix

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

WeTravel → Segment · architecture

How WeTravel and Segment actually connect

  1. 1

    WeTravel holds the truth

    Payment processing, currency conversion and platform fees all sit between the traveller's payment and the operator's payout, and on international group travel the gap is not trivial.

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

  4. 4

    The event source decides reliability

    Send bookings at settled value, with instalment plans reported on completion rather than on start.

  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.

WeTravel → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the booking

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

    Booking pages are WeTravel-hosted and travellers frequently arrive from an organiser's own promotion.

  • Sent from the browser

    Fees and currency spread mean the operator receives materially less than the traveller paid. Reporting the traveller-facing figure overstates every efficiency ratio the operator computes.

  • 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

WeTravel → Segment · diagnose

Diagnostic order — WeTravel → Segment

  1. 01

    Count bookings carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare traveller payments against operator payouts

    The gap is the real cost of the platform, and it should be visible in the report rather than discovered at reconciliation.

  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.

WeTravel → Segment · prove

How it gets proven — WeTravel → Segment

Source of truth

WeTravel bookings by trip date, valued at the amount settled to the operator after fees.

  • 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.
  • Settled payouts reconciled against imported conversions for a departed trip.

WeTravel → 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 traveller payments against operator payouts
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

WeTravel bookings by trip date, valued at the amount settled to the operator after fees.

Get my free conversion tracking audit

Free30 minutesNo obligation

WeTravel → Segment · when not to buy

When you don't need this — WeTravel → Segment

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the userId and anonymousId.
  • Domestic operators taking payment directly see the true figure already.
  • 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.

WeTravel → Segment · what we deliver

What gets built — WeTravel → Segment

  • Identifier capture into WeTravel

    Capture on your own domain where you control the landing, and treat organiser-promoted bookings as their own channel.

  • Event source: the WeTravel booking record

    Send bookings at settled value, with instalment plans reported on completion rather than on start.

  • 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 refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against WeTravel bookings by trip date, valued at the amount settled to the operator after fees.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

WeTravel → Segment questions, answered

Without your own login, use the payer's email normalized to lowercase and trimmed, or a hash of it, and keep it stable so repeat bookers stay one user.

Free · 30 min

Get WeTravel and Segment joined properly

Free30 minutesNo obligation