Skip to main content
Umbraco → BigQueryIntegration guide

Connecting Umbraco to BigQuery

Umbraco is a .NET CMS common in mid-market and enterprise European organisations, which means IT governance is usually the binding constraint rather than technology. 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 Umbraco Commerce 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

Umbraco Commerce orders in BigQuery: change logic without a release

Stream each Umbraco Commerce order to BigQuery from the .NET order-finalized handler with the .NET client library, including lines, currency, state and stored click identifiers. Write state changes as new rows keyed on order number, deduplicate in a view on order number, state and timestamp, keep prices as decimals, store currency beside amounts and use UTC.

For an Umbraco organization behind change control, BigQuery has a practical advantage: the application change happens once, and everything after it is SQL. Stream each order from the .NET order-finalized handler with Google's BigQuery client library for .NET, including order lines, currency, order state, and the click identifiers you stored as order properties. Attribution rules can then change without another release.

The join key is the order number, with order state changes written as new rows rather than updates, so refunds and cancellations are kept as history. Streaming inserts are at least once, so deduplicate on order number plus state and timestamp in a view, and point every report at that view rather than the raw table.

Watch types. Umbraco Commerce prices are decimals, and a load that casts them to floats or strings drifts by small amounts that add up in revenue reconciliation. Store currency next to every amount, because European stores often run several currencies, and keep timestamps in UTC so orders near midnight do not move between days.

Umbraco → BigQuery · what breaks

Why this join usually fails — Umbraco → BigQuery

  1. 01

    Whatever join key you decide on never reaches Umbraco

    Output caching and CDN layers sit in front of most Umbraco deployments, and the deployment process itself frequently prevents quick iteration, which means getting the capture right the first time matters more here.

  2. 02

    Change control, not technology

    The build is straightforward and the release cycle is not. Scope the deployment process before committing to a timeline, because in this segment it is the schedule.

  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.

Umbraco → BigQuery · the fix

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

Umbraco → BigQuery · architecture

How Umbraco and BigQuery actually connect

  1. 1

    Umbraco holds the truth

    You own the database. What you may not own is the release process — Umbraco sites in this segment often sit behind change control that adds weeks to any modification.

  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 Umbraco Commerce order.

  4. 4

    The event source decides reliability

    Fire from the .NET notification handler rather than a view, which may be cached at the edge.

  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.

Umbraco → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the order

  • Sent from the Umbraco Commerce order-finalised notification

  • 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

    Output caching and CDN layers sit in front of most Umbraco deployments, and the deployment process itself frequently prevents quick iteration, which means getting the capture right the first time matters more here.

  • Sent from the browser

    The build is straightforward and the release cycle is not. Scope the deployment process before committing to a timeline, because in this segment it is the schedule.

  • 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

Umbraco → BigQuery · diagnose

Diagnostic order — Umbraco → BigQuery

  1. 01

    Count orders carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Establish the deployment and change-control process first

    It determines the timeline more than any technical question here.

  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.

Umbraco → BigQuery · prove

How it gets proven — Umbraco → BigQuery

Source of truth

Umbraco Commerce's order records in your own database, at agreed order 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 data confirmed populated on an order placed through the CDN as an anonymous visitor.

Umbraco → 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
  • Establish the deployment and change-control process first
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Umbraco Commerce's order records in your own database, at agreed order states.

Get my free conversion tracking audit

Free30 minutesNo obligation

Umbraco → BigQuery · when not to buy

When you don't need this — Umbraco → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key you decide on.
  • If the site is maintained by an internal IT team on a quarterly release cycle, plan the engagement around that rather than around the code.
  • 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.

Umbraco → BigQuery · what we deliver

What gets built — Umbraco → BigQuery

  • Identifier capture into Umbraco

    Capture the identifier and persist it to the order through a server-side notification handler in the application.

  • Event source: the Umbraco Commerce order-finalised notification

    Fire from the .NET notification handler rather than a view, which may be cached at the edge.

  • 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 to refunded or cancelled are recorded.

Written guarantee

95%+ tracking accuracy

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

Get my free conversion tracking audit

From $400 · See packages

FAQ

Umbraco → BigQuery questions, answered

Use Google's .NET client library from the order-finalized notification handler, and write state changes as new rows so refunds keep their history.

Free · 30 min

Get Umbraco and BigQuery joined properly

Free30 minutesNo obligation