Skip to main content
Newbook → MixpanelIntegration guide

Connecting Newbook to Mixpanel

Newbook runs mixed-accommodation properties — cabins, powered sites, glamping tents — where each accommodation type has its own capacity, price and seasonality inside one park. 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 Newbook 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

Newbook reservations in Mixpanel: one guest across many stays

Send each confirmed Newbook reservation to Mixpanel server-side under a stable distinct_id, typically a hashed guest email, with the reservation ID as $insert_id and accommodation type, nights, party size and arrival date as properties. Call identify with the same value on your site. Send one event per group reservation, plus separate modification and cancellation events.

Mixpanel helps a Newbook park answer guest-level questions: how many guests return next season, whether they rebook the same accommodation type, and how long they leave between stays. Newbook knows each reservation; Mixpanel can tie them to one person over years if the identity is right.

Use a stable guest identifier as distinct_id, typically a hash of the guest email from the reservation, because guest records in a PMS get duplicated when someone books with a new phone number or address. Call identify with the same value on your site when the guest enters their email, so browsing before the booking engine merges onto them. Send each confirmed reservation server-side with the Newbook reservation ID as $insert_id, and accommodation type, nights, party size and arrival date as properties.

Group bookings break the naive model: one person books three powered sites for an extended family under one reservation or several linked ones. Send one event per reservation with a site-count property rather than one per site, or Mixpanel shows a single guest making three bookings. Modifications and cancellations need their own events carrying the reservation ID, so a stay that shrank from seven nights to three does not keep its original value in reports.

Newbook → Mixpanel · what breaks

Why this join usually fails — Newbook → Mixpanel

  1. 01

    The distinct_id never reaches Newbook

    The booking engine is Newbook-hosted and the channel manager brings OTA reservations with no identifier at all.

  2. 02

    Mixed inventory averaged into one occupancy figure

    A park at ninety percent occupancy can be full on cheap sites and empty on premium cabins. The aggregate looks healthy and the revenue does not follow.

  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.

Newbook → Mixpanel · the fix

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

Newbook → Mixpanel · architecture

How Newbook and Mixpanel actually connect

  1. 1

    Newbook holds the truth

    Mixed inventory means one park is several businesses. Glamping fills in summer at a premium; powered sites fill year-round at a lower rate. Averaging them produces a number that guides nothing.

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

  4. 4

    The event source decides reliability

    Send direct-channel stays at total revenue, with accommodation type attached.

  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.

Newbook → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the reservation

  • Sent from the Newbook reservation 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 booking engine is Newbook-hosted and the channel manager brings OTA reservations with no identifier at all.

  • Sent from the browser

    A park at ninety percent occupancy can be full on cheap sites and empty on premium cabins. The aggregate looks healthy and the revenue does not follow.

  • 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

Newbook → Mixpanel · diagnose

Diagnostic order — Newbook → Mixpanel

  1. 01

    Count reservations carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Report occupancy and revenue per accommodation type

    It is the difference between knowing the park is busy and knowing which part of it is earning.

  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.

Newbook → Mixpanel · prove

How it gets proven — Newbook → Mixpanel

Source of truth

Newbook reservations by arrival, with accommodation type and channel recorded.

  • 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 stays reconciled at total revenue by accommodation type against imported conversions.

Newbook → Mixpanel · free audit

What we check in the free audit

  • Count reservations carrying the distinct_id
  • Follow one real conversion end to end
  • Report occupancy and revenue per accommodation type
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Newbook reservations by arrival, with accommodation type and channel recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Newbook → Mixpanel · when not to buy

When you don't need this — Newbook → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the distinct_id.
  • Single-inventory parks can use one conversion action without losing anything.
  • 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.

Newbook → Mixpanel · what we deliver

What gets built — Newbook → Mixpanel

  • Identifier capture into Newbook

    Capture on your own domain and keep both accommodation type and channel on every reservation downstream.

  • Event source: the Newbook reservation record

    Send direct-channel stays at total revenue, with accommodation type attached.

  • 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, per accommodation type.

Written guarantee

95%+ tracking accuracy

Measured against Newbook reservations by arrival, with accommodation type and channel recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Newbook → Mixpanel questions, answered

A hash of the guest's email, set on your site when they enter it and on the server-side reservation event. That survives duplicate guest records in the PMS.

Free · 30 min

Get Newbook and Mixpanel joined properly

Free30 minutesNo obligation