Connecting Guesty to BigQuery
Guesty runs short-term rental portfolios at scale, where the revenue on a booking is split between the owner, the manager and the platform — so the first question is whose revenue you are even reporting. 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 Guesty 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
Guesty to BigQuery: commission, channel and listing in one table
Load Guesty reservations into BigQuery with listing ID, channel, booking and stay dates, guest total and commission as separate columns. Store each update as a timestamped row and take the latest per reservation ID in a view. Click IDs exist only for direct bookings; OTA rows correctly have none. Judge ad spend by booking date, revenue by stay date.
BigQuery is the right home for the number Guesty operators most often get wrong: what the business earned per reservation after the owner's share. Load reservations with listing ID, channel, booking date, check-in and check-out, guest total and your commission as separate columns, so a query can report either and nobody confuses them. Check whether your Guesty account or a third-party connector exports reservations directly; otherwise pull from Guesty's API on a schedule.
The join to advertising exists only for direct bookings: the click identifiers captured on your own domain before the booking engine, written to the reservation or to a side table keyed on reservation ID. OTA rows have no click ID by definition, and that is correct data rather than missing data. Keep the channel column in every model so direct and OTA revenue never merge in a report.
Reservations change after creation: dates move, stays shorten, bookings cancel. Load each update as a new timestamped row and take the latest per reservation ID in a view, so you can see when a commission already reported to an ad platform later shrank. Store both booking date and stay date; use booking date to judge ad spend and stay date for revenue, because in a seasonal market the two give very different months.
Guesty → BigQuery · what breaks
Why this join usually fails — Guesty → BigQuery
- 01
Whatever join key you decide on never reaches Guesty
Direct bookings run through Guesty Booking Engine on a Guesty-served surface; everything else arrives from an OTA with no session at all.
- 02
Reporting the owner's revenue as your own
This is the single most common error in property management measurement, and it is a factor-of-five error, not a rounding one. It makes unprofitable acquisition look outstanding.
- 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.
- 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.
Guesty → BigQuery · the fix
What working looks like — Guesty → 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
Guesty → BigQuery · architecture
How Guesty and BigQuery actually connect
- 1
Guesty holds the truth
A property manager does not earn the nightly rate. Importing the guest-facing total inflates reported return by roughly the inverse of your commission, which on a 20% management fee is a factor of five.
- 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
The identifier is the bridge
Whatever join key you decide on, captured at the visit and carried into the Guesty reservation.
- 4
The event source decides reliability
Send your commission on direct bookings, not the guest total, and per listing rather than per portfolio.
- 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.
Guesty → BigQuery · normal or broken
Working vs. broken, side by side — Guesty → BigQuery
Normal, not a fault
Whatever join key you decide on present on the reservation
Sent from the Guesty reservation API
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
Direct bookings run through Guesty Booking Engine on a Guesty-served surface; everything else arrives from an OTA with no session at all.
Sent from the browser
This is the single most common error in property management measurement, and it is a factor-of-five error, not a rounding one. It makes unprofitable acquisition look outstanding.
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
Guesty → BigQuery · diagnose
Diagnostic order — Guesty → BigQuery
- 01
Count reservations carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Check whose money the imported value represents
Guest total or management commission. One question, and the answer decides whether any of your reported returns mean anything.
- 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.
- 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.
Guesty → BigQuery · prove
How it gets proven — Guesty → BigQuery
Source of truth
Guesty reservations by listing and channel, valued at the management commission rather than the guest's total.
- 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.
- Direct-booking commission reconciled against imported conversions for a settled month.
Guesty → 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
- Check whose money the imported value represents
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Guesty reservations by listing and channel, valued at the management commission rather than the guest's total.
Free30 minutesNo obligation
Guesty → BigQuery · when not to buy
When you don't need this — Guesty → BigQuery
- Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry whatever join key you decide on.
- If you are an owner rather than a manager, the guest total is your revenue and this particular trap does not apply.
- 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.
Guesty → BigQuery · what we deliver
What gets built — Guesty → BigQuery
Identifier capture into Guesty
Persist the identifier on your own domain ahead of the booking engine, and record the channel on the reservation so the two revenue types stay separable.
Event source: the Guesty reservation API
Send your commission on direct bookings, not the guest total, and per listing rather than per portfolio.
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 the commission, not the guest total.
Written guarantee
95%+ tracking accuracy
Measured against Guesty reservations by listing and channel, valued at the management commission rather than the guest's total.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Guesty → BigQuery questions, answered
Use a Guesty-supported export or third-party connector if your account has one, or a scheduled job against Guesty's API. Include channel and commission, not just the guest total.
Store both. Booking date is the right one for evaluating ad spend; stay date suits financial reporting.
Almost always because whatever join key you decide on never reached the Guesty reservation. Direct bookings run through Guesty Booking Engine on a Guesty-served surface; everything else arrives from an OTA with no session at all. Measure coverage before debugging the dispatch.
There is no vendor identifier here. You choose the key — order ID, user ID, click identifier, hashed email — and you live with the consequences. That is the whole appeal and the whole risk: nothing is standardised for you and nothing is silently wrong in a vendor's favour either.
The Guesty reservation API. Send your commission on direct bookings, not the guest total, and per listing rather than per portfolio.
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.
More on Guesty → BigQuery
- Guesty → Google AdsConnecting Guesty to Google Ads
- Guesty → MetaConnecting Guesty to Meta Conversions API
- Guesty → GA4Connecting Guesty to GA4
Using Guesty for bookings? How Guesty bookings get tracked end to end
RELATED GUIDES
Where Guesty → BigQuery fits in the rest of your tracking
- Cloudbeds → BigQueryConnecting Cloudbeds to BigQuery
- Profitroom → BigQueryConnecting Profitroom to BigQuery
- Lodgify → BigQueryConnecting Lodgify to BigQuery
- Guesty → SnowflakeConnecting Guesty to Snowflake
- Guesty → SegmentConnecting Guesty to Segment
- HotelsConversion tracking for hotels, built around the direct booking
- RoomRaccoon → BigQueryConnecting RoomRaccoon to BigQuery
- OPERA → BigQueryConnecting Oracle OPERA to BigQuery
Free · 30 min
Get Guesty and BigQuery joined properly
Free30 minutesNo obligation
