Skip to main content
Recharge → BigQueryIntegration guide

Connecting Recharge to BigQuery

Recharge holds the subscription, which means it holds the only complete record of what a Shopify subscription store actually earns over time. 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 Recharge 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

Recharge to BigQuery: subscription LTV by acquisition click

In BigQuery, load Recharge subscriptions with click IDs and UTMs written to metadata at creation, charges and the Shopify orders they create, joined on subscription ID so renewals are attributable to acquisition. That yields revenue per subscriber by campaign. Deduplicate on charge ID, reconcile charges against Shopify orders monthly, and keep cancelled and skipped states as rows.

BigQuery is where Recharge's most valuable number, revenue per subscriber by acquisition source over time, can actually be computed. Load three tables: subscriptions (subscription ID, customer ID, created and cancelled timestamps, product, interval, and the click IDs and UTMs written to metadata at creation), charges (charge ID, subscription ID, amount, status, processed time) and the Shopify orders those charges create.

The subscription ID is the join key that makes renewals attributable, which is why the identifier has to live on the subscription and not the first order. With it, one query gives you twelve-month revenue for subscribers acquired from each campaign, and a value you can later send to ad platforms as a predicted or realized lifetime value. Without it, the warehouse can only tell you renewal revenue in total.

Reconcile charges against Shopify orders per month; they should match, and when they do not, the gap is usually failed or retried charges that Recharge records differently from Shopify. Deduplicate on charge ID, since webhooks and backfills overlap. Keep cancelled and skipped states as rows rather than deletions, or churn disappears from the history.

Recharge → BigQuery · what breaks

Why this join usually fails — Recharge → BigQuery

  1. 01

    Whatever join key you decide on never reaches Recharge

    The identifier has to live on the subscription rather than the order. Every renewal creates a new order, so an identifier stored only on the first one can never be tied to any renewal — and renewals are where most of the revenue is.

  2. 02

    Renewals happen with no browser present

    Charges run on a schedule with no customer there. Nothing that fires from a page can see them, and stores routinely report only acquisition and undercount total revenue by whatever their retention is worth.

  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.

Recharge → BigQuery · the fix

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

Recharge → BigQuery · architecture

How Recharge and BigQuery actually connect

  1. 1

    Recharge holds the truth

    Every charge creates a Shopify order, so the two systems should agree. Recharge is authoritative for the recurring relationship; Shopify is authoritative for what the store banked.

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

  4. 4

    The event source decides reliability

    Send acquisition from subscription created, once, valued at expected lifetime. Renewals fire from charge processed and belong in your reporting rather than automatically in your bidding.

  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.

Recharge → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the subscription

  • Sent from the Recharge subscription and charge webhooks

  • 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

    The identifier has to live on the subscription rather than the order. Every renewal creates a new order, so an identifier stored only on the first one can never be tied to any renewal — and renewals are where most of the revenue is.

  • Sent from the browser

    Charges run on a schedule with no customer there. Nothing that fires from a page can see them, and stores routinely report only acquisition and undercount total revenue by whatever their retention is worth.

  • 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

Recharge → BigQuery · diagnose

Diagnostic order — Recharge → BigQuery

  1. 01

    Count subscriptions carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether a subscription carries the identifier

    Not the order. If it is on the order only, renewals can never be attributed no matter what you build downstream.

  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.

Recharge → BigQuery · prove

How it gets proven — Recharge → BigQuery

Source of truth

Recharge's subscription and charge records, cross-checked against the Shopify orders they create.

  • 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.
  • A renewal confirmed to land wherever the written policy says it should, and a cancellation confirmed to reverse.

Recharge → 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
  • Check whether a subscription carries the identifier
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Recharge's subscription and charge records, cross-checked against the Shopify orders they create.

Get my free conversion tracking audit

Free30 minutesNo obligation

Recharge → BigQuery · when not to buy

When you don't need this — Recharge → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry whatever join key you decide on.
  • If you sell one-off products with a small subscription tail, the store's native integration may already be adequate. Measure the recurring share first.
  • 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.

Recharge → BigQuery · what we deliver

What gets built — Recharge → BigQuery

  • Identifier capture into Recharge

    Capture the click identifier on the storefront and write it to the Recharge subscription's metadata at creation, so it is available on every subsequent charge.

  • Event source: the Recharge subscription and charge webhooks

    Send acquisition from subscription created, once, valued at expected lifetime. Renewals fire from charge processed and belong in your reporting rather than automatically in your bidding.

  • 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

    Recharge exposes cancellation, which should reverse the lifetime value you claimed at acquisition. Almost nobody wires this, so reported subscriber value only ever rises.

Written guarantee

95%+ tracking accuracy

Measured against Recharge's subscription and charge records, cross-checked against the Shopify orders they create.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Recharge → BigQuery questions, answered

Store click IDs and UTMs on the Recharge subscription at creation, load subscriptions and charges into BigQuery, and sum charges per subscription grouped by acquisition source. The subscription ID is the join key.

Free · 30 min

Get Recharge and BigQuery joined properly

Free30 minutesNo obligation