Skip to main content
BigCommerce → BigQueryIntegration guide

Connecting BigCommerce to BigQuery

BigCommerce is a hosted store with an unusually open API, which makes it one of the easier ecommerce platforms to instrument properly. 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 BigCommerce 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

BigCommerce orders in BigQuery, with the ad click ID on each row

BigCommerce has no built-in BigQuery export that we know of, so build or buy the load. The order webhook only carries the order ID, so fetch the full order, products and addresses, then upsert rows keyed on store hash plus order ID with channel ID and stored click IDs. Keep a refunds table and one value definition.

As far as we know BigCommerce has no built-in BigQuery export, so the load is yours to build or buy; check current connector options first. The order webhook is the trigger, not the data: BigCommerce webhook payloads carry little more than the order ID, so the handler has to fetch the full order, its products and its shipping addresses from the API before it writes a row.

Key rows on store hash plus order ID, keep the channel ID so marketplace orders stay separable from storefront ones, and add columns for whatever click identifiers the storefront wrote into the cart: gclid, fbc, ttclid. Those columns are what later let you send the same order to an ad platform or explain why a platform's count differs from yours. If you also run the GA4 BigQuery export, the BigCommerce order ID sent as GA4 transaction_id is the join between sessions and orders.

Order statuses move after the first webhook, so the table needs either a row per status change or an upsert keyed on order ID with the latest status, plus a separate refunds table. Most bad BigCommerce revenue queries count orders sitting in Awaiting Payment or Cancelled alongside paid ones, or mix the total including tax and shipping with the subtotal. Pick one value definition and write it into the view everyone queries.

BigCommerce → BigQuery · what breaks

Why this join usually fails — BigCommerce → BigQuery

  1. 01

    Whatever join key you decide on never reaches BigCommerce

    BigCommerce offers both a hosted checkout and an embedded one, and which you use changes whether your storefront scripts run during checkout. On the hosted flow the identifier has to travel through the cart rather than through a cookie.

  2. 02

    Two checkout modes with different script access

    Hosted and embedded checkout behave differently, and a setup built for one silently misses conversions on the other.

  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.

BigCommerce → BigQuery · the fix

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

BigCommerce → BigQuery · architecture

How BigCommerce and BigQuery actually connect

  1. 1

    BigCommerce holds the truth

    The order carries line items, tax, shipping and currency. Decide whether you report the order total or a net figure before comparing anything, because most BigCommerce discrepancies are two people using two definitions.

  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 BigCommerce order.

  4. 4

    The event source decides reliability

    Send when the order status reaches paid, from your server. This covers wallet checkouts and customers who never reach the confirmation page.

  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.

BigCommerce → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the order

  • Sent from the BigCommerce order webhook

  • 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

    BigCommerce offers both a hosted checkout and an embedded one, and which you use changes whether your storefront scripts run during checkout. On the hosted flow the identifier has to travel through the cart rather than through a cookie.

  • Sent from the browser

    Hosted and embedded checkout behave differently, and a setup built for one silently misses conversions on the other.

  • 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

BigCommerce → BigQuery · diagnose

Diagnostic order — BigCommerce → BigQuery

  1. 01

    Count orders carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm which checkout mode the store uses

    Then test a purchase on that mode specifically rather than on whichever one is convenient.

  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.

BigCommerce → BigQuery · prove

How it gets proven — BigCommerce → BigQuery

Source of truth

BigCommerce's order list for the same window, at an agreed value definition.

  • 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.
  • A purchase through the store's actual checkout mode confirmed to carry the identifier onto the order.

BigCommerce → 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
  • Confirm which checkout mode the store uses
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

BigCommerce's order list for the same window, at an agreed value definition.

Get my free conversion tracking audit

Free30 minutesNo obligation

BigCommerce → BigQuery · when not to buy

When you don't need this — BigCommerce → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key you decide on.
  • BigCommerce's native channel integrations are decent for simple single-currency stores. If your admin and platform numbers already agree, leave it.
  • 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.

BigCommerce → BigQuery · what we deliver

What gets built — BigCommerce → BigQuery

  • Identifier capture into BigCommerce

    Capture the identifier on the storefront and write it to the order through a cart custom field, then read it back server-side from the order.

  • Event source: the BigCommerce order webhook

    Send when the order status reaches paid, from your server. This covers wallet checkouts and customers who never reach the confirmation page.

  • 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 are recorded against the original order, so reversals are straightforward.

Written guarantee

95%+ tracking accuracy

Measured against BigCommerce's order list for the same window, at an agreed value definition.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

BigCommerce → BigQuery questions, answered

Not built into BigCommerce as far as we know. Teams use a third-party connector or a small service that receives the order webhook, fetches the order from the API and writes it to BigQuery.

Free · 30 min

Get BigCommerce and BigQuery joined properly

Free30 minutesNo obligation