Skip to main content
Guesty → MixpanelIntegration guide

Connecting Guesty to Mixpanel

Guesty runs short-term rental portfolios at scale, where the revenue on a booking is split between the owner, the manager and the platform — so the first question is whose revenue you are even reporting. 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 Guesty 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

Guesty to Mixpanel: keeping distinct_id across the booking engine

Pass Mixpanel's distinct_id into the Guesty Booking Engine flow and send confirmed reservations server-side with it, using the reservation ID as $insert_id and listing, channel, nights and commission as properties. Identify on a guest ID derived from booking email so repeat stays join. Send inquiries as their own event, and keep OTA reservations out.

A Mixpanel funnel for a direct-booking site usually runs search, listing view, quote, reservation, and the last step is the one Mixpanel cannot see, because it completes inside Guesty Booking Engine rather than on pages carrying your Mixpanel snippet. Pass the visitor's distinct_id into the booking flow, stored with the reservation or keyed to the quote, and send the reservation event server-side with it. Otherwise every booking lands on a new profile and the funnel ends at quote.

Rental guests rarely create accounts, so there is often no signup moment to call identify. A practical substitute is identifying on your own guest ID derived from the booking email, which also lets a repeat guest's second stay join the first. Use the reservation ID as $insert_id, send on confirmed status only, and include listing ID, channel, nights and commission as properties.

Inquiries deserve their own event. Many rental guests message before booking, and if Guesty records the inquiry before the reservation, sending it lets you see which listings generate questions that never convert. Check whether your booking engine setup allows custom scripts at all; if it does not, every post-handoff step has to come from Guesty data server-side. Leave OTA reservations out of Mixpanel entirely.

Guesty → Mixpanel · what breaks

Why this join usually fails — Guesty → Mixpanel

  1. 01

    The distinct_id never reaches Guesty

    Direct bookings run through Guesty Booking Engine on a Guesty-served surface; everything else arrives from an OTA with no session at all.

  2. 02

    Reporting the owner's revenue as your own

    This is the single most common error in property management measurement, and it is a factor-of-five error, not a rounding one. It makes unprofitable acquisition look outstanding.

  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.

Guesty → Mixpanel · the fix

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

Guesty → Mixpanel · architecture

How Guesty and Mixpanel actually connect

  1. 1

    Guesty holds the truth

    A property manager does not earn the nightly rate. Importing the guest-facing total inflates reported return by roughly the inverse of your commission, which on a 20% management fee is a factor of five.

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

  4. 4

    The event source decides reliability

    Send your commission on direct bookings, not the guest total, and per listing rather than per portfolio.

  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.

Guesty → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the reservation

  • Sent from the Guesty reservation API

  • 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

    Direct bookings run through Guesty Booking Engine on a Guesty-served surface; everything else arrives from an OTA with no session at all.

  • Sent from the browser

    This is the single most common error in property management measurement, and it is a factor-of-five error, not a rounding one. It makes unprofitable acquisition look outstanding.

  • 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

Guesty → Mixpanel · diagnose

Diagnostic order — Guesty → Mixpanel

  1. 01

    Count reservations carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whose money the imported value represents

    Guest total or management commission. One question, and the answer decides whether any of your reported returns mean anything.

  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.

Guesty → Mixpanel · prove

How it gets proven — Guesty → Mixpanel

Source of truth

Guesty reservations by listing and channel, valued at the management commission rather than the guest's total.

  • 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-booking commission reconciled against imported conversions for a settled month.

Guesty → Mixpanel · free audit

What we check in the free audit

  • Count reservations carrying the distinct_id
  • Follow one real conversion end to end
  • Check whose money the imported value represents
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Guesty reservations by listing and channel, valued at the management commission rather than the guest's total.

Get my free conversion tracking audit

Free30 minutesNo obligation

Guesty → Mixpanel · when not to buy

When you don't need this — Guesty → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the distinct_id.
  • If you are an owner rather than a manager, the guest total is your revenue and this particular trap does not apply.
  • 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.

Guesty → Mixpanel · what we deliver

What gets built — Guesty → Mixpanel

  • Identifier capture into Guesty

    Persist the identifier on your own domain ahead of the booking engine, and record the channel on the reservation so the two revenue types stay separable.

  • Event source: the Guesty reservation API

    Send your commission on direct bookings, not the guest total, and per listing rather than per portfolio.

  • 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 the commission, not the guest total.

Written guarantee

95%+ tracking accuracy

Measured against Guesty reservations by listing and channel, valued at the management commission rather than the guest's total.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Guesty → Mixpanel questions, answered

The reservation event is sent without the distinct_id from the visitor's session on your site. Capture it before the booking engine and send it with the server-side event.

Free · 30 min

Get Guesty and Mixpanel joined properly

Free30 minutesNo obligation