Skip to main content
TourCMS → MixpanelIntegration guide

Connecting TourCMS to Mixpanel

TourCMS is built around distribution to agents and resellers, which means a large share of bookings arrive through partners who found the customer and take a margin. 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 TourCMS 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

TourCMS in Mixpanel: track the booking engine as a funnel

Track the direct booking funnel in Mixpanel by tour and lead time, passing the distinct_id into the TourCMS booking step where allowed. Send the confirmed booking server-side with that distinct_id, the booking ID as $insert_id, customer price, tour, departure date and party size. Keep agent bookings out and agree event names first.

The most useful Mixpanel view for a TourCMS operator is the direct booking funnel: tour page, availability check, date picked, checkout, booked, broken down by tour and by how far ahead the traveler is booking. That works only if the funnel steps are trackable, so start by checking where the TourCMS booking engine runs. If it sits on another domain or in a frame, your Mixpanel cookie doesn't follow, and the checkout steps land on a new distinct_id or aren't tracked at all.

Pass the distinct_id into the booking step where the engine allows it, and send the confirmed booking server-side from TourCMS data with the same distinct_id, the booking ID as $insert_id, customer price, tour, departure date and party size. Leave agent and API bookings out of this project. They have no visitor behind them, and as orphan events they inflate booking counts without any funnel attached.

Agree on event names with whoever set up the site analytics: Booking Completed from the server and booking_confirmed from a thank-you page are two unrelated events to Mixpanel. Send cancellations as their own event on the booking's distinct_id.

TourCMS → Mixpanel · what breaks

Why this join usually fails — TourCMS → Mixpanel

  1. 01

    The distinct_id never reaches TourCMS

    Agent bookings arrive through an API or an agent portal with no consumer session.

  2. 02

    Agent net rates reported at retail price

    An agent booking at a twenty-five percent net discount reported at the retail price overstates that channel by a third. Since agents are often the majority, the total is badly wrong.

  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.

TourCMS → Mixpanel · the fix

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

TourCMS → Mixpanel · architecture

How TourCMS and Mixpanel actually connect

  1. 1

    TourCMS holds the truth

    Agent bookings come at a net rate agreed in advance. Reporting the customer-facing price on those bookings overstates revenue by the whole agent margin.

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

  4. 4

    The event source decides reliability

    Send direct bookings at customer price and agent bookings, if reported at all, at net rate — never mixed.

  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.

TourCMS → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

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

    Agent bookings arrive through an API or an agent portal with no consumer session.

  • Sent from the browser

    An agent booking at a twenty-five percent net discount reported at the retail price overstates that channel by a third. Since agents are often the majority, the total is badly wrong.

  • 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

TourCMS → Mixpanel · diagnose

Diagnostic order — TourCMS → Mixpanel

  1. 01

    Count bookings carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether agent bookings are valued at net or retail

    One question, and on distribution-heavy operators it changes the revenue picture substantially.

  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.

TourCMS → Mixpanel · prove

How it gets proven — TourCMS → Mixpanel

Source of truth

TourCMS bookings by departure and channel, at net rate after agent commission.

  • 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.
  • Direct bookings reconciled at customer price against imported conversions, agent volume reported at net.

TourCMS → Mixpanel · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Check whether agent bookings are valued at net or retail
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

TourCMS bookings by departure and channel, at net rate after agent commission.

Get my free conversion tracking audit

Free30 minutesNo obligation

TourCMS → Mixpanel · when not to buy

When you don't need this — TourCMS → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • Operators selling only direct do not have the net-rate question.
  • 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.

TourCMS → Mixpanel · what we deliver

What gets built — TourCMS → Mixpanel

  • Identifier capture into TourCMS

    Attribute direct bookings only and value agent bookings at the net rate you actually receive.

  • Event source: the TourCMS booking record

    Send direct bookings at customer price and agent bookings, if reported at all, at net rate — never mixed.

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

Written guarantee

95%+ tracking accuracy

Measured against TourCMS bookings by departure and channel, at net rate after agent commission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

TourCMS → Mixpanel questions, answered

Only as far as your script can run on its pages. If the engine is on another domain or framed, send the confirmed booking server-side with the distinct_id you stored before the handoff.

Free · 30 min

Get TourCMS and Mixpanel joined properly

Free30 minutesNo obligation