Skip to main content
Concrete CMS → BigQueryIntegration guide

Connecting Concrete CMS to BigQuery

Concrete CMS is a self-hosted PHP CMS used by small organisations and agencies, typically with commerce added through an add-on rather than built in. 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 Concrete CMS order 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

Concrete CMS to BigQuery: load the order table, keep the click IDs

Self-hosted Concrete CMS orders already sit in your MySQL database, so load the commerce add-on's own order tables into BigQuery on a schedule, keyed on the add-on's order ID. Pivot key-value order attributes, including stored click IDs and consent, in a view. Load status history or changed rows so refunds update, and deduplicate on order ID.

Self-hosted Concrete CMS means the order data already sits in your own MySQL database, so the BigQuery job is a scheduled extract rather than an API integration. The catch is that commerce add-ons keep orders in their own tables with their own schemas. Load those tables, not Concrete's core page and user tables, and use the add-on's order ID as the primary join key.

What makes the warehouse useful for advertising is the attribute data. If your order-created listener writes gclid, fbclid and other click IDs plus the consent state into order attributes, they come across with the extract and every ad platform's numbers can be checked per order. If they were never stored, BigQuery can count revenue but attribute none of it, and no SQL recovers a click ID that does not exist. Add-ons often store attributes in a key-value table, so pivot them in a view rather than in the load.

Watch order status. An add-on order can be created at checkout and later marked paid, cancelled or refunded. Load the status history, or reload changed rows by their updated timestamp, otherwise an order refunded last week stays paid in BigQuery. Dedupe on order ID after every load.

Concrete CMS → BigQuery · what breaks

Why this join usually fails — Concrete CMS → BigQuery

  1. 01

    Whatever join key you decide on never reaches Concrete CMS

    Full page caching and the add-on ecosystem both interfere. Because commerce is an add-on rather than core, where the order is created differs by which add-on is installed.

  2. 02

    Commerce as an add-on, not a core feature

    Which add-on is installed determines the entire integration surface, so nothing transfers between two Concrete sites without checking first.

  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.

Concrete CMS → BigQuery · the fix

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

Concrete CMS → BigQuery · architecture

How Concrete CMS and BigQuery actually connect

  1. 1

    Concrete CMS holds the truth

    Self-hosted means you own and can query the data directly, which makes reconciliation straightforward once the identifier is present.

  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 Concrete CMS order.

  4. 4

    The event source decides reliability

    Fire server-side. Page caching means the confirmation template may not execute.

  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.

Concrete CMS → BigQuery · normal or broken

Working vs. broken, side by side — Concrete CMS → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the order

  • Sent from the order-completed event from your commerce add-on

  • 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

    Full page caching and the add-on ecosystem both interfere. Because commerce is an add-on rather than core, where the order is created differs by which add-on is installed.

  • Sent from the browser

    Which add-on is installed determines the entire integration surface, so nothing transfers between two Concrete sites without checking first.

  • 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

Concrete CMS → BigQuery · diagnose

Diagnostic order — Concrete CMS → BigQuery

  1. 01

    Count orders carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Identify which commerce add-on is in use

    That decides where the order is created and what events exist to hook.

  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.

Concrete CMS → BigQuery · prove

How it gets proven — Concrete CMS → BigQuery

Source of truth

Your own database's order records, at agreed states.

  • 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.
  • Order attribute confirmed populated on a purchase through a cached page.

Concrete CMS → 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
  • Identify which commerce add-on is in use
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Your own database's order records, at agreed states.

Get my free conversion tracking audit

Free30 minutesNo obligation

Concrete CMS → BigQuery · when not to buy

When you don't need this — Concrete CMS → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key you decide on.
  • If your Concrete site is brochure-only with enquiries by form, treat it as a lead-gen site rather than a commerce one.
  • 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.

Concrete CMS → BigQuery · what we deliver

What gets built — Concrete CMS → BigQuery

  • Identifier capture into Concrete CMS

    Capture the identifier and persist it as order attribute data through an event listener, server-side.

  • Event source: the order-completed event from your commerce add-on

    Fire server-side. Page caching means the confirmation template may not execute.

  • 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

    Order state changes recorded by the add-on.

Written guarantee

95%+ tracking accuracy

Measured against Your own database's order records, at agreed states.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Concrete CMS → BigQuery questions, answered

Extract your commerce add-on's order tables from MySQL on a schedule and load them with the order ID as the key. Check your add-on's documentation for its table names before writing the extract.

Free · 30 min

Get Concrete CMS and BigQuery joined properly

Free30 minutesNo obligation