Skip to main content
WooCommerce Subscriptions → BigQueryIntegration guide

Connecting WooCommerce Subscriptions to BigQuery

WooCommerce Subscriptions turns a store into a recurring business, and every renewal creates a real WooCommerce order — which is exactly why renewals get counted as sales. 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 WooCommerce subscription 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

WooCommerce Subscriptions in BigQuery: parent, renewal, status

Model WooCommerce Subscriptions in BigQuery as three linked tables: subscriptions, parent orders and renewal orders, checking meta keys and HPOS versus legacy tables. Load status changes as history, and copy click IDs and UTMs from the parent order onto the subscription row so renewals inherit them. That enables retained revenue per acquisition channel by cohort.

In BigQuery the subscription store needs three linked tables, not one orders table: subscriptions, the parent orders that started them, and the renewal orders they generated. Renewal orders reference their subscription in order meta, and the subscription references its parent order; check the exact meta keys in your installed version and whether the store uses HPOS tables or legacy post tables, since queries differ between them.

Load subscription status changes as history, not just current status. Active, on-hold, pending-cancel, cancelled and expired tell different stories, and a snapshot taken once a day loses the customer who went on-hold and recovered. With that history you can compute what ad platforms never see: retained revenue per acquisition channel, by month of cohort.

Attribution joins on the parent order: whatever click IDs and UTMs you stored as order meta at checkout belong to the subscription for life, and renewals inherit them through the subscription ID. Copy them onto the subscription row in your model rather than looking up the parent each time. Check for a store that also sells one-time products; mixed carts produce parent orders that are partly subscription and partly not.

WooCommerce Subscriptions → BigQuery · what breaks

Why this join usually fails — WooCommerce Subscriptions → BigQuery

  1. 01

    Whatever join key you decide on never reaches WooCommerce Subscriptions

    Renewal orders are created by a scheduled task with no browser, no referrer and no session.

  2. 02

    Renewal orders indistinguishable from new sales

    This is the single most common WooCommerce Subscriptions error. Renewals are real orders in the same table, so a default order-based integration counts every one, and the conversion count inflates by exactly your retention rate.

  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.

WooCommerce Subscriptions → BigQuery · the fix

What working looks like — WooCommerce Subscriptions → BigQuery

  • Whatever join key you decide on on every subscription

  • 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

WooCommerce Subscriptions → BigQuery · architecture

How WooCommerce Subscriptions and BigQuery actually connect

  1. 1

    WooCommerce Subscriptions holds the truth

    A renewal is a full order in the orders table, indistinguishable from a new purchase unless you check the parent subscription. That is the trap.

  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 WooCommerce subscription.

  4. 4

    The event source decides reliability

    Send the initial order of a new subscription at a defensible subscription value; renewals carry no acquisition value.

  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.

WooCommerce Subscriptions → BigQuery · normal or broken

Working vs. broken, side by side — WooCommerce Subscriptions → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the subscription

  • Sent from the WooCommerce subscription 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

Actually broken

  • Whatever join key you decide on missing on most records

    Renewal orders are created by a scheduled task with no browser, no referrer and no session.

  • Sent from the browser

    This is the single most common WooCommerce Subscriptions error. Renewals are real orders in the same table, so a default order-based integration counts every one, and the conversion count inflates by exactly your retention rate.

  • 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

WooCommerce Subscriptions → BigQuery · diagnose

Diagnostic order — WooCommerce Subscriptions → BigQuery

  1. 01

    Count subscriptions carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare order count against new subscription count

    If orders substantially exceed new subscriptions, renewals are in your conversion feed.

  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.

WooCommerce Subscriptions → BigQuery · prove

How it gets proven — WooCommerce Subscriptions → BigQuery

Source of truth

New subscriptions by start date, held apart from the renewal orders they generate.

  • Whatever join key you decide on confirmed present on a live subscription.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • New subscriptions reconciled against imported conversions, with renewal orders demonstrably excluded.

WooCommerce Subscriptions → BigQuery · free audit

What we check in the free audit

  • Count subscriptions carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Compare order count against new subscription count
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

New subscriptions by start date, held apart from the renewal orders they generate.

Get my free conversion tracking audit

Free30 minutesNo obligation

WooCommerce Subscriptions → BigQuery · when not to buy

When you don't need this — WooCommerce Subscriptions → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry whatever join key you decide on.
  • Stores selling only one-time products do not generate renewal orders and are unaffected.
  • 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.

WooCommerce Subscriptions → BigQuery · what we deliver

What gets built — WooCommerce Subscriptions → BigQuery

  • Identifier capture into WooCommerce Subscriptions

    Capture on the original purchase and store on the subscription, then filter renewals out of the conversion feed by parent subscription.

  • Event source: the WooCommerce subscription record

    Send the initial order of a new subscription at a defensible subscription value; renewals carry no acquisition value.

  • 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

    Cancellations inside the first period reverse.

Written guarantee

95%+ tracking accuracy

Measured against New subscriptions by start date, held apart from the renewal orders they generate.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

WooCommerce Subscriptions → BigQuery questions, answered

Join renewal orders to their subscription through order meta and count only parent orders as acquisitions. Check the meta keys and HPOS mode in your store.

Free · 30 min

Get WooCommerce Subscriptions and BigQuery joined properly

Free30 minutesNo obligation