Skip to main content
Cloudbeds → MixpanelIntegration guide

Connecting Cloudbeds to Mixpanel

Cloudbeds is an all-in-one property management, channel manager and booking engine, which means it holds both the direct booking you want and the OTA booking you paid commission on. 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 Cloudbeds reservation 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

Cloudbeds bookings in Mixpanel: keep the distinct_id across the hop

Pass the Mixpanel distinct_id into the Cloudbeds booking engine as a parameter, keep it on the reservation, and send Reservation Confirmed from the webhook under that distinct_id with $insert_id set to reservation ID plus status. Use your own guest ID, not email, as user ID,. Send Checked In at the actual arrival time and cancellations as separate events.

A Mixpanel funnel from rate page to confirmed stay breaks at the exact moment it matters: the guest clicks Book Now and moves to the Cloudbeds booking engine, a different origin where your Mixpanel cookie does not exist. Pass the Mixpanel distinct_id into the booking engine as a parameter, keep it on the reservation, and send a Reservation Confirmed event from the reservation webhook using that distinct_id. Set $insert_id to the reservation ID plus status so a retried webhook does not create a second booking.

Guests rarely sign up for anything, so the identify moment is the reservation itself. If your project uses Simplified ID Merge, an event carrying both the anonymous device ID and your guest ID can merge them; confirm which merge mode your project runs before relying on it, and use your own guest ID rather than an email address as the user ID.

Mixpanel is useful here for timing questions the PMS answers badly. Send Checked In as a later event when Cloudbeds records the arrival, with event time set to the actual check-in rather than when your job ran, and you can measure no-show and cancellation rates by acquisition source. Cancellations should be their own event with the same reservation ID so reports can net them out.

Cloudbeds → Mixpanel · what breaks

Why this join usually fails — Cloudbeds → Mixpanel

  1. 01

    The distinct_id never reaches Cloudbeds

    The booking engine runs on a Cloudbeds-hosted page or an iframe on your site, so first-party cookies do not cross into it. OTA reservations arrive through the channel manager with no click identifier at all and never will.

  2. 02

    OTA bookings blended with direct

    The same room night earns materially less through an OTA after commission, and OTA reservations carry no click identifier. Summed together, direct acquisition looks worse than it is and OTA looks free.

  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.

Cloudbeds → Mixpanel · the fix

What working looks like — Cloudbeds → Mixpanel

  • The distinct_id on every reservation

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

Cloudbeds → Mixpanel · architecture

How Cloudbeds and Mixpanel actually connect

  1. 1

    Cloudbeds holds the truth

    The channel split is the whole commercial story in lodging. A direct booking and a Booking.com booking for the same room earn very differently, and a report that sums them tells you nothing about whether your marketing worked.

  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 Cloudbeds reservation.

  4. 4

    The event source decides reliability

    Send confirmed direct reservations with the total stay value, not the nightly rate. Fire on booking rather than check-in, since the gap can be months.

  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.

Cloudbeds → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the reservation

  • Sent from the Cloudbeds reservation webhook

  • 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 booking engine runs on a Cloudbeds-hosted page or an iframe on your site, so first-party cookies do not cross into it. OTA reservations arrive through the channel manager with no click identifier at all and never will.

  • Sent from the browser

    The same room night earns materially less through an OTA after commission, and OTA reservations carry no click identifier. Summed together, direct acquisition looks worse than it is and OTA looks free.

  • 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

Cloudbeds → Mixpanel · diagnose

Diagnostic order — Cloudbeds → Mixpanel

  1. 01

    Count reservations carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Split reservations by source channel before anything else

    Direct versus OTA. Every subsequent number depends on that split and it is usually the first thing nobody has done.

  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.

Cloudbeds → Mixpanel · prove

How it gets proven — Cloudbeds → Mixpanel

Source of truth

Cloudbeds reservations by stay date, split by source channel.

  • The distinct_id confirmed present on a live reservation.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Direct reservations reconciled per reservation, with OTA volume reported separately and cancellations reversed.

Cloudbeds → Mixpanel · free audit

What we check in the free audit

  • Count reservations carrying the distinct_id
  • Follow one real conversion end to end
  • Split reservations by source channel before anything else
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Cloudbeds reservations by stay date, split by source channel.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cloudbeds → Mixpanel · when not to buy

When you don't need this — Cloudbeds → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the distinct_id.
  • If nearly all your occupancy comes through OTAs, the commercial question is your channel mix rather than your ad tracking, and we would say so.
  • 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.

Cloudbeds → Mixpanel · what we deliver

What gets built — Cloudbeds → Mixpanel

  • Identifier capture into Cloudbeds

    Pass the click identifier into the booking engine through its supported parameters so it lands on the reservation, and segment OTA-sourced reservations out before quoting any coverage figure.

  • Event source: the Cloudbeds reservation webhook

    Send confirmed direct reservations with the total stay value, not the nightly rate. Fire on booking rather than check-in, since the gap can be months.

  • 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 are frequent in lodging and Cloudbeds records them. Without the reversal, reported direct revenue only ever climbs.

Written guarantee

95%+ tracking accuracy

Measured against Cloudbeds reservations by stay date, split by source channel.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cloudbeds → Mixpanel questions, answered

The booking engine runs on a different origin, so the distinct_id from your site is not there unless you pass it in. Carry it through as a parameter and send the reservation server-side with that ID.

Free · 30 min

Get Cloudbeds and Mixpanel joined properly

Free30 minutesNo obligation