Skip to main content
Ninja Forms → BigQueryIntegration guide

Connecting Ninja Forms to BigQuery

Ninja Forms is add-on driven, which means what a given installation can do depends entirely on which extensions were bought — and so does what can be tracked. 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 Ninja Forms submission 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

Ninja Forms in BigQuery: field keys drift when forms are edited

Load Ninja Forms submissions with form ID, submission ID and a versioned field-key mapping table, keeping raw JSON beside parsed columns so renamed fields can be remapped. Dedupe on submission ID. Feed it via the Webhooks add-on, exports or the after-submission hook, capture click IDs in hidden fields, and join to CRM outcomes.

Ninja Forms saves submissions inside WordPress, with each field's value stored against that field's key or ID. Anyone who edits the form in the builder can change a field, delete one and add a similar one, or rename a key, and the next export puts the same answer in a different column. In BigQuery that shows up as a column that stops filling on a particular date and a new one that starts.

Load submissions with the form ID, the submission ID and a field-key mapping table you version alongside them, and keep the raw submission JSON beside the parsed columns, so a renamed field can be remapped later rather than lost. The submission ID is the join key and the deduplication key; check for repeats before any count, because exports re-run over overlapping date ranges are the usual source of duplicates.

What gets into the warehouse depends on the add-ons installed, so list them first. Hidden fields for gclid, fbclid and UTMs are available in core, but routing submissions out automatically may need the Webhooks add-on, a scheduled export, or a small script on the after-submission hook. Join the submission to the CRM outcome on email or CRM ID, and you have qualified leads per form with their original click identifiers.

Ninja Forms → BigQuery · what breaks

Why this join usually fails — Ninja Forms → BigQuery

  1. 01

    Whatever join key you decide on never reaches Ninja Forms

    Hidden field and CRM integration capability varies by add-on, and submissions are AJAX by default.

  2. 02

    Designing around a capability the site does not have

    Add-on-driven plugins make it easy to plan an integration that requires an extension nobody bought. Establishing the installed set first prevents a build that cannot run.

  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.

Ninja Forms → BigQuery · the fix

What working looks like — Ninja 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

Ninja Forms → BigQuery · architecture

How Ninja Forms and BigQuery actually connect

  1. 1

    Ninja Forms holds the truth

    Whether the site can pass hidden fields, integrate with a CRM or take payment depends on installed add-ons. That has to be established before any integration is designed.

  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 Ninja Forms submission.

  4. 4

    The event source decides reliability

    Send qualified outcomes per form, with the identifier carried through.

  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.

Ninja Forms → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the submission

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

    Hidden field and CRM integration capability varies by add-on, and submissions are AJAX by default.

  • Sent from the browser

    Add-on-driven plugins make it easy to plan an integration that requires an extension nobody bought. Establishing the installed set first prevents a build that cannot run.

  • 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

Ninja Forms → BigQuery · diagnose

Diagnostic order — Ninja 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 installed Ninja Forms add-ons before designing anything

    First step. It determines what is possible on this specific site.

  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.

Ninja Forms → BigQuery · prove

How it gets proven — Ninja Forms → BigQuery

Source of truth

Your CRM record, joined to the submission.

  • 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.
  • Qualified outcomes reconciled per form against imported conversions.

Ninja 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 installed Ninja Forms add-ons before designing anything
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Your CRM record, joined to the submission.

Get my free conversion tracking audit

Free30 minutesNo obligation

Ninja Forms → BigQuery · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry whatever join key you decide on.
  • If the required add-ons are not present, budget for them or choose a different approach — do not assume the capability.
  • 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.

Ninja Forms → BigQuery · what we deliver

What gets built — Ninja Forms → BigQuery

  • Identifier capture into Ninja Forms

    Confirm which add-ons are installed, then bind to the submission event and pass the identifier through a supported field.

  • Event source: your CRM record

    Send qualified outcomes per form, with the identifier carried through.

  • 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

    Disqualified submissions reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM record, joined to the submission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Ninja Forms → BigQuery questions, answered

Someone edited the form and the field key changed. Keep a versioned field-key map and the raw submission so you can remap old and new keys to one column.

Free · 30 min

Get Ninja Forms and BigQuery joined properly

Free30 minutesNo obligation