Connecting TourCMS to BigQuery
TourCMS is built around distribution to agents and resellers, which means a large share of bookings arrive through partners who found the customer and take a margin. 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 TourCMS 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
TourCMS to BigQuery: split direct and agent revenue at the row
Load TourCMS bookings into BigQuery with booking ID, selling channel or agent, booking date, departure date, customer price, net rate received and status, plus stored click IDs for direct bookings. Keep customer price and net rate in separate columns, update cancellation status rather than deleting, and feed only direct rows to ad platforms.
BigQuery is the right home for the question that matters most to a distribution-heavy TourCMS operator: what each channel brings in after commission. Load bookings with the booking ID, the channel or agent that sold it, booking date, departure date, customer price, the net rate actually received, and a status; load direct bookings' stored click IDs alongside. Check what the TourCMS API returns for your account and whether channel and commission fields come through as you expect.
Keep customer price and net rate as separate columns, never a single revenue field, and derive agent margin from them. Report on booking date for marketing and departure date for operations; mixing the two is how one season ends up with two different totals. Cancellations should update the row's status with a timestamp, not delete it, since cancellation behavior can differ between direct and agent channels.
Only direct rows should feed ad platforms, at customer price, using the stored click IDs. The common break is a load that pulls only the website channel and misses agent bookings, making direct look like the whole business, or the reverse, a total that blends agent net with retail.
TourCMS → BigQuery · what breaks
Why this join usually fails — TourCMS → BigQuery
- 01
Whatever join key you decide on never reaches TourCMS
Agent bookings arrive through an API or an agent portal with no consumer session.
- 02
Agent net rates reported at retail price
An agent booking at a twenty-five percent net discount reported at the retail price overstates that channel by a third. Since agents are often the majority, the total is badly wrong.
- 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.
TourCMS → BigQuery · the fix
What working looks like — TourCMS → 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
TourCMS → BigQuery · architecture
How TourCMS and BigQuery actually connect
- 1
TourCMS holds the truth
Agent bookings come at a net rate agreed in advance. Reporting the customer-facing price on those bookings overstates revenue by the whole agent margin.
- 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 TourCMS booking.
- 4
The event source decides reliability
Send direct bookings at customer price and agent bookings, if reported at all, at net rate — never mixed.
- 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.
TourCMS → BigQuery · normal or broken
Working vs. broken, side by side — TourCMS → BigQuery
Normal, not a fault
Whatever join key you decide on present on the booking
Sent from the TourCMS 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
Agent bookings arrive through an API or an agent portal with no consumer session.
Sent from the browser
An agent booking at a twenty-five percent net discount reported at the retail price overstates that channel by a third. Since agents are often the majority, the total is badly wrong.
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
TourCMS → BigQuery · diagnose
Diagnostic order — TourCMS → BigQuery
- 01
Count bookings carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Check whether agent bookings are valued at net or retail
One question, and on distribution-heavy operators it changes the revenue picture substantially.
- 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.
TourCMS → BigQuery · prove
How it gets proven — TourCMS → BigQuery
Source of truth
TourCMS bookings by departure and channel, at net rate after agent commission.
- 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 customer price against imported conversions, agent volume reported at net.
TourCMS → 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
- Check whether agent bookings are valued at net or retail
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
TourCMS bookings by departure and channel, at net rate after agent commission.
Free30 minutesNo obligation
TourCMS → BigQuery · when not to buy
When you don't need this — TourCMS → BigQuery
- Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry whatever join key you decide on.
- Operators selling only direct do not have the net-rate question.
- 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.
TourCMS → BigQuery · what we deliver
What gets built — TourCMS → BigQuery
Identifier capture into TourCMS
Attribute direct bookings only and value agent bookings at the net rate you actually receive.
Event source: the TourCMS booking record
Send direct bookings at customer price and agent bookings, if reported at all, at net rate — never mixed.
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.
Written guarantee
95%+ tracking accuracy
Measured against TourCMS bookings by departure and channel, at net rate after agent commission.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
TourCMS → BigQuery questions, answered
Check what the TourCMS API returns for your account, then load bookings on a schedule keyed on booking ID, with channel, net rate and status as columns.
Both, as separate columns. Ad reconciliation uses booking date; operations and recognized revenue usually use departure date.
Almost always because whatever join key you decide on never reached the TourCMS booking. Agent bookings arrive through an API or an agent portal with no consumer session. 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 TourCMS booking record. Send direct bookings at customer price and agent bookings, if reported at all, at net rate — never mixed.
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 TourCMS → BigQuery
- Stripe → BigQueryConnecting Stripe to BigQuery
- PayPal → BigQueryConnecting PayPal to BigQuery
- Shopify → BigQueryConnecting Shopify to BigQuery
RELATED GUIDES
Where TourCMS → BigQuery fits in the rest of your tracking
- Bokun → BigQueryConnecting Bokun to BigQuery
- Xola → BigQueryConnecting Xola to BigQuery
- Ventrata → BigQueryConnecting Ventrata to BigQuery
- TourCMS → SnowflakeConnecting TourCMS to Snowflake
- TourCMS → SegmentConnecting TourCMS to Segment
- Ticketing and eventsConversion tracking for ticketing, measured in tickets sold
- Checkfront → BigQueryConnecting Checkfront to BigQuery
- Peek Pro → BigQueryConnecting Peek Pro to BigQuery
Free · 30 min
Get TourCMS and BigQuery joined properly
Free30 minutesNo obligation
