Connecting Mews to BigQuery
Mews is a modern hospitality platform built API-first, which makes it one of the more tractable lodging systems to integrate and does nothing about the OTA problem. 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 Mews 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
Mews in BigQuery: booked rate versus folio, in local dates
Load Mews reservations, folio items and payments into BigQuery as separate tables keyed on the reservation ID, joined to click IDs and UTMs carried onto the reservation, to compare booked rate with folio by campaign. Store UTC timestamps but derive local booking and stay dates per property time zone, keep currency per property, and append state changes.
The comparison that decides how a Mews property should value conversions, booked room rate against the final folio, is a warehouse query. Load reservations, folio items and payments as separate tables keyed on the Mews reservation ID, add the click IDs and UTMs captured on your site and carried onto the reservation, and you can see by campaign which guests spend on site and which only pay the rate.
The failure that makes BigQuery disagree with Mews is time. API timestamps come in UTC, while the property thinks in local dates, so a booking at 9 p.m. Pacific belongs to the next day in UTC. Store the UTC timestamp, derive the local booking date and stay dates using each property's time zone, and reconcile against Mews on those. For a group, store currency per property and convert explicitly; summing two currencies as one column is the second most common silent error.
Reservations change state: confirmed, canceled, no-show, checked out. Append state changes as rows rather than overwriting, and deduplicate on reservation ID plus state. Check whether a Mews Marketplace partner already offers a BigQuery sync before writing your own loader against the Mews API.
Mews → BigQuery · what breaks
Why this join usually fails — Mews → BigQuery
- 01
Whatever join key you decide on never reaches Mews
The Mews distributor booking engine is hosted, so the identifier must be passed deliberately. Ancillary spend during the stay — restaurant, spa, late checkout — lands on the folio afterwards and is invisible to any booking-time conversion.
- 02
The room rate is not the revenue
In a full-service property the folio at checkout can be substantially above the booked rate. Optimizing on the room rate alone makes bidding indifferent between guests who spend on site and guests who do not.
- 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.
Mews → BigQuery · the fix
What working looks like — Mews → 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
Mews → BigQuery · architecture
How Mews and BigQuery actually connect
- 1
Mews holds the truth
Mews holds reservations, the folio and the eventual payment, so a single system can tell you what was booked and what was actually spent on site — which in hospitality frequently differ.
- 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 Mews reservation.
- 4
The event source decides reliability
Send confirmed direct reservations at booking. If ancillary spend is significant, send a second value adjustment at checkout rather than pretending the room rate was the whole sale.
- 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.
Mews → BigQuery · normal or broken
Working vs. broken, side by side — Mews → BigQuery
Normal, not a fault
Whatever join key you decide on present on the reservation
Sent from the Mews reservation webhook
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 Mews distributor booking engine is hosted, so the identifier must be passed deliberately. Ancillary spend during the stay — restaurant, spa, late checkout — lands on the folio afterwards and is invisible to any booking-time conversion.
Sent from the browser
In a full-service property the folio at checkout can be substantially above the booked rate. Optimizing on the room rate alone makes bidding indifferent between guests who spend on site and guests who do not.
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
Mews → BigQuery · diagnose
Diagnostic order — Mews → BigQuery
- 01
Count reservations carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Compare booked rate against folio total for a closed month
The gap is ancillary spend, and in some properties it is large enough to change which campaigns look profitable.
- 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.
Mews → BigQuery · prove
How it gets proven — Mews → BigQuery
Source of truth
Mews reservations by booking date with their total value, split by channel.
- 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 reservations reconciled per reservation, with the room-rate-versus-folio decision documented.
Mews → 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 booked rate against folio total for a closed month
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Mews reservations by booking date with their total value, split by channel.
Free30 minutesNo obligation
Mews → BigQuery · when not to buy
When you don't need this — Mews → BigQuery
- Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry whatever join key you decide on.
- For a limited-service property with negligible ancillary spend, the room rate is the whole value and this is simpler.
- 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.
Mews → BigQuery · what we deliver
What gets built — Mews → BigQuery
Identifier capture into Mews
Pass the identifier through the distributor's supported parameters onto the reservation, and decide whether the conversion value is the room rate or the eventual folio total.
Event source: the Mews reservation webhook
Send confirmed direct reservations at booking. If ancillary spend is significant, send a second value adjustment at checkout rather than pretending the room rate was the whole sale.
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 and no-shows both occur and both should reduce the figure.
Written guarantee
95%+ tracking accuracy
Measured against Mews reservations by booking date with their total value, split by channel.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Mews → BigQuery questions, answered
Pull from the Mews API or a reservation webhook into tables you define, or check the Mews Marketplace for a partner that syncs to BigQuery. Keep reservations, folio items and payments separate.
Usually time zones: UTC timestamps grouped as dates shift late-evening bookings to the next day. Derive local dates per property before comparing.
Almost always because whatever join key you decide on never reached the Mews reservation. The Mews distributor booking engine is hosted, so the identifier must be passed deliberately. Ancillary spend during the stay — restaurant, spa, late checkout — lands on the folio afterwards and is invisible to any booking-time conversion. 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 Mews reservation webhook. Send confirmed direct reservations at booking. If ancillary spend is significant, send a second value adjustment at checkout rather than pretending the room rate was the whole sale.
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 Mews → BigQuery
- Mews → Google AdsConnecting Mews to Google Ads
- Mews → MetaConnecting Mews to Meta Conversions API
- Mews → GA4Connecting Mews to GA4
Using Mews for bookings? How Mews bookings get tracked end to end
RELATED GUIDES
Where Mews → BigQuery fits in the rest of your tracking
- WebRezPro → BigQueryConnecting WebRezPro to BigQuery
- Tokeet → BigQueryConnecting Tokeet to BigQuery
- Escapia → BigQueryConnecting Escapia to BigQuery
- Mews → SnowflakeConnecting Mews to Snowflake
- Mews → SegmentConnecting Mews to Segment
- HotelsConversion tracking for hotels, built around the direct booking
- Guesty → BigQueryConnecting Guesty to BigQuery
- Cloudbeds → BigQueryConnecting Cloudbeds to BigQuery
Free · 30 min
Get Mews and BigQuery joined properly
Free30 minutesNo obligation
