Skip to main content
Checkout Extensibility → BigQueryIntegration guide

Connecting Shopify Checkout Extensibility to BigQuery

Shopify replaced checkout.liquid with a sandboxed extension model, and the thank-you page — where nearly every store put its conversion tracking — was the last thing to go. 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 Shopify 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

Shopify orders in BigQuery: rebuild attribution off the page

Load Shopify orders from webhooks or a scheduled API export into a BigQuery raw table keyed on order ID, keeping note attributes, landing site and stored click IDs as received. Compare daily orders with each ad platform's conversions across your upgrade date to find tags lost from Additional Scripts. Dedupe on order ID plus update time.

Shopify's checkout migration is a good reason to stop depending on any page for measurement, and BigQuery is where you prove the replacement works. Load orders from the order webhooks or a scheduled API export into a raw table keyed on the Shopify order ID, with note attributes, landing site and referring site kept exactly as received. Those fields, plus the cart attributes you write at landing (gclid, fbclid, ttclid and the rest), are your attribution join.

Then run the comparison that matters: daily Shopify orders against the conversions each ad platform reported, for the weeks either side of your upgrade date. A platform whose line falls away while orders hold is one whose tag lived in Additional Scripts. In BigQuery that is a query; inside the ad platform it looks like a market downturn.

Refunds and cancellations arrive as their own webhooks and as edits to the order. Store them as separate rows linked by order ID rather than overwriting the order, and dedupe on order ID plus update time before aggregating, because Shopify can deliver the same webhook more than once. Created, processed and refunded times are different columns; decide which one each report uses. Check whether an ETL tool already exports Shopify to BigQuery before building a second pipeline.

Checkout Extensibility → BigQuery · what breaks

Why this join usually fails — Checkout Extensibility → BigQuery

  1. 01

    Whatever join key you decide on never reaches Checkout Extensibility

    Custom scripts can no longer run on checkout or the thank-you page. Client-side conversion tags placed there are not blocked — they are simply never loaded.

  2. 02

    Conversion tracking that silently stopped

    This is the single most common live tracking failure on Shopify right now. Nothing errors. The tag simply never runs, revenue keeps arriving, and the ad platform reports a collapse that looks like a market problem.

  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.

Checkout Extensibility → BigQuery · the fix

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

    Shopify Checkout Extensibility's own records are the reference, not either dashboard.

Checkout Extensibility → BigQuery · architecture

How Checkout Extensibility and BigQuery actually connect

  1. 1

    Shopify Checkout Extensibility holds the truth

    Additional Scripts and script tags on the order status page are gone. Any tracking that lived there has already stopped firing or will, and the store owner usually finds out from a revenue report rather than an error.

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

  4. 4

    The event source decides reliability

    Send orders from the webhook at the paid total. Web Pixels are the supported browser-side path and they run sandboxed, with no access to the 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.

Checkout Extensibility → BigQuery · normal or broken

Working vs. broken, side by side — Checkout Extensibility → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the order

    Visible on the record itself in Shopify Checkout Extensibility, not merely captured somewhere on the site.

  • Sent from the Shopify order webhook, server-side

  • 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 Shopify Checkout Extensibility's records agree within a few percent over a closed window.

Actually broken

  • Whatever join key you decide on missing on most records

    Custom scripts can no longer run on checkout or the thank-you page. Client-side conversion tags placed there are not blocked — they are simply never loaded.

  • Sent from the browser

    This is the single most common live tracking failure on Shopify right now. Nothing errors. The tag simply never runs, revenue keeps arriving, and the ad platform reports a collapse that looks like a market problem.

  • 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 Shopify Checkout Extensibility.

Checkout Extensibility → BigQuery · diagnose

Diagnostic order — Checkout Extensibility → BigQuery

  1. 01

    Count orders carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare Shopify order count against platform-reported conversions for the last 60 days

    A sharp divergence with no change in actual sales is the signature. Check what was in Additional Scripts before assuming anything else.

  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.

Checkout Extensibility → BigQuery · prove

How it gets proven — Checkout Extensibility → BigQuery

Against Shopify Checkout Extensibility's own records, not against either platform's dashboard.

Source of truth

Shopify orders by creation date, read from the order record rather than from anything rendered on a page.

  • 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.
  • Orders reconciled from the webhook against imported conversions for a settled week, with no dependence on anything rendered at checkout.

Checkout Extensibility → 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
  • Compare Shopify order count against platform-reported conversions for the last 60 days
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Shopify orders by creation date, read from the order record rather than from anything rendered on a page.

Get my free conversion tracking audit

Free30 minutesNo obligation

Checkout Extensibility → BigQuery · when not to buy

When you don't need this — Checkout Extensibility → BigQuery

  • If BigQuery already reports conversions that reconcile against Shopify Checkout Extensibility'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 orders and count how many carry whatever join key you decide on.
  • If you were already sending conversions server-side from the order webhook, this migration does not affect your tracking at all — which is exactly why server-side was worth doing before it was forced.
  • 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.

Checkout Extensibility → BigQuery · what we deliver

What gets built — Checkout Extensibility → BigQuery

  • Identifier capture into Checkout Extensibility

    Capture the identifier on your own storefront, persist it into cart or order attributes, and send the conversion server-side from the order webhook rather than from any page.

  • Event source: the Shopify order webhook, server-side

    Send orders from the webhook at the paid total. Web Pixels are the supported browser-side path and they run sandboxed, with no access to the 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 and cancellations reverse from their own webhooks.

Written guarantee

95%+ tracking accuracy

Measured against Shopify orders by creation date, read from the order record rather than from anything rendered on a page.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Checkout Extensibility → BigQuery questions, answered

Through an ETL connector, Shopify's API on a schedule, or a webhook handler writing streaming inserts. Keep raw rows and dedupe on order ID.

Free · 30 min

Get Checkout Extensibility and BigQuery joined properly

Free30 minutesNo obligation