Skip to main content
Profitroom → BigQueryIntegration guide

Connecting Profitroom to BigQuery

Profitroom is built to move hotels away from OTA dependence, which makes the direct-versus-OTA split the entire point of the product and the entire measurement question. 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 Profitroom 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

Profitroom to BigQuery: direct share by arrival month, joined

Load Profitroom direct bookings and every PMS or channel manager reservation, OTA included, into BigQuery keyed on reservation ID with the source channel on each row. Direct share is direct over total bookings. Store click identifiers and UTMs on direct rows, and merge on reservation ID with a status column so modified bookings don't double.

Direct share of bookings is the number Profitroom exists to move and the one hotel marketing reports usually leave out. BigQuery is a good place to compute it, because it needs data from two systems that never agree out of the box: Profitroom direct bookings, and every reservation in the PMS or channel manager, OTA ones included.

Load bookings from both sources keyed on the reservation ID, with the source channel recorded on each row. Direct share is then direct bookings over total bookings for the same arrival month, and the question to ask of advertising is whether direct share moved, not whether bookings rose. If Profitroom can return the click identifiers and UTMs carried into the booking engine, store them on the direct rows so paid search and metasearch can be separated from brand-direct traffic. Check how Profitroom exports bookings for your account, whether API, scheduled report or via the channel manager, before designing tables.

Bookings change after the fact: dates move, rooms are added, stays are canceled, and flexible rates cancel more often than non-refundable ones. Load with a merge on the reservation ID and a status column rather than an append, or a modified booking counts twice. Report by booking date and by arrival date, because marketing acts on the first and revenue management plans on the second.

Profitroom → BigQuery · what breaks

Why this join usually fails — Profitroom → BigQuery

  1. 01

    Whatever join key you decide on never reaches Profitroom

    The booking engine sits on a Profitroom-served domain and the decision runs across sessions and devices.

  2. 02

    Direct-share growth invisible in an occupancy number

    A hotel can hold occupancy flat while shifting a fifth of its bookings from OTA to direct, which is worth the whole commission saved. Occupancy reporting shows nothing happened.

  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.

Profitroom → BigQuery · the fix

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

Profitroom → BigQuery · architecture

How Profitroom and BigQuery actually connect

  1. 1

    Profitroom holds the truth

    The commercial case for this platform is shifting share from OTA commission to direct booking. That shift is the number worth reporting, and it is not the same as total occupancy.

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

  4. 4

    The event source decides reliability

    Send direct bookings at total stay value, with OTA-sourced reservations reported separately.

  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.

Profitroom → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the booking

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

    The booking engine sits on a Profitroom-served domain and the decision runs across sessions and devices.

  • Sent from the browser

    A hotel can hold occupancy flat while shifting a fifth of its bookings from OTA to direct, which is worth the whole commission saved. Occupancy reporting shows nothing happened.

  • 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

Profitroom → BigQuery · diagnose

Diagnostic order — Profitroom → BigQuery

  1. 01

    Count bookings carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Report direct share of bookings, not just occupancy

    It is the metric this product exists to move, and it is frequently absent from the marketing report.

  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.

Profitroom → BigQuery · prove

How it gets proven — Profitroom → BigQuery

Source of truth

Profitroom direct bookings by arrival date, at total stay revenue.

  • 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 at total stay value against imported conversions, with direct share stated.

Profitroom → 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
  • Report direct share of bookings, not just occupancy
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Profitroom direct bookings by arrival date, at total stay revenue.

Get my free conversion tracking audit

Free30 minutesNo obligation

Profitroom → BigQuery · when not to buy

When you don't need this — Profitroom → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry whatever join key you decide on.
  • If your OTA share is already low, the remaining upside is small and the effort belongs elsewhere.
  • 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.

Profitroom → BigQuery · what we deliver

What gets built — Profitroom → BigQuery

  • Identifier capture into Profitroom

    Capture on your own site and persist through the handoff, so direct bookings can be separated from channel-manager ones.

  • Event source: the Profitroom booking record

    Send direct bookings at total stay value, with OTA-sourced reservations reported separately.

  • 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, and flexible rates cancel more than non-refundable ones.

Written guarantee

95%+ tracking accuracy

Measured against Profitroom direct bookings by arrival date, at total stay revenue.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Profitroom → BigQuery questions, answered

Divide direct bookings by total bookings across all channels for the same arrival period, using reservation records from Profitroom and your PMS or channel manager. A warehouse join on the reservation ID makes it repeatable.

Free · 30 min

Get Profitroom and BigQuery joined properly

Free30 minutesNo obligation