Skip to main content
Bricks → BigQueryIntegration guide

Connecting Bricks Builder to BigQuery

Bricks generates lean markup and is popular with developers, which means the sites built on it are usually fast and the tracking is usually hand-written rather than plugin-driven. 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 Bricks form 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

Bricks Builder submissions in BigQuery, with the click IDs kept

Load each Bricks submission into BigQuery with form ID, page URL, UTC timestamp, hidden-field click IDs and UTMs, consent state and a generated submission ID that also goes on the CRM record. Use a webhook form action or a WordPress submission hook to insert rows, and run a daily query counting null click IDs per form to catch broken forms.

For a Bricks site, BigQuery is where the form submission and the CRM outcome can sit in one place. The row to load is the submission itself: Bricks form ID, page URL, timestamp in UTC, the hidden-field values captured on landing (gclid, fbclid, rdt_cid, UTM parameters), the visitor's consent state, and a submission ID you generate. The join key to the CRM should be that submission ID written onto the CRM record, not the email address, which people retype differently on every form.

Getting rows out of Bricks is the custom part. Check whether your Bricks version offers a webhook form action; if it does, point it at a small endpoint (a Cloud Function or your server-side GTM container) that inserts the row. If it does not, a WordPress hook on form submission in a child theme or snippets plugin does the same job. Also check whether your version can save submissions to the WordPress database, since that gives you a backfill source when the endpoint is down.

The failure specific to this pair: a developer adds a new Bricks form months later, forgets the hidden fields, and the table keeps filling with rows whose click-ID columns are null. Nothing errors and no dashboard notices. A daily query counting null click IDs per form ID catches it within a day instead of a quarter, and it doubles as an inventory of which forms exist on the site.

Bricks → BigQuery · what breaks

Why this join usually fails — Bricks → BigQuery

  1. 01

    Whatever join key you decide on never reaches Bricks

    Custom implementations vary per site, and forms submit over AJAX by default.

  2. 02

    Undocumented custom tracking

    A lean hand-built implementation is usually correct and almost never written down. The next person to touch the site either duplicates it or breaks it, and both failures are silent.

  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.

Bricks → BigQuery · the fix

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

    Bricks Builder's own records are the reference, not either dashboard.

Bricks → BigQuery · architecture

How Bricks and BigQuery actually connect

  1. 1

    Bricks Builder holds the truth

    Developer-built sites tend to have deliberate, minimal tracking. That is an advantage until the developer leaves and nobody knows what was implemented or where.

  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 Bricks form submission.

  4. 4

    The event source decides reliability

    Send qualified outcomes per form, with the implementation documented.

  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.

Bricks → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the submission

    Visible on the record itself in Bricks Builder, not merely captured somewhere on the site.

  • 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

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

Actually broken

  • Whatever join key you decide on missing on most records

    Custom implementations vary per site, and forms submit over AJAX by default.

  • Sent from the browser

    A lean hand-built implementation is usually correct and almost never written down. The next person to touch the site either duplicates it or breaks it, and both failures are silent.

  • 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

    The dashboard shows a number and no one has compared it to Bricks Builder.

Bricks → BigQuery · diagnose

Diagnostic order — Bricks → BigQuery

  1. 01

    Count submissions carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Document the existing implementation before modifying it

    On developer-built sites this is the step that prevents the most damage.

  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.

Bricks → BigQuery · prove

How it gets proven — Bricks → BigQuery

Against Bricks Builder's own records, not against either platform's dashboard.

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, with the implementation documented.

Bricks → 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
  • Document the existing implementation before modifying it
  • 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

Bricks → BigQuery · when not to buy

When you don't need this — Bricks → BigQuery

  • If BigQuery already reports conversions that reconcile against Bricks Builder's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry whatever join key you decide on.
  • If the original developer is available, an hour of their time is worth more than a week of reverse engineering.
  • 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.

Bricks → BigQuery · what we deliver

What gets built — Bricks → BigQuery

  • Identifier capture into Bricks

    Document what exists before changing anything, then bind to the form submission event and pass the identifier through a hidden field.

  • Event source: your CRM record

    Send qualified outcomes per form, with the implementation documented.

  • 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

Bricks → BigQuery questions, answered

Use the Bricks webhook form action if your version has it, or a WordPress submission hook, to post each submission to an endpoint that inserts the row. Include a submission ID so retried inserts can be deduplicated in SQL.

Free · 30 min

Get Bricks and BigQuery joined properly

Free30 minutesNo obligation