Skip to main content
FareHarbor → PostHogIntegration guide

Connecting FareHarbor to PostHog

FareHarbor runs bookings for tours and activities, where capacity is per departure and the weather cancels trips outright. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the FareHarbor booking before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

FareHarbor to PostHog: a funnel that stops at Book Now

PostHog funnels end at the Book Now button because its snippet does not run in FareHarbor's lightbox. Pass PostHog's distinct_id into the booking link, then call the capture API from the booking webhook with that distinct_id, an event UUID derived from the booking ID, and tour, departure date, party size, add-ons and value. Send cancellations as their own event.

PostHog is useful to an operator for the part of the journey you own: which tour pages, photos and itineraries lead to a Book Now click. Everything after the click happens in FareHarbor's lightbox, where your PostHog snippet is not running, so funnels and session recordings end at the button. That is fine, as long as the booking comes back from the server.

Pass PostHog's distinct_id into the booking link as a parameter FareHarbor stores on the booking. From the booking webhook, call the capture API with that distinct_id, an event such as booking_completed, an event UUID derived deterministically from the FareHarbor booking ID so a retried webhook does not create a second event, and properties: tour item, departure date, party size by customer type, add-ons, value and channel. Now the funnel runs from landing page to paid booking, and lightbox abandonment shows up as the gap between Book Now clicks and booking events.

What this pair is good for: booking lead time and party size by landing page, and tours that draw calendar interest but no bookings because the dates people want are sold out. Send cancellations as their own event carrying the reason, weather or minimum numbers, rather than deleting anything. Reseller bookings have no distinct_id and belong in reporting, not in PostHog.

FareHarbor → PostHog · what breaks

Why this join usually fails — FareHarbor → PostHog

  1. 01

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

    Self-hosting the analytics and the outage together

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  4. 04

    Nothing reconciles afterwards

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

FareHarbor → PostHog · the fix

What working looks like — FareHarbor → PostHog

  • The distinct_id on every booking

  • Conversions arriving in PostHog

    The event lands on the person profile and becomes available in insights, funnels and session replay.

  • Reconciled against the source

FareHarbor → PostHog · architecture

How FareHarbor and PostHog 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

    PostHog needs a click to match

    PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.

  3. 3

    The identifier is the bridge

    The distinct_id, 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

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

FareHarbor → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

  • Sent from the FareHarbor booking webhook

  • Deduplicated correctly

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

  • Reconciles with the source

Actually broken

  • The distinct_id 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

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  • Nobody has reconciled it

FareHarbor → PostHog · diagnose

Diagnostic order — FareHarbor → PostHog

  1. 01

    Count bookings carrying the distinct_id

  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 ingestion health and disk before debugging any missing event

    On self-hosted instances the answer is infrastructure far more often than it is instrumentation.

  5. 05

    Read the match rate, not the success message

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

FareHarbor → PostHog · prove

How it gets proven — FareHarbor → PostHog

Source of truth

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

  • The distinct_id confirmed present on a live booking.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • A weather-cancelled booking confirmed to reverse, and reseller volume reported separately.

FareHarbor → PostHog · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Compare bookings made against departures completed
  • Check ingestion health and disk before debugging any missing event
  • 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 → PostHog · when not to buy

When you don't need this — FareHarbor → PostHog

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • If most of your volume comes through resellers, the margin question matters more than the tracking one.
  • If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.

FareHarbor → PostHog · what we deliver

What gets built — FareHarbor → PostHog

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

    The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.

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

No. The lightbox runs on FareHarbor's domain, so PostHog only sees your pages; the booking itself has to come in from the webhook.

Free · 30 min

Get FareHarbor and PostHog joined properly

Free30 minutesNo obligation