Skip to main content
Lodgify → SegmentIntegration guide

Connecting Lodgify to Segment

Lodgify exists to give vacation-rental owners a direct booking website, which makes it one of the few lodging platforms where the click identifier can actually survive to the booking. 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 Lodgify 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

Lodgify to Segment: one booking event, channel tagged, then fan out

Emit one Order Completed track call per confirmed Lodgify booking from its API or webhook, with the booking ID as messageId, the persisted anonymousId, and channel, property, arrival date, lead time and click IDs as properties. Identify with a hashed guest email. Use destination filters so only direct bookings reach ad tools, and map cancellations per destination.

Segment fits a Lodgify operation that sends bookings to several places at once, such as an email tool for pre-arrival messages, a warehouse and two or more ad platforms. The rule that matters is upstream: emit one Order Completed track call per confirmed Lodgify booking, built from Lodgify's API or webhook rather than a thank-you page, with the booking ID in the messageId so a retried webhook does not fan a duplicate out to every tool.

Identity is where Lodgify sites fail. Guests are anonymous until the booking, so the anonymousId from analytics.js on your Lodgify site is the only link to the ad click. Persist it in a first-party cookie, carry it to the server-side booking event, and identify with a userId you control, usually a hashed guest email, so next year's booking stitches to the same person. If checkout runs on a Lodgify-hosted domain, any analytics.js there gets a different anonymousId; check before trusting a cross-domain funnel. Put channel, property ID, arrival date, lead time and captured click IDs on the event as properties, and pass consent as context.

Use destination filters so only direct bookings reach ad destinations, while Airbnb and Vrbo bookings still flow to the warehouse and messaging tools. Send cancellations as their own event; Segment reverses nothing downstream on its own, so each destination needs a mapping for what a cancellation means there.

Lodgify → Segment · what breaks

Why this join usually fails — Lodgify → Segment

  1. 01

    The userId and anonymousId never reaches Lodgify

    The booking flow may render in a Lodgify-hosted checkout depending on plan, and payment can hand off again to the processor.

  2. 02

    Booking value counted months before the stay

    Long lead times are the defining feature of this business. Send the full booking value on the day it is made and your reported return for March is partly built on stays that will be cancelled in May.

  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.

Lodgify → Segment · the fix

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

Lodgify → Segment · architecture

How Lodgify and Segment actually connect

  1. 1

    Lodgify holds the truth

    Direct bookings originate on your domain and can be attributed. Airbnb and Vrbo bookings arrive through the channel manager with no browser session of yours behind them, ever.

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

  4. 4

    The event source decides reliability

    Send the booking value at confirmation, but be explicit that a vacation rental booked in January for July is revenue you have not yet earned and may not keep.

  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.

Lodgify → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the booking

  • Sent from the Lodgify 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 booking flow may render in a Lodgify-hosted checkout depending on plan, and payment can hand off again to the processor.

  • Sent from the browser

    Long lead times are the defining feature of this business. Send the full booking value on the day it is made and your reported return for March is partly built on stays that will be cancelled in May.

  • 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

Lodgify → Segment · diagnose

Diagnostic order — Lodgify → Segment

  1. 01

    Count bookings carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure the cancellation rate by lead time

    Bookings made six months out cancel at a very different rate from bookings made next week, and the difference decides whether you report at booking or at stay.

  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.

Lodgify → Segment · prove

How it gets proven — Lodgify → Segment

Source of truth

Lodgify bookings by arrival date, split between your own website and the channels Lodgify syncs with.

  • 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 against imported conversions over a window long enough for the cancellation curve to settle.

Lodgify → Segment · free audit

What we check in the free audit

  • Count bookings carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Measure the cancellation rate by lead time
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Lodgify bookings by arrival date, split between your own website and the channels Lodgify syncs with.

Get my free conversion tracking audit

Free30 minutesNo obligation

Lodgify → Segment · when not to buy

When you don't need this — Lodgify → Segment

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the userId and anonymousId.
  • If nearly all your bookings come from Airbnb and Vrbo, there is no identifier to track and your lever is listing quality, not conversion tracking.
  • 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.

Lodgify → Segment · what we deliver

What gets built — Lodgify → Segment

  • Identifier capture into Lodgify

    Capture on landing, persist in first-party storage on your own domain, and attach to the reservation at confirmation rather than relying on the checkout page to carry it.

  • Event source: the Lodgify booking record

    Send the booking value at confirmation, but be explicit that a vacation rental booked in January for July is revenue you have not yet earned and may not keep.

  • 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 must reverse, and in vacation rentals the cancellation window is long enough that a meaningful share will.

Written guarantee

95%+ tracking accuracy

Measured against Lodgify bookings by arrival date, split between your own website and the channels Lodgify syncs with.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Lodgify → Segment questions, answered

Check Segment's source catalog and Lodgify's integrations list rather than assuming. Otherwise a small service reading Lodgify webhooks or the API and calling Segment's HTTP API does the job.

Free · 30 min

Get Lodgify and Segment joined properly

Free30 minutesNo obligation