Skip to main content
Tokeet → BigQueryIntegration guide

Connecting Tokeet to BigQuery

Tokeet is modular — booking, messaging, websites and channel management are separate products — which means what is actually installed differs per operator and so does what can be tracked. 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 Tokeet 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

Tokeet to BigQuery: Bookings by Property, Channel and Click

Pull Tokeet bookings into BigQuery through the API with booking ID, property, channel, booked date, arrival, departure, total, status and hashed guest email. Use booked date for advertising and arrival for revenue, map click identifiers to booking IDs for direct bookings, and append cancellations and modifications as status rows rather than overwriting.

A warehouse holds what Tokeet's reports cannot combine: bookings by property and arrival, split by channel, alongside ad spend and the click identifiers your site captured. Pull bookings through Tokeet's API, checking access on your account, with booking ID, property, channel, booked date, arrival, departure, total, status and a hashed guest email. Store booked date and arrival date as separate columns.

Use booked date for advertising, since that is when the conversion happened, and arrival date for revenue and occupancy. The ad platforms count on conversion date, and a report keyed on arrival will never line up with them. Only direct-channel rows can carry click identifiers. If the Tokeet booking has nowhere to store them, keep a mapping table on your side that links the session's identifiers to the booking ID at confirmation.

The comparison this warehouse is built for is direct versus channel: ad spend per direct booking against the commission an OTA would have taken on the same stay. Load cancellations and modifications as appended status rows; date changes alter value and arrival, and overwriting the row hides that the original booking was ever counted elsewhere.

Tokeet → BigQuery · what breaks

Why this join usually fails — Tokeet → BigQuery

  1. 01

    Whatever join key you decide on never reaches Tokeet

    Which modules are installed decides whether a direct booking path exists at all.

  2. 02

    Planning an integration for a module nobody bought

    Modular platforms make it easy to design a tracking approach around a component the operator does not have. Establishing the installed configuration first avoids a build that cannot run.

  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.

Tokeet → BigQuery · the fix

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

Tokeet → BigQuery · architecture

How Tokeet and BigQuery actually connect

  1. 1

    Tokeet holds the truth

    Modularity means the direct booking website may or may not exist on a given account. That is the first thing to establish, because without it there is nothing to attribute.

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

  4. 4

    The event source decides reliability

    Send direct bookings per property at total stay value.

  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.

Tokeet → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the booking

  • Sent from the Tokeet booking record

  • 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

    Which modules are installed decides whether a direct booking path exists at all.

  • Sent from the browser

    Modular platforms make it easy to design a tracking approach around a component the operator does not have. Establishing the installed configuration first avoids a build that cannot run.

  • 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

Tokeet → BigQuery · diagnose

Diagnostic order — Tokeet → BigQuery

  1. 01

    Count bookings carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    List which Tokeet modules are actually in use

    First step, before any measurement design.

  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.

Tokeet → BigQuery · prove

How it gets proven — Tokeet → BigQuery

Source of truth

Tokeet bookings by property and arrival, split by channel.

  • 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.
  • Direct bookings reconciled per property against imported conversions.

Tokeet → 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
  • List which Tokeet modules are actually in use
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Tokeet bookings by property and arrival, split by channel.

Get my free conversion tracking audit

Free30 minutesNo obligation

Tokeet → BigQuery · when not to buy

When you don't need this — Tokeet → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry whatever join key you decide on.
  • If no direct booking module is installed, there is nothing to attribute and the recommendation is to install one or stop.
  • 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.

Tokeet → BigQuery · what we deliver

What gets built — Tokeet → BigQuery

  • Identifier capture into Tokeet

    Confirm the direct website module is in use before designing anything, then capture on it.

  • Event source: the Tokeet booking record

    Send direct bookings per property at total stay value.

  • 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

    Cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against Tokeet bookings by property and arrival, split by channel.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Tokeet → BigQuery questions, answered

Load Tokeet bookings into BigQuery with channel, booked date and total, join direct bookings to the click identifiers your site captured, and compare ad spend with the OTA commission those bookings avoided.

Free · 30 min

Get Tokeet and BigQuery joined properly

Free30 minutesNo obligation