Skip to main content
Bookassist → SegmentIntegration guide

Connecting Bookassist to Segment

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

Bookassist into Segment: one booking event every tool reads

Append Segment's anonymousId to the hand-off link into Bookassist, confirm it is stored, and send Order Completed server-side with the booking reference as order_id, room revenue, booking currency, room type as product, arrival date and commission avoided. Derive messageId from the reference, map cancellations to Order Cancelled, and pass consent state into the server call.

Segment earns its place at a hotel group that feeds the same booking to an email tool, a warehouse and two or three ad platforms. The identity problem is the hosted engine: analytics.js assigns an anonymousId on your site, and that ID does not exist on Bookassist's pages. Append it to the hand-off link and check whether Bookassist stores the parameter on the booking. If it does, the server-side booking event can carry the same anonymousId and Segment ties the booking to the visit.

Use the ecommerce spec rather than inventing names. Send Order Completed with the Bookassist booking reference as order_id, room revenue as revenue, the booking currency, and the room type as the product, plus arrival date and commission avoided as extra properties. Build the messageId from the booking reference so a retried webhook is dropped instead of reaching every destination twice. Cancellations map to Order Cancelled against the same order_id.

European hotels have to carry consent. If a guest refused marketing cookies on your site, that state needs to travel with the event so Segment does not forward the booking to ad destinations that require consent. Check that your consent setup is passed into the server-side call; it is not inherited from the browser automatically.

Bookassist → Segment · what breaks

Why this join usually fails — Bookassist → Segment

  1. 01

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

Bookassist → Segment · the fix

What working looks like — Bookassist → Segment

  • The userId and anonymousId on every booking

  • Conversions arriving in Segment

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

  • Reconciled against the source

Bookassist → Segment · architecture

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

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

    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.

Bookassist → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the booking

  • Sent from the Bookassist booking 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 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

    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

Bookassist → Segment · diagnose

Diagnostic order — Bookassist → Segment

  1. 01

    Count bookings carrying the userId and anonymousId

  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

    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.

Bookassist → Segment · prove

How it gets proven — Bookassist → Segment

Source of truth

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

  • The userId and anonymousId confirmed present on a live booking.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • Direct bookings reconciled at room revenue with commission avoided stated separately.

Bookassist → Segment · free audit

What we check in the free audit

  • Count bookings carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Add commission avoided as a reported figure alongside room revenue
  • Check identity resolution before checking anything downstream
  • 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 → Segment · when not to buy

When you don't need this — Bookassist → Segment

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

Bookassist → Segment · what we deliver

What gets built — Bookassist → Segment

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

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

Append the anonymousId to the link into the engine, confirm Bookassist stores it on the booking, and send the booking server-side with that ID. Without it Segment sees an unrelated anonymous booking.

Free · 30 min

Get Bookassist and Segment joined properly

Free30 minutesNo obligation