Skip to main content
FareHarbor → SegmentIntegration guide

Connecting FareHarbor to Segment

FareHarbor runs bookings for tours and activities, where capacity is per departure and the weather cancels trips outright. 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 FareHarbor 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

FareHarbor through Segment: stitch the lightbox to anonymousId

Pass Segment's anonymousId into FareHarbor's lightbox so it returns on the booking, then send Order Completed from the webhook with order_id as the booking identifier, revenue including add-ons and guests as quantity, plus an identify with the email. Build messageId from the booking identifier, and send Order Cancelled with a reason for weather cancellations.

Segment is worth it for a tour operator who already sends to several tools, such as an email platform, an ad network or two and a warehouse, and wants one booking definition. The obstacle is that analytics.js runs on your site while the booking completes in FareHarbor's lightbox, which your Segment snippet cannot see. Read the anonymousId on your page and pass it into the lightbox's supported parameters so it returns on the booking.

From the booking webhook, send Order Completed with that anonymousId, order_id as the FareHarbor booking identifier, revenue including add-ons, and products as the booked item with guests as quantity, plus an identify carrying the guest's email as a trait. Build messageId from the booking identifier so webhook retries do not fan out as duplicate bookings to every destination. Carry captured click IDs and the consent state your site recorded as properties, so ad destinations downstream can decide what they may send.

Cancellations go as Order Cancelled with the same order_id and a reason property; weather cancellations are common enough that tools reading only Order Completed overstate revenue. Reseller bookings should be tagged by channel or excluded, since Viator and GetYourGuide customers never had a Segment identity.

FareHarbor → Segment · what breaks

Why this join usually fails — FareHarbor → Segment

  1. 01

    The userId and anonymousId never reaches FareHarbor

    The booking flow runs in a FareHarbor-hosted lightbox or page, so cookies do not cross. Reseller bookings arrive with no identifier at all.

  2. 02

    Weather cancelling revenue you already counted

    An activity booked in March for July can be cancelled by weather on the day. Without reversals, reported revenue includes trips that never ran.

  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.

FareHarbor → Segment · the fix

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

FareHarbor → Segment · architecture

How FareHarbor and Segment actually connect

  1. 1

    FareHarbor holds the truth

    Activity operators sell through their own site and through resellers like Viator and GetYourGuide at very different margins. The channel split is the commercial story.

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

  4. 4

    The event source decides reliability

    Send direct bookings at total booking value including add-ons, and fire at booking rather than departure — the gap is often months.

  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.

FareHarbor → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the booking

  • Sent from the FareHarbor booking webhook

  • 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 runs in a FareHarbor-hosted lightbox or page, so cookies do not cross. Reseller bookings arrive with no identifier at all.

  • Sent from the browser

    An activity booked in March for July can be cancelled by weather on the day. Without reversals, reported revenue includes trips that never ran.

  • 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

FareHarbor → Segment · diagnose

Diagnostic order — FareHarbor → Segment

  1. 01

    Count bookings carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare bookings made against departures completed

    The gap is cancellation, and in weather-dependent activities it is not small.

  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.

FareHarbor → Segment · prove

How it gets proven — FareHarbor → Segment

Source of truth

FareHarbor bookings by departure date, net of cancellations, split direct versus reseller.

  • 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.
  • A weather-cancelled booking confirmed to reverse, and reseller volume reported separately.

FareHarbor → Segment · free audit

What we check in the free audit

  • Count bookings carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Compare bookings made against departures completed
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

FareHarbor bookings by departure date, net of cancellations, split direct versus reseller.

Get my free conversion tracking audit

Free30 minutesNo obligation

FareHarbor → Segment · when not to buy

When you don't need this — FareHarbor → Segment

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the userId and anonymousId.
  • If most of your volume comes through resellers, the margin question matters more than the tracking one.
  • 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.

FareHarbor → Segment · what we deliver

What gets built — FareHarbor → Segment

  • Identifier capture into FareHarbor

    Pass the identifier through the lightbox's supported parameters onto the booking, and segment reseller volume out.

  • Event source: the FareHarbor booking webhook

    Send direct bookings at total booking value including add-ons, and fire at booking rather than departure — the gap is often months.

  • 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

    Weather cancellations and minimum-numbers cancellations are frequent and must reverse.

Written guarantee

95%+ tracking accuracy

Measured against FareHarbor bookings by departure date, net of cancellations, split direct versus reseller.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

FareHarbor → Segment questions, answered

Not inside the lightbox. Send them server-side from the booking webhook, with the anonymousId from your site passed through the booking.

Free · 30 min

Get FareHarbor and Segment joined properly

Free30 minutesNo obligation