Skip to main content
Newbook → SnowflakeIntegration guide

Connecting Newbook to Snowflake

Newbook runs mixed-accommodation properties — cabins, powered sites, glamping tents — where each accommodation type has its own capacity, price and seasonality inside one park. 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 Newbook reservation 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

Newbook reservations in Snowflake, with every change kept

Load every Newbook reservation change with its timestamp, not just current state, and build current state from that history. Keep direct and channel-manager rows in one table with a channel column, join ad data on click identifiers stored with direct reservations, store UTC plus the park's time zone, and dedupe on booking number and change timestamp in a scheduled step.

Snowflake is where a park group puts Newbook data next to ad spend, and the hard part is that a reservation is not a fixed row. It is created, moved to new dates, upgraded from a powered site to a cabin, partly refunded and sometimes cancelled. Loading only the current state erases the history that explains revenue by accommodation type, so load each change with its timestamp and build current state from it.

Keep direct and channel-manager reservations in one table with the channel as a column, and never sum them into one marketing revenue figure. Joins to ad data run on the click identifiers you captured on your site and stored with direct reservations; OTA rows have none and belong in a separate analysis of commission cost. Store times in UTC with the park's time zone alongside, because arrivals are local events.

Pipelines retry, so dedupe on booking number plus change timestamp in a scheduled step. Data sharing only matters if a partner, such as a tourism board or an affiliate network, wants to join stays to its own data; agree the definition first, booked or arrived, net of cancellations or not. A single park with no partner can answer these questions from Newbook reports.

Newbook → Snowflake · what breaks

Why this join usually fails — Newbook → Snowflake

  1. 01

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

    The booking engine is Newbook-hosted and the channel manager brings OTA reservations with no identifier at all.

  2. 02

    Mixed inventory averaged into one occupancy figure

    A park at ninety percent occupancy can be full on cheap sites and empty on premium cabins. The aggregate looks healthy and the revenue does not follow.

  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.

Newbook → Snowflake · the fix

What working looks like — Newbook → Snowflake

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

  • 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

Newbook → Snowflake · architecture

How Newbook and Snowflake actually connect

  1. 1

    Newbook holds the truth

    Mixed inventory means one park is several businesses. Glamping fills in summer at a premium; powered sites fill year-round at a lower rate. Averaging them produces a number that guides nothing.

  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 Newbook reservation.

  4. 4

    The event source decides reliability

    Send direct-channel stays at total revenue, with accommodation type attached.

  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.

Newbook → Snowflake · normal or broken

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

Normal, not a fault

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

  • Sent from the Newbook reservation 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

    The booking engine is Newbook-hosted and the channel manager brings OTA reservations with no identifier at all.

  • Sent from the browser

    A park at ninety percent occupancy can be full on cheap sites and empty on premium cabins. The aggregate looks healthy and the revenue does not follow.

  • 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

Newbook → Snowflake · diagnose

Diagnostic order — Newbook → Snowflake

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Report occupancy and revenue per accommodation type

    It is the difference between knowing the park is busy and knowing which part of it is earning.

  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.

Newbook → Snowflake · prove

How it gets proven — Newbook → Snowflake

Source of truth

Newbook reservations by arrival, with accommodation type and channel recorded.

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live reservation.
  • 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 stays reconciled at total revenue by accommodation type against imported conversions.

Newbook → Snowflake · free audit

What we check in the free audit

  • Count reservations carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Report occupancy and revenue per accommodation type
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Newbook reservations by arrival, with accommodation type and channel recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Newbook → Snowflake · when not to buy

When you don't need this — Newbook → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • Single-inventory parks can use one conversion action without losing anything.
  • 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.

Newbook → Snowflake · what we deliver

What gets built — Newbook → Snowflake

  • Identifier capture into Newbook

    Capture on your own domain and keep both accommodation type and channel on every reservation downstream.

  • Event source: the Newbook reservation record

    Send direct-channel stays at total revenue, with accommodation type attached.

  • 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, per accommodation type.

Written guarantee

95%+ tracking accuracy

Measured against Newbook reservations by arrival, with accommodation type and channel recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Newbook → Snowflake questions, answered

As a history of changes per booking number, with current state derived from it. Upgrades, date moves and cancellations otherwise overwrite the revenue you need to explain.

Free · 30 min

Get Newbook and Snowflake joined properly

Free30 minutesNo obligation