Skip to main content
Xola → MixpanelIntegration guide

Connecting Xola to Mixpanel

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

Xola bookings in Mixpanel: booked, then departed or cancelled

Use a hash of the booker's email as the Mixpanel distinct_id on site and server, then send two events: the Xola booking, with booking ID as $insert_id, total, participants, experience and departure, and a later departure-ran or cancellation event, using check-in data if Xola records it. Make the server event the only booking source.

Mixpanel suits Xola operators who want to see guests over time: who books a second experience, how long after the first, and whether a booker who brings a large group comes back with another. Xola holds the bookings; Mixpanel can thread them onto one person.

Use a hash of the booker's email as distinct_id, set on your site when they enter it and on every server-side event from Xola. Send two events, not one: the booking when it's made (booking ID as $insert_id, total paid, participants, experience, departure) and a second event when the departure actually runs, or a cancellation if it doesn't. Check whether your Xola setup records check-in or attendance; if it does, that is the event that means the tour happened.

Name events once. Operators often end up with Booking, Purchase and booking_complete arriving from a tag, the webhook and an old integration, and Mixpanel treats them as three unrelated events. Make the server-side event the only source of the booking, and keep departure date as a property so funnels can separate booking date from trip date, which for some experiences is months apart.

Xola → Mixpanel · what breaks

Why this join usually fails — Xola → Mixpanel

  1. 01

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

Xola → Mixpanel · the fix

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

Xola → Mixpanel · architecture

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

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

    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.

Xola → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

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

    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

    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

Xola → Mixpanel · diagnose

Diagnostic order — Xola → Mixpanel

  1. 01

    Count bookings carrying the distinct_id

  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

    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.

Xola → Mixpanel · prove

How it gets proven — Xola → Mixpanel

Source of truth

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

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

Xola → Mixpanel · free audit

What we check in the free audit

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

When you don't need this — Xola → Mixpanel

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

Xola → Mixpanel · what we deliver

What gets built — Xola → Mixpanel

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

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

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

Both, as separate events: the booking when it's made and a completed or cancelled event when the departure runs, linked by booking ID.

Free · 30 min

Get Xola and Mixpanel joined properly

Free30 minutesNo obligation