Skip to main content
Close → BigQueryIntegration guide

Connecting Close to BigQuery

Close is a sales CRM built around calling and email sequences, which means most of what it records is outbound activity rather than inbound marketing. 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 Close opportunity 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

Close to BigQuery: separate inbound deals from cold-call wins

Load Close leads, opportunities and status history into BigQuery beside call and email activity, keyed on the Close lead ID with click IDs (gclid, fbc, rdt_cid) from the form-written custom field as columns. Keep status changes append-only so reopened deals show both rows, keep contacts in their own table, check lead-source fill rates, and convert cent-denominated values once.

This is the pair where Close's activity data finally becomes useful for paid media. Load leads, opportunities and their status history into BigQuery next to the call and email activity, and you can answer what no ad platform can: how many touches it took to close an ad-sourced lead versus an outbound one, and whether paid leads close at all. Close exposes this through its API and webhooks; check whether an existing connector covers the objects you need before writing your own loader.

The join key is the Close lead ID, with the click identifiers (gclid, fbc, rdt_cid) stored as columns from the custom field written at form submit. Keep opportunity status changes as append-only rows with timestamps rather than a snapshot of current status, because a deal marked won and later reopened and lost needs both rows to show what was reported to ad platforms and when. Close leads are companies with several contacts, so keep a contact table keyed to the lead rather than flattening to one email.

The common failure is a lead source column that is null for most records because reps create leads by hand and nobody fills it. Query the share of won opportunities with a populated lead source before trusting any channel figure. Also check value units: Close's API has expressed opportunity values in cents, so confirm in the current docs and convert once in the load, or revenue will read a hundred times too high.

Close → BigQuery · what breaks

Why this join usually fails — Close → BigQuery

  1. 01

    Whatever join key you decide on never reaches Close

    The identifier has to reach the lead and then the opportunity, and Close's model means many records originate from outbound prospecting with no marketing touch at all. Those must be distinguishable or they contaminate every conversion number.

  2. 02

    Outbound prospecting credited to paid

    Close is built for outbound. If lead source is not recorded and filtered, won deals from cold calling will be attributed to whichever campaign happened to be running.

  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.

Close → BigQuery · the fix

What working looks like — Close → BigQuery

  • Whatever join key you decide on on every opportunity

  • 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

Close → BigQuery · architecture

How Close and BigQuery actually connect

  1. 1

    Close holds the truth

    Close's strength is activity data — calls, emails, sequences. The commercial record is the opportunity, and separating inbound-sourced opportunities from outbound-prospected ones is essential or your paid channels get credit for cold calling.

  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 Close opportunity.

  4. 4

    The event source decides reliability

    Fire when an opportunity is marked won, from inbound-sourced leads only, with the opportunity value.

  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.

Close → BigQuery · normal or broken

Working vs. broken, side by side — Close → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the opportunity

  • Sent from the Close opportunity status 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

    BigQuery's count and Close's records agree within a few percent over a closed window.

Actually broken

  • Whatever join key you decide on missing on most records

    The identifier has to reach the lead and then the opportunity, and Close's model means many records originate from outbound prospecting with no marketing touch at all. Those must be distinguishable or they contaminate every conversion number.

  • Sent from the browser

    Anyone who closes the tab, blocks the script or converts without a page load is invisible. Close is built for outbound. If lead source is not recorded and filtered, won deals from cold calling will be attributed to whichever campaign happened to be running.

  • 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

Close → BigQuery · diagnose

Diagnostic order — Close → BigQuery

  1. 01

    Count opportunitys carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what share of won opportunities originated inbound

    In an outbound-heavy Close instance it is often a small minority, and only that minority should reach an ad platform.

  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.

Close → BigQuery · prove

How it gets proven — Close → BigQuery

Source of truth

Close's won opportunities by close date, at their values.

  • Whatever join key you decide on confirmed present on a live opportunity.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Won opportunities confirmed filtered to inbound-sourced leads before anything is sent.
  • Reconciled over a fully closed window, matched per record rather than on totals.

Close → BigQuery · free audit

What we check in the free audit

  • Count opportunitys carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Check what share of won opportunities originated inbound
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Close's won opportunities by close date, at their values.

Get my free conversion tracking audit

Free30 minutesNo obligation

Close → BigQuery · when not to buy

When you don't need this — Close → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry whatever join key you decide on.
  • If your pipeline is almost entirely outbound, there is very little for paid attribution to measure and we would say so.
  • 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.

Close → BigQuery · what we deliver

What gets built — Close → BigQuery

  • Identifier capture into Close

    Write the identifier to a custom field on the lead at creation and carry it to the opportunity, and flag lead source so outbound-created records are separable.

  • Event source: the Close opportunity status webhook

    Fire when an opportunity is marked won, from inbound-sourced leads only, with the opportunity value.

  • 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

    An opportunity reopened and lost should not leave a conversion standing.

Written guarantee

95%+ tracking accuracy

Measured against Close's won opportunities by close date, at their values.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Close → BigQuery questions, answered

The Close lead ID, with opportunity rows referencing it and click identifiers stored as columns on the lead. Email is a weaker key because a Close lead is a company that can hold several contacts.

Free · 30 min

Get Close and BigQuery joined properly

Free30 minutesNo obligation