Skip to main content
Newbook → SegmentIntegration guide

Connecting Newbook to Segment

Newbook runs mixed-accommodation properties — cabins, powered sites, glamping tents — where each accommodation type has its own capacity, price and seasonality inside one park. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Newbook reservation before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Newbook through Segment: OTA reservations have no anonymousId

For direct Newbook reservations, identify the guest with a stable userId, alias the anonymousId and send a server-side track call with reservation ID as messageId, value, accommodation type, nights, click IDs and consent state. OTA reservations have no anonymousId; send them only for the warehouse and permitted email, tag the channel and filter them from ad destinations.

Segment fits a park that sends reservations to several tools: an email platform for pre-arrival messages, a warehouse, and two or three ad networks. The identity model is the build, and Newbook adds a twist: a large share of reservations come from OTAs through the channel manager, with no web session, no anonymousId and often a masked OTA email address.

For direct reservations, identify the guest with a stable userId (a hash of their email or your own guest key) when they enter details on your site, alias the anonymousId, and send the confirmed reservation as a server-side track call with the reservation ID as messageId, total value, accommodation type and nights. Carry the click identifiers captured before the booking engine as properties so ad destinations can use them, and pass the guest's consent state so destinations can honor it.

For OTA reservations, decide on purpose. Sending them through Segment is useful for the warehouse and for pre-arrival email where you're allowed to contact the guest, but they must never reach ad destinations: they carry no identifier from your campaigns, and masked OTA addresses create junk profiles that never match anyone. Tag the channel on every event and use destination filters to keep OTA reservations away from ad platforms.

Newbook → Segment · what breaks

Why this join usually fails — Newbook → Segment

  1. 01

    The userId and anonymousId 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 bad event multiplied across every destination

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  4. 04

    Nothing reconciles afterwards

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Newbook → Segment · the fix

What working looks like — Newbook → Segment

  • The userId and anonymousId on every reservation

  • Conversions arriving in Segment

    Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.

  • Reconciled against the source

Newbook → Segment · architecture

How Newbook and Segment 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

    Segment needs a click to match

    Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.

  3. 3

    The identifier is the bridge

    The userId and anonymousId, 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

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

Newbook → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the reservation

  • Sent from the Newbook reservation record

  • Deduplicated correctly

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

  • Reconciles with the source

Actually broken

  • The userId and anonymousId 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

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  • Nobody has reconciled it

Newbook → Segment · diagnose

Diagnostic order — Newbook → Segment

  1. 01

    Count reservations carrying the userId and anonymousId

  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

    Check identity resolution before checking anything downstream

    If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.

  5. 05

    Read the match rate, not the success message

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Newbook → Segment · prove

How it gets proven — Newbook → Segment

Source of truth

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

  • The userId and anonymousId confirmed present on a live reservation.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • Direct stays reconciled at total revenue by accommodation type against imported conversions.

Newbook → Segment · free audit

What we check in the free audit

  • Count reservations carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Report occupancy and revenue per accommodation type
  • Check identity resolution before checking anything downstream
  • 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 → Segment · when not to buy

When you don't need this — Newbook → Segment

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the userId and anonymousId.
  • Single-inventory parks can use one conversion action without losing anything.
  • If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.

Newbook → Segment · what we deliver

What gets built — Newbook → Segment

  • 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 Segment

    Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.

  • 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 → Segment questions, answered

They can go to the warehouse and email tools, tagged by channel, but filter them out of every ad destination.

Free · 30 min

Get Newbook and Segment joined properly

Free30 minutesNo obligation