Skip to main content
Bokun → SnowflakeIntegration guide

Connecting Bokun to Snowflake

Bokun is owned by Tripadvisor and connects operators to Viator, so it is a distribution network with a booking engine attached rather than the other way round. Snowflake's distinguishing feature is that two organisations can join data without either copying it to the other, which turns measurement between partners from a legal negotiation into a query. The join between them succeeds or fails on one thing: whether whatever join key both parties agree on, usually a hashed identifier reaches the Bokun booking before the conversion happens, because Snowflake can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Bokun bookings in Snowflake: net rate, channel and capacity

Load every Bokun booking into Snowflake, direct and reseller, with confirmation code, channel, product, departure and booking dates, party size, gross price, net amount and status. Deduplicate on confirmation code keeping the latest version, make net the default revenue column, and join to ad platforms on direct bookings only using click identifiers stored at booking.

Snowflake is where an operator with scale can answer the questions Bokun's own reports do not: true revenue by channel at net rate, commission paid to each reseller, how full each departure ran, and what advertising cost per direct booking. Load every booking, direct and reseller, with confirmation code, channel, product, departure date, booking date, party size, gross price, net amount and status.

Bookings change after they are made. Dates move, participants are added, bookings are cancelled. Load status as of each extract and deduplicate on confirmation code, keeping the latest version, or a rescheduled booking counts twice. A query that sums gross prices across reseller bookings will overstate revenue by the commission, which can approach a quarter of the ticket, so make net the default column.

Then join to your ad platforms on direct bookings only, using click identifiers stored at booking, and to capacity so cost per booking can be read against how full a departure would have been anyway. The most useful single view this pair produces is direct bookings, reseller bookings at net, and ad spend by week, side by side, so nobody credits Viator growth to search campaigns.

Bokun → Snowflake · what breaks

Why this join usually fails — Bokun → Snowflake

  1. 01

    Whatever join key both parties agree on, usually a hashed identifier never reaches Bokun

    Reseller bookings originate on Viator, GetYourGuide or an agent's system. There is no session of yours anywhere in that chain.

  2. 02

    Distribution revenue attributed to advertising

    Bokun's purpose is to put your product in front of travellers on other people's platforms. That works, and none of it is something your search campaign caused.

  3. 03

    A clean room that answers a question nobody agreed on

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  4. 04

    Nothing reconciles afterwards

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

Bokun → Snowflake · the fix

What working looks like — Bokun → Snowflake

  • Whatever join key both parties agree on, usually a hashed identifier on every booking

  • Conversions arriving in Snowflake

    The row lands in a table you own, joinable to your own data and — through a share or clean room — to a partner's, without either party moving raw records.

  • Reconciled against the source

Bokun → Snowflake · architecture

How Bokun and Snowflake actually connect

  1. 1

    Bokun holds the truth

    Reseller bookings carry an OTA commission that can reach a quarter of the ticket price. Your net rate and the traveller's price are different numbers and only one of them is yours.

  2. 2

    Snowflake needs a click to match

    A schema both sides agree on, consistent types, and identifiers normalised identically before hashing. The failure mode is not rejection but silent divergence — a timestamp in the wrong zone or a trimmed-versus-untrimmed email produces answers that look plausible.

  3. 3

    The identifier is the bridge

    Whatever join key both parties agree on, usually a hashed identifier, captured at the visit and carried into the Bokun booking.

  4. 4

    The event source decides reliability

    Send direct bookings at net value. Never send reseller bookings as conversions.

  5. 5

    Deduplication at the destination

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

Bokun → Snowflake · normal or broken

Working vs. broken, side by side — Bokun → Snowflake

Normal, not a fault

  • Whatever join key both parties agree on, usually a hashed identifier present on the booking

  • Sent from the Bokun booking record

  • Deduplicated correctly

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

  • Reconciles with the source

Actually broken

  • Whatever join key both parties agree on, usually a hashed identifier missing on most records

    Reseller bookings originate on Viator, GetYourGuide or an agent's system. There is no session of yours anywhere in that chain.

  • Sent from the browser

    Bokun's purpose is to put your product in front of travellers on other people's platforms. That works, and none of it is something your search campaign caused.

  • Counted twice, or not at all

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  • Nobody has reconciled it

Bokun → Snowflake · diagnose

Diagnostic order — Bokun → Snowflake

  1. 01

    Count bookings carrying whatever join key both parties agree on, usually a hashed identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Split by channel and check whether values are gross or net

    Two questions, both usually answered wrongly, and together they can overstate return by a factor of two.

  4. 04

    Write down both parties' conversion definitions before writing any query

    Definition mismatch, not technology, is what makes most partner measurement projects produce numbers neither side trusts.

  5. 05

    Read the match rate, not the success message

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

Bokun → Snowflake · prove

How it gets proven — Bokun → Snowflake

Source of truth

Bokun bookings by departure, split into your own website and reseller channels, valued at your net rate.

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live booking.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • Direct bookings reconciled at net value against imported conversions.

Bokun → Snowflake · free audit

What we check in the free audit

  • Count bookings carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Split by channel and check whether values are gross or net
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Bokun bookings by departure, split into your own website and reseller channels, valued at your net rate.

Get my free conversion tracking audit

Free30 minutesNo obligation

Bokun → Snowflake · when not to buy

When you don't need this — Bokun → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • An operator selling mainly through Viator has a distribution question, not a tracking question.
  • If you have no partner to share data with and one cloud, a warehouse you already run does the same job. The sharing capability is what justifies this one.

Bokun → Snowflake · what we deliver

What gets built — Bokun → Snowflake

  • Identifier capture into Bokun

    Attribute direct-website bookings only, and report reseller volume as a separate channel at net rate.

  • Event source: the Bokun booking record

    Send direct bookings at net value. Never send reseller bookings as conversions.

  • Dispatch to Snowflake

    Batch or streaming loads from your order system, with the raw event retained alongside anything you derive from it.

  • Reversals where they exist

    Cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against Bokun bookings by departure, split into your own website and reseller channels, valued at your net rate.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Bokun → Snowflake questions, answered

Through Bokun's API or exports on a schedule, loading every booking with channel, net amount and status. Check what your account exposes.

Free · 30 min

Get Bokun and Snowflake joined properly

Free30 minutesNo obligation