Skip to main content
Bookassist → MixpanelIntegration guide

Connecting Bookassist to Mixpanel

Bookassist runs direct booking engines for independent European hotels, where rate parity obligations mean your own price is frequently identical to the OTA's — so the direct case has to be made on something other than 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 Bookassist 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

Bookassist bookings in Mixpanel with one distinct_id per guest

Append Mixpanel's distinct_id to the hand-off link into Bookassist, confirm the booking stores it, and send the booking server-side under that distinct_id. Identify repeat stays with a stable internal guest ID, carry arrival date, nights, lead time, rate plan, room revenue and commission avoided, use booking reference plus action as $insert_id, and send cancellations separately.

Mixpanel can show which pages on your hotel site send guests into the Bookassist engine and which of those come back as bookings, but only if the distinct_id survives the jump to a domain you do not control. Read the distinct_id on your site, append it to the hand-off link, and check whether Bookassist stores it on the booking. Then send the booking from the booking record server-side under that distinct_id, so the Booking event joins the browsing that preceded it.

Guests have no login, so identity is thin. If you want repeat stays to land on one person, identify with a stable internal guest ID at booking rather than the booking reference, which changes every stay. Carry arrival date, nights, lead time, rate plan, room revenue and commission avoided as properties; lead time is the property most hotel funnels are missing and it explains why a campaign looks weak in a short window. Use the booking reference plus the action as $insert_id so a retried webhook does not double a stay.

Cancellations should arrive as their own event against the same booking reference so reports can subtract them. Watch metasearch: a guest who clicks through from Google Hotel Ads arrives on a new device or session with no distinct_id on the link, and shows up as a new anonymous person who booked instantly.

Bookassist → Mixpanel · what breaks

Why this join usually fails — Bookassist → Mixpanel

  1. 01

    The distinct_id never reaches Bookassist

    The engine is hosted, guests compare on OTAs mid-journey, and the final click frequently comes from a metasearch listing.

  2. 02

    Commission avoided never counted as a benefit

    A direct booking at the same rate as an OTA booking is worth fifteen to twenty percent more to the hotel. If the report shows only room revenue, direct booking campaigns look like they are competing with themselves.

  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.

Bookassist → Mixpanel · the fix

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

Bookassist → Mixpanel · architecture

How Bookassist and Mixpanel actually connect

  1. 1

    Bookassist holds the truth

    The value of a direct booking is the room revenue plus the OTA commission not paid. Reporting only room revenue understates direct booking by exactly the commission rate.

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

  4. 4

    The event source decides reliability

    Send direct bookings at room revenue, and report commission avoided as an explicit second figure.

  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.

Bookassist → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

  • Sent from the Bookassist 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 engine is hosted, guests compare on OTAs mid-journey, and the final click frequently comes from a metasearch listing.

  • Sent from the browser

    A direct booking at the same rate as an OTA booking is worth fifteen to twenty percent more to the hotel. If the report shows only room revenue, direct booking campaigns look like they are competing with themselves.

  • 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

Bookassist → Mixpanel · diagnose

Diagnostic order — Bookassist → Mixpanel

  1. 01

    Count bookings carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Add commission avoided as a reported figure alongside room revenue

    It is a simple calculation and it changes the entire business case for direct-booking advertising.

  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.

Bookassist → Mixpanel · prove

How it gets proven — Bookassist → Mixpanel

Source of truth

Bookassist direct bookings by arrival, at total stay revenue net of the commission you avoided.

  • 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 room revenue with commission avoided stated separately.

Bookassist → Mixpanel · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Add commission avoided as a reported figure alongside room revenue
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Bookassist direct bookings by arrival, at total stay revenue net of the commission you avoided.

Get my free conversion tracking audit

Free30 minutesNo obligation

Bookassist → Mixpanel · when not to buy

When you don't need this — Bookassist → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • If you do not distribute through OTAs, there is no commission to avoid and direct is simply your only channel.
  • 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.

Bookassist → Mixpanel · what we deliver

What gets built — Bookassist → Mixpanel

  • Identifier capture into Bookassist

    Capture on your own site and persist across the comparison journey, which routinely includes visits to third-party sites.

  • Event source: the Bookassist booking record

    Send direct bookings at room revenue, and report commission avoided as an explicit second figure.

  • 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 Bookassist direct bookings by arrival, at total stay revenue net of the commission you avoided.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Bookassist → Mixpanel questions, answered

Not with the browser SDK alone, because the engine is on another domain. Pass the distinct_id into the engine, check it is stored on the booking, and send the booking server-side from the record.

Free · 30 min

Get Bookassist and Mixpanel joined properly

Free30 minutesNo obligation