Skip to main content
Keap → BigQueryIntegration guide

Connecting Keap to BigQuery

Keap holds the order, the subscription and the opportunity for small businesses running on automation. 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 Keap contact record 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

Keap in BigQuery: orders, opportunities and the click ID's history

Load Keap orders and opportunities into BigQuery as separate tables keyed to the Keap contact ID, with payments as their own rows. Snapshot first-touch click fields on every load to catch sequences overwriting them, pull through the Keap API on a schedule rather than HTTP Posts alone, and record refunds as negative rows against the original order.

BigQuery is the right home for the problem Keap creates: two money models and an automation engine that rewrites contact fields. Load orders and opportunities as separate tables, both keyed to the Keap contact ID, and keep payments as their own rows so payment plans and partial payments add up correctly by date. A single revenue table that mixes order totals with opportunity values counts payment-plan sales twice.

The click identifier needs more than a column. Snapshot each contact's first-touch fields on every load, with a load timestamp, so you can see when a nurture sequence overwrote them. Comparing today's value against the first value ever recorded for the same contact is the cheapest way to find the automation that is reassigning credit, and Keap gives you no way to run that check inside Keap.

Pull data through the Keap API on a schedule rather than relying on campaign HTTP Posts alone; posts fire only on the paths someone wired, and orders entered by hand or imported never trigger them. Join to ad-side tables through the stored gclid, fbclid or hashed email on the contact. Refunds belong as negative rows against the original order ID, never as edits to the order row.

Keap → BigQuery · what breaks

Why this join usually fails — Keap → BigQuery

  1. 01

    Whatever join key you decide on never reaches Keap

    Keap's automation touches contacts constantly, so an identifier written to a contact field without a guard will be overwritten by a later nurture sequence, quietly reassigning credit from paid acquisition to your own email.

  2. 02

    Tags that look like conversions and are not

    Sending tag applications teaches an ad platform to find people who trigger your own automation, which is a far larger and far less valuable population than your buyers.

  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.

Keap → BigQuery · the fix

What working looks like — Keap → BigQuery

  • Whatever join key you decide on on every order

  • 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

Keap → BigQuery · architecture

How Keap and BigQuery actually connect

  1. 1

    Keap holds the truth

    Keap carries two money models at once — product orders and service opportunities — and which applies depends on what the business sells.

  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 Keap contact record.

  4. 4

    The event source decides reliability

    Fire on order paid or opportunity won. Not on tag applied — Keap tags come from automated sequences as readily as from sales events and nothing outside Keap can tell them apart.

  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.

Keap → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the order

  • Sent from an HTTP post from a Keap automation on a money event

  • 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

    Keap's automation touches contacts constantly, so an identifier written to a contact field without a guard will be overwritten by a later nurture sequence, quietly reassigning credit from paid acquisition to your own email.

  • Sent from the browser

    Sending tag applications teaches an ad platform to find people who trigger your own automation, which is a far larger and far less valuable population than your buyers.

  • 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

Keap → BigQuery · diagnose

Diagnostic order — Keap → BigQuery

  1. 01

    Count orders carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the identifier field survives a nurture click

    Look at a contact who engaged after converting. If the field changed, your email is taking credit from paid.

  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.

Keap → BigQuery · prove

How it gets proven — Keap → BigQuery

Source of truth

Keap's paid orders and won opportunities by date, at their amounts.

  • Whatever join key you decide on confirmed present on a live order.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • A contact confirmed to retain its original identifier after a later automation touch.

Keap → BigQuery · free audit

What we check in the free audit

  • Count orders carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Check whether the identifier field survives a nurture click
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Keap's paid orders and won opportunities by date, at their amounts.

Get my free conversion tracking audit

Free30 minutesNo obligation

Keap → BigQuery · when not to buy

When you don't need this — Keap → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key you decide on.
  • If money is taken in a separate system you already track, the Keap side may only need the identifier preserved.
  • 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.

Keap → BigQuery · what we deliver

What gets built — Keap → BigQuery

  • Identifier capture into Keap

    Write the identifier to a custom contact field once at first touch, with a condition preventing later sequences from rewriting it.

  • Event source: an HTTP post from a Keap automation on a money event

    Fire on order paid or opportunity won. Not on tag applied — Keap tags come from automated sequences as readily as from sales events and nothing outside Keap can tell them apart.

  • 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

    Refunds are recorded and should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against Keap's paid orders and won opportunities by date, at their amounts.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Keap → BigQuery questions, answered

Pull orders, payments, opportunities and contacts on a schedule through the Keap API, keyed on contact ID, into separate tables. If you use a connector, check that it includes custom fields.

Free · 30 min

Get Keap and BigQuery joined properly

Free30 minutesNo obligation