Skip to main content
RoomRaccoon → BigQueryIntegration guide

Connecting RoomRaccoon to BigQuery

RoomRaccoon leans on automated upselling after the booking is made, so the value of a reservation at confirmation is routinely not the value at checkout. 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 RoomRaccoon reservation 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

RoomRaccoon to BigQuery: reservation and folio as two tables

Load RoomRaccoon reservations at creation and settled folios at checkout as separate BigQuery tables keyed on reservation ID, so upsell revenue can be compared by booking source. Join a website capture table of click IDs, client_id and session ID, keep folio line-item types so tax is excluded, and deduplicate on folio ID keeping the latest version.

BigQuery is where the gap between RoomRaccoon's reservation value and its checkout folio can be measured property by property and channel by channel. Load reservations at creation with their value, and settled folios at checkout as a separate table keyed on the same reservation ID. The difference per reservation is upsell revenue, and grouping it by booking source shows whether direct and paid-search guests upgrade at different rates than OTA guests, which decides how much a direct booking is really worth against a commission.

The join to ads needs a capture table from your website: gclid, fbclid, GA4 client_id and session ID written at landing, keyed on an ID you pass into the booking engine link or matched to the reservation afterwards by guest email and stay dates. The booking engine lives on a RoomRaccoon domain, so do not expect click IDs in RoomRaccoon's own data unless you confirm a field that carries them. Check whether RoomRaccoon offers API access or scheduled exports for folios (confirm with RoomRaccoon); line items are what you want, not just totals.

Keep line-item types. A folio total mixes room revenue, upsells, city tax and sometimes deposits, and tax should never count as revenue attributed to a campaign. Deduplicate on folio ID and keep the latest version, since folios get reopened and corrected after checkout.

RoomRaccoon → BigQuery · what breaks

Why this join usually fails — RoomRaccoon → BigQuery

  1. 01

    Whatever join key you decide on never reaches RoomRaccoon

    The booking engine sits on a RoomRaccoon domain, and the upsell emails that generate the extra revenue arrive days later on another device.

  2. 02

    Upsell revenue invisible to the ad account

    If you report at booking, every campaign looks worse than it is by whatever your upsell attach rate happens to be — and the campaigns that bring the guests most likely to upgrade are penalized hardest.

  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.

RoomRaccoon → BigQuery · the fix

What working looks like — RoomRaccoon → BigQuery

  • Whatever join key you decide on on every reservation

  • 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

RoomRaccoon → BigQuery · architecture

How RoomRaccoon and BigQuery actually connect

  1. 1

    RoomRaccoon holds the truth

    The folio includes the upsells — early check-in, room upgrade, breakfast, parking — that the platform is designed to sell after the guest has already committed. On some properties that is a fifth of the revenue.

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

  4. 4

    The event source decides reliability

    Send the settled folio, not the reservation. Sending at booking systematically undercounts exactly the revenue the platform exists to create.

  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.

RoomRaccoon → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the reservation

  • Sent from the RoomRaccoon folio at checkout

  • 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 RoomRaccoon domain, and the upsell emails that generate the extra revenue arrive days later on another device.

  • Sent from the browser

    If you report at booking, every campaign looks worse than it is by whatever your upsell attach rate happens to be — and the campaigns that bring the guests most likely to upgrade are penalized hardest.

  • 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

RoomRaccoon → BigQuery · diagnose

Diagnostic order — RoomRaccoon → BigQuery

  1. 01

    Count reservations carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare booking value against folio value

    The gap is your upsell revenue and it is the amount your current reporting is throwing away.

  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.

RoomRaccoon → BigQuery · prove

How it gets proven — RoomRaccoon → BigQuery

Source of truth

RoomRaccoon folios at checkout, not reservations at booking.

  • Whatever join key you decide on confirmed present on a live reservation.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Checkout folios reconciled against imported conversions across a fully departed month.

RoomRaccoon → BigQuery · free audit

What we check in the free audit

  • Count reservations carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Compare booking value against folio value
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

RoomRaccoon folios at checkout, not reservations at booking.

Get my free conversion tracking audit

Free30 minutesNo obligation

RoomRaccoon → BigQuery · when not to buy

When you don't need this — RoomRaccoon → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry whatever join key you decide on.
  • If you do not upsell, reporting at booking is fine and simpler. This page is about the case where you do.
  • 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.

RoomRaccoon → BigQuery · what we deliver

What gets built — RoomRaccoon → BigQuery

  • Identifier capture into RoomRaccoon

    Capture the identifier before the booking engine and persist it against the reservation, so the folio total at checkout can still be traced to the original click.

  • Event source: the RoomRaccoon folio at checkout

    Send the settled folio, not the reservation. Sending at booking systematically undercounts exactly the revenue the platform exists to create.

  • 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; removed upsells reduce.

Written guarantee

95%+ tracking accuracy

Measured against RoomRaccoon folios at checkout, not reservations at booking.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

RoomRaccoon → BigQuery questions, answered

Join folio totals at checkout to reservation values at booking on the reservation ID, remove taxes and deposits, and group the difference by booking source. That needs both datasets, not just reservations.

Free · 30 min

Get RoomRaccoon and BigQuery joined properly

Free30 minutesNo obligation