Skip to main content
FareHarbor → BigQueryIntegration guide

Connecting FareHarbor to BigQuery

FareHarbor runs bookings for tours and activities, where capacity is per departure and the weather cancels trips outright. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the FareHarbor booking before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

FareHarbor in BigQuery: direct vs reseller, by departure

Load FareHarbor bookings into BigQuery from the webhook with the raw payload, then refresh periodically from the API because statuses change long after creation. Key on the booking identifier, keep booked, departure and status-changed dates, and store the reseller channel and click IDs passed through the lightbox. Cancellations update a status column instead of deleting rows.

BigQuery is the natural home for the channel split FareHarbor operators actually argue about: direct bookings versus Viator, GetYourGuide and other resellers, by departure date, net of cancellations. Load bookings from the webhook as they arrive and keep the raw payload, then refresh from the API periodically, because a booking's status changes long after it is created and a webhook missed in March leaves a July departure wrong.

Use the FareHarbor booking identifier as the primary key and keep three dates per row: booked at, departure, and status changed. Store the booking's affiliate or reseller channel and any parameters you passed through the lightbox, including click IDs captured on your site. That is the join to ad spend: click ID on the booking to the landing session. Bookings without one cannot be joined, and that share should be its own reported number, not hidden.

Weather and minimum-number cancellations should update a status column rather than delete rows, so you can measure how much booked revenue each source loses before departure. Dedupe on the booking identifier before aggregating; webhook retries and API refreshes otherwise double busy weekends. From this table, ad-platform uploads can be built per departed booking instead of per booking made.

FareHarbor → BigQuery · what breaks

Why this join usually fails — FareHarbor → BigQuery

  1. 01

    Whatever join key you decide on 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

    The warehouse quietly disagreeing with every platform

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  4. 04

    Nothing reconciles afterwards

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

FareHarbor → BigQuery · the fix

What working looks like — FareHarbor → BigQuery

  • Whatever join key you decide on on every booking

  • Conversions arriving in BigQuery

    The row lands in a table you own, joinable to every other table you own, with no window and no expiry.

  • Reconciled against the source

FareHarbor → BigQuery · architecture

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

    BigQuery needs a click to match

    BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.

  3. 3

    The identifier is the bridge

    Whatever join key you decide on, 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

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

FareHarbor → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the booking

  • Sent from the FareHarbor booking webhook

  • Deduplicated correctly

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

  • Reconciles with the source

Actually broken

  • Whatever join key you decide on 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

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  • Nobody has reconciled it

FareHarbor → BigQuery · diagnose

Diagnostic order — FareHarbor → BigQuery

  1. 01

    Count bookings carrying whatever join key you decide on

  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

    Reconcile warehouse order counts against each platform for one closed window

    The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.

  5. 05

    Read the match rate, not the success message

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

FareHarbor → BigQuery · prove

How it gets proven — FareHarbor → BigQuery

Source of truth

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

  • Whatever join key you decide on confirmed present on a live booking.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • A weather-cancelled booking confirmed to reverse, and reseller volume reported separately.

FareHarbor → BigQuery · free audit

What we check in the free audit

  • Count bookings carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Compare bookings made against departures completed
  • Reconcile warehouse order counts against each platform for one closed window
  • 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 → BigQuery · when not to buy

When you don't need this — FareHarbor → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry whatever join key you decide on.
  • If most of your volume comes through resellers, the margin question matters more than the tracking one.
  • If you have one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.

FareHarbor → BigQuery · what we deliver

What gets built — FareHarbor → BigQuery

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

    Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.

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

Confirm with FareHarbor what API and webhook access your account has, then load bookings by webhook and reconcile with periodic API pulls keyed on the booking identifier.

Free · 30 min

Get FareHarbor and BigQuery joined properly

Free30 minutesNo obligation