Skip to main content
Cal.com → BigQueryIntegration guide

Connecting Cal.com to BigQuery

Cal.com holds the booking and, unusually, will let you self-host and query the database directly. 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 Cal.com 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

Cal.com to BigQuery: bookings joined to ad click IDs

On self-hosted Cal.com, replicate the Postgres booking and attendee tables into BigQuery; on Cal.com cloud, stream the API or BOOKING_CREATED webhooks. Key on booking uid and keep raw booking responses, where hidden click IDs land. Model bookings as an events table plus a current-state view so reschedules and cancellations count correctly, load routing-form submissions separately, and deduplicate on uid.

Self-hosted Cal.com runs on Postgres, so the shortest path into BigQuery is replicating the booking and attendee tables rather than replaying webhooks. Check whether your hosting supports a change-data-capture tool or a scheduled export; on Cal.com cloud you are back to the API or BOOKING_CREATED webhooks streamed into a table. Either way keep the booking uid as the key and store the raw booking responses, because that is where your hidden gclid, fbclid, rdt_cid or GA4 client_id question lands.

A booking is not one row in time. It is created, rescheduled, cancelled, rejected or marked as a no-show, and a reschedule creates a new booking linked to the old one (check how your version records the link). Model it as an events table keyed on uid plus a current-state view, or rescheduled meetings get counted twice and cancellations vanish from history. Load routing-form submissions into their own table too: a visitor the routing form redirected away is a lead you paid for that never became a booking, and only the warehouse will show it.

The join this enables is booking to click ID to campaign spend, and then booking to attended meeting to closed revenue from your CRM. That is the dataset you later send back to ad platforms as offline conversions. Deduplicate on uid before any count, because webhook retries and overlapping replication windows both create duplicate rows without complaint.

Cal.com → BigQuery · what breaks

Why this join usually fails — Cal.com → BigQuery

  1. 01

    Whatever join key you decide on never reaches Cal.com

    As with any hosted booking page, the identifier must be passed on the booking URL and captured into a booking question. Cal.com's routing forms add a second surface that also needs to carry it, and they are commonly missed.

  2. 02

    Routing forms are a second capture surface

    Cal.com routing forms sit in front of the booking and are easy to forget. An identifier captured on the booking page but not on the routing form leaves a hole in exactly the traffic that used routing.

  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.

Cal.com → BigQuery · the fix

What working looks like — Cal.com → 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

Cal.com → BigQuery · architecture

How Cal.com and BigQuery actually connect

  1. 1

    Cal.com holds the truth

    The booking carries the attendee, the event type, the time and any custom booking-question responses. Self-hosted instances give you direct database access, which makes reconciliation genuinely easy compared with every other booking tool.

  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 Cal.com booking.

  4. 4

    The event source decides reliability

    Send from your server on the webhook, and handle BOOKING_CANCELLED for reversals. Self-hosted instances can read from the database instead, which is the most reliable option available on any booking platform.

  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.

Cal.com → BigQuery · normal or broken

Working vs. broken, side by side — Cal.com → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the booking

  • Sent from the BOOKING_CREATED 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

    As with any hosted booking page, the identifier must be passed on the booking URL and captured into a booking question. Cal.com's routing forms add a second surface that also needs to carry it, and they are commonly missed.

  • Sent from the browser

    Cal.com routing forms sit in front of the booking and are easy to forget. An identifier captured on the booking page but not on the routing form leaves a hole in exactly the traffic that used routing.

  • 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

Cal.com → BigQuery · diagnose

Diagnostic order — Cal.com → BigQuery

  1. 01

    Count bookings carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Query recent bookings for the identifier field

    Direct database query on self-hosted, API on cloud. Then repeat for bookings that came through a routing form specifically.

  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.

Cal.com → BigQuery · prove

How it gets proven — Cal.com → BigQuery

Source of truth

Cal.com's bookings list for the same window, with cancellations separated.

  • 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.
  • Coverage confirmed separately for direct bookings and for routing-form bookings.

Cal.com → 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
  • Query recent bookings for the identifier field
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Cal.com's bookings list for the same window, with cancellations separated.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cal.com → BigQuery · when not to buy

When you don't need this — Cal.com → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry whatever join key you decide on.
  • Self-hosting Cal.com already gives you the data. If you have engineering capacity in-house, this is one of the few integrations a competent developer can genuinely do alone.
  • 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.

Cal.com → BigQuery · what we deliver

What gets built — Cal.com → BigQuery

  • Identifier capture into Cal.com

    Add a hidden booking question, append the identifier via Cal.com's prefill query parameters, and verify through the API or directly in the database on a self-hosted instance.

  • Event source: the BOOKING_CREATED webhook

    Send from your server on the webhook, and handle BOOKING_CANCELLED for reversals. Self-hosted instances can read from the database instead, which is the most reliable option available on any booking platform.

  • 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

    BOOKING_CANCELLED and BOOKING_REJECTED both fire with the reference, so reversals are straightforward.

Written guarantee

95%+ tracking accuracy

Measured against Cal.com's bookings list for the same window, with cancellations separated.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cal.com → BigQuery questions, answered

On self-hosted, replicate the Postgres booking and attendee tables; on cloud, pull from the API or stream webhooks into a table. Keep the uid as the key and the raw responses alongside parsed columns.

Free · 30 min

Get Cal.com and BigQuery joined properly

Free30 minutesNo obligation