Skip to main content
Cognito Forms → BigQueryIntegration guide

Connecting Cognito Forms to BigQuery

Cognito Forms supports conditional logic and payments, which means one form can be a survey, a registration and a checkout depending on which branch the visitor takes. 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 Cognito Forms entry 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

Cognito Forms to BigQuery: one row per entry, branch and payment kept

Load each Cognito Forms entry into BigQuery keyed on entry ID, with branch, amount, payment status and hidden-field click IDs. Land the raw JSON in one column and derive typed columns in a view, because form edits change its shape. Load updates as new timestamped rows and take the latest per entry, then reconcile paid rows against your payment processor.

The warehouse is where Cognito's branching finally gets counted honestly. Load each entry keyed on the Cognito entry ID, with the branch the visitor took, the order amount, the payment status and whatever click identifiers came in through hidden fields (gclid, fbclid, rdt_cid). That table answers what no single ad platform can: how many free enquiries versus paid registrations each campaign actually produced.

Two load-specific traps. Cognito forms change: a field gets renamed or a section is added, and the JSON posted on submit changes shape with it. Land the raw payload in one column and derive typed columns in a view, rather than letting schema autodetect drift underneath you. And entries are updated after submission, when a payment completes later, staff edit a field, or a refund is recorded. Load each update as a new row with a timestamp and take the latest per entry ID, or every revenue sum double counts edited entries.

Once the table is right, it becomes the source for every upload: paid entries with a gclid to Google, those with fbclid to Meta, unpaid branches as separate lower-value actions. Reconcile the paid rows against your payment processor rather than Cognito's own totals, since a refund issued directly in the Stripe or Square dashboard may not update the entry; check how your setup behaves.

Cognito Forms → BigQuery · what breaks

Why this join usually fails — Cognito Forms → BigQuery

  1. 01

    Whatever join key you decide on never reaches Cognito Forms

    Forms are embedded and payments may hand off to a processor, breaking the session twice.

  2. 02

    One form, several outcomes, one conversion action

    Conditional logic means the same form produces a free enquiry from one visitor and a paid registration from another. A single conversion action averages them into a value that describes neither.

  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.

Cognito Forms → BigQuery · the fix

What working looks like — Cognito Forms → BigQuery

  • Whatever join key you decide on on every submission

  • 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

Cognito Forms → BigQuery · architecture

How Cognito Forms and BigQuery actually connect

  1. 1

    Cognito Forms holds the truth

    A form that sometimes takes payment and sometimes does not produces two completely different conversions from one submission event.

  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 Cognito Forms entry.

  4. 4

    The event source decides reliability

    Send paid submissions at their amount and unpaid ones as a separate lower-value action.

  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.

Cognito Forms → BigQuery · normal or broken

Working vs. broken, side by side — Cognito Forms → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the submission

  • Sent from your CRM or payment 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

    Forms are embedded and payments may hand off to a processor, breaking the session twice.

  • Sent from the browser

    Conditional logic means the same form produces a free enquiry from one visitor and a paid registration from another. A single conversion action averages them into a value that describes neither.

  • 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

Cognito Forms → BigQuery · diagnose

Diagnostic order — Cognito Forms → BigQuery

  1. 01

    Count submissions carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    List the branches your form can produce and their values

    Usually the first time anyone has, and it is normally the whole fix.

  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.

Cognito Forms → BigQuery · prove

How it gets proven — Cognito Forms → BigQuery

Source of truth

Your CRM or payment record, with the form branch recorded.

  • Whatever join key you decide on confirmed present on a live submission.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Submissions reconciled by branch against imported conversions.

Cognito Forms → BigQuery · free audit

What we check in the free audit

  • Count submissions carrying whatever join key you decide on
  • Follow one real conversion end to end
  • List the branches your form can produce and their values
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Your CRM or payment record, with the form branch recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cognito Forms → BigQuery · when not to buy

When you don't need this — Cognito Forms → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry whatever join key you decide on.
  • A single-path form with no payment needs one action and nothing else.
  • 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.

Cognito Forms → BigQuery · what we deliver

What gets built — Cognito Forms → BigQuery

  • Identifier capture into Cognito Forms

    Pass the identifier into a hidden field and carry it through to the payment where one occurs.

  • Event source: your CRM or payment record

    Send paid submissions at their amount and unpaid ones as a separate lower-value action.

  • 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 reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM or payment record, with the form branch recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cognito Forms → BigQuery questions, answered

Check whether a native connector exists on your plan. Most setups use the submit webhook, Zapier, Make or Power Automate feeding a loader, keyed on the entry ID.

Free · 30 min

Get Cognito Forms and BigQuery joined properly

Free30 minutesNo obligation