Skip to main content
WeTravel → MixpanelIntegration guide

Connecting WeTravel to Mixpanel

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. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the WeTravel booking before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

WeTravel to Mixpanel: one booking per payer, travelers as a count

Send one Booking Completed event per WeTravel booking under the payer's distinct_id, with traveler count, trip, departure and settled value as properties and the booking ID as $insert_id, not one event per traveler. Store the distinct_id at click-through or match the booking email, and send deposits and completed installments as separate events to split committed from fully paid travelers.

Group travel breaks Mixpanel's one-person-one-purchase assumption. A WeTravel booking often has one payer and several travelers, and a connector that sends one event per traveler makes a five-person booking look like five customers. Send one Booking Completed event under the payer's distinct_id, with traveler count, trip, departure and settled value as properties, and $insert_id set to the WeTravel booking ID.

Getting the payer onto the right distinct_id is the harder part, because the booking happens on WeTravel's hosted page where Mixpanel's SDK does not run. Store the distinct_id when the visitor clicks through from your trip page, and check whether WeTravel can carry a custom parameter onto the booking; if not, match the booking email to the email captured on your site. Unmatched bookings should go in under the email as a new identity rather than being dropped.

With that in place, Mixpanel can show what actually precedes a booking: how many trip pages people view, whether they download an itinerary, and how many days pass between first visit and deposit. Send deposits and completed instalments as separate events so the funnel distinguishes committed travelers from fully paid ones.

WeTravel → Mixpanel · what breaks

Why this join usually fails — WeTravel → Mixpanel

  1. 01

    The distinct_id 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 event schema, two teams, no agreement

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  4. 04

    Nothing reconciles afterwards

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

WeTravel → Mixpanel · the fix

What working looks like — WeTravel → Mixpanel

  • The distinct_id on every booking

  • Conversions arriving in Mixpanel

    The event lands on the user profile and becomes available in funnels, retention and cohort analysis.

  • Reconciled against the source

WeTravel → Mixpanel · architecture

How WeTravel and Mixpanel 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

    Mixpanel needs a click to match

    Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.

  3. 3

    The identifier is the bridge

    The distinct_id, 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

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

WeTravel → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

  • Sent from the WeTravel booking record

  • Deduplicated correctly

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

  • Reconciles with the source

Actually broken

  • The distinct_id 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

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  • Nobody has reconciled it

WeTravel → Mixpanel · diagnose

Diagnostic order — WeTravel → Mixpanel

  1. 01

    Count bookings carrying the distinct_id

  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

    List every event name in the project and look for near-duplicates

    Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.

  5. 05

    Read the match rate, not the success message

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

WeTravel → Mixpanel · prove

How it gets proven — WeTravel → Mixpanel

Source of truth

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

  • The distinct_id confirmed present on a live booking.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Settled payouts reconciled against imported conversions for a departed trip.

WeTravel → Mixpanel · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Compare traveller payments against operator payouts
  • List every event name in the project and look for near-duplicates
  • 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 → Mixpanel · when not to buy

When you don't need this — WeTravel → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • Domestic operators taking payment directly see the true figure already.
  • If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.

WeTravel → Mixpanel · what we deliver

What gets built — WeTravel → Mixpanel

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

    The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.

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

No. Send one booking event under the payer's distinct_id with a traveler-count property, or a five-person booking looks like five customers.

Free · 30 min

Get WeTravel and Mixpanel joined properly

Free30 minutesNo obligation