Connecting Lodgify to BigQuery
Lodgify exists to give vacation-rental owners a direct booking website, which makes it one of the few lodging platforms where the click identifier can actually survive to the booking. 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 Lodgify 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
Lodgify to BigQuery: the cancellation curve by lead time, finally
Load every Lodgify booking from its API on a schedule into BigQuery, appending a row per status change with creation date, arrival date, channel, status, value and currency, so cancellation by lead time is one query. Join to ads through gclid, fbclid and GA4 client_id captured on your domain, linked by checkout field or email.
BigQuery is the cleanest place to settle the Lodgify question nobody answers in an ad dashboard: should bookings be reported at booking or at stay? Load every Lodgify booking with its creation date, arrival date, channel, status and value, append a new row each time the status changes, and cancellation rate by lead-time bucket becomes one query. Lodgify has a public API you can pull bookings from (check the current version and rate limits); a scheduled load beats manual exports because cancellations arrive continuously.
The join key to advertising is the click ID you captured on your own domain, not anything inside Lodgify. Store gclid, fbclid and the visitor's GA4 client_id in a capture table at landing, and link them to the booking either through a field Lodgify lets you populate at checkout or by a lookup on guest email after confirmation. Direct bookings then join to clicks, while channel-manager bookings, which carry no click by construction, sit in the same table clearly labeled.
Two traps are specific to this load. Booking values change after creation when guests add nights or a manager applies a discount, so keep snapshot history rather than overwriting. And amounts arrive in each property's currency; a portfolio spanning countries needs currency stored per row and converted at a stated rate before anything is summed against ad spend.
Lodgify → BigQuery · what breaks
Why this join usually fails — Lodgify → BigQuery
- 01
Whatever join key you decide on never reaches Lodgify
The booking flow may render in a Lodgify-hosted checkout depending on plan, and payment can hand off again to the processor.
- 02
Booking value counted months before the stay
Long lead times are the defining feature of this business. Send the full booking value on the day it is made and your reported return for March is partly built on stays that will be cancelled in May.
- 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.
Lodgify → BigQuery · the fix
What working looks like — Lodgify → 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
Lodgify → BigQuery · architecture
How Lodgify and BigQuery actually connect
- 1
Lodgify holds the truth
Direct bookings originate on your domain and can be attributed. Airbnb and Vrbo bookings arrive through the channel manager with no browser session of yours behind them, ever.
- 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 Lodgify booking.
- 4
The event source decides reliability
Send the booking value at confirmation, but be explicit that a vacation rental booked in January for July is revenue you have not yet earned and may not keep.
- 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.
Lodgify → BigQuery · normal or broken
Working vs. broken, side by side — Lodgify → BigQuery
Normal, not a fault
Whatever join key you decide on present on the booking
Sent from the Lodgify 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 flow may render in a Lodgify-hosted checkout depending on plan, and payment can hand off again to the processor.
Sent from the browser
Long lead times are the defining feature of this business. Send the full booking value on the day it is made and your reported return for March is partly built on stays that will be cancelled in May.
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
Lodgify → BigQuery · diagnose
Diagnostic order — Lodgify → BigQuery
- 01
Count bookings carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Measure the cancellation rate by lead time
Bookings made six months out cancel at a very different rate from bookings made next week, and the difference decides whether you report at booking or at stay.
- 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.
Lodgify → BigQuery · prove
How it gets proven — Lodgify → BigQuery
Source of truth
Lodgify bookings by arrival date, split between your own website and the channels Lodgify syncs with.
- 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 against imported conversions over a window long enough for the cancellation curve to settle.
Lodgify → 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
- Measure the cancellation rate by lead time
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Lodgify bookings by arrival date, split between your own website and the channels Lodgify syncs with.
Free30 minutesNo obligation
Lodgify → BigQuery · when not to buy
When you don't need this — Lodgify → BigQuery
- Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry whatever join key you decide on.
- If nearly all your bookings come from Airbnb and Vrbo, there is no identifier to track and your lever is listing quality, not conversion tracking.
- 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.
Lodgify → BigQuery · what we deliver
What gets built — Lodgify → BigQuery
Identifier capture into Lodgify
Capture on landing, persist in first-party storage on your own domain, and attach to the reservation at confirmation rather than relying on the checkout page to carry it.
Event source: the Lodgify booking record
Send the booking value at confirmation, but be explicit that a vacation rental booked in January for July is revenue you have not yet earned and may not keep.
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 must reverse, and in vacation rentals the cancellation window is long enough that a meaningful share will.
Written guarantee
95%+ tracking accuracy
Measured against Lodgify bookings by arrival date, split between your own website and the channels Lodgify syncs with.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Lodgify → BigQuery questions, answered
Keep status history per booking and compute realized revenue for departed stays, and booked revenue times an expected cancellation rate for future ones. The rate comes from your own past bookings grouped by lead time.
No. Those bookings never had a session on your site, so there is no click ID to join. Report them as a channel, not as attributed revenue.
Almost always because whatever join key you decide on never reached the Lodgify booking. The booking flow may render in a Lodgify-hosted checkout depending on plan, and payment can hand off again to the processor. 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 Lodgify booking record. Send the booking value at confirmation, but be explicit that a vacation rental booked in January for July is revenue you have not yet earned and may not keep.
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 Lodgify → BigQuery
- Lodgify → Google AdsConnecting Lodgify to Google Ads
- Lodgify → MetaConnecting Lodgify to Meta Conversions API
- Lodgify → GA4Connecting Lodgify to GA4
Using Lodgify for bookings? How Lodgify bookings get tracked end to end
RELATED GUIDES
Where Lodgify → BigQuery fits in the rest of your tracking
- Beds24 → BigQueryConnecting Beds24 to BigQuery
- HotelRunner → BigQueryConnecting HotelRunner to BigQuery
- Uplisting → BigQueryConnecting Uplisting to BigQuery
- Lodgify → SnowflakeConnecting Lodgify to Snowflake
- Lodgify → SegmentConnecting Lodgify to Segment
- HotelsConversion tracking for hotels, built around the direct booking
- Profitroom → BigQueryConnecting Profitroom to BigQuery
- Bookassist → BigQueryConnecting Bookassist to BigQuery
Free · 30 min
Get Lodgify and BigQuery joined properly
Free30 minutesNo obligation
