Skip to main content
Recurly → BigQueryIntegration guide

Connecting Recurly to BigQuery

Recurly is built around keeping subscriptions alive, which means a large share of the revenue it recovers comes from payments that failed and were retried rather than from anything marketing did. 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 Recurly 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

Recurly to BigQuery: transactions labeled new, renewal or recovered

Load Recurly subscriptions, invoices and transactions into BigQuery keyed on subscription UUID and account code, with click IDs stored at signup, preferring scheduled exports or deduplicated raw webhook payloads. Label each successful payment new, renewal or recovered, attribute only first successful payments, add refunds as new rows, and reconcile against Recurly's revenue reports.

BigQuery is where a Recurly business can separate new revenue from recovered revenue with certainty, because it can hold every transaction, failed attempts included. Load subscriptions, invoices and transactions keyed on the subscription UUID and account code, plus the click IDs stored on the account at signup. The account code is the join to your product database and to whatever captured the ad click.

Check whether Recurly's data export features are included on your plan before writing a webhook pipeline; scheduled full-table exports are easier to reconcile than state rebuilt from notifications. If you do use webhooks, store the payloads raw and deduplicate on the transaction ID, since a notification can be delivered more than once. Refunds and voids should arrive as new rows, never as deletes of the original transaction.

The derived table that matters labels each successful payment as new, renewal or recovered, where recovered means a success on an invoice that previously had a failed attempt. With that label, attribution queries count only first successful payments of new subscriptions against the stored click ID, the dunning team gets its own number, and a subscription whose first charge never succeeded drops out of acquisition entirely. Reconcile monthly totals against Recurly's own revenue reports before anyone uses them.

Recurly → BigQuery · what breaks

Why this join usually fails — Recurly → BigQuery

  1. 01

    Whatever join key you decide on never reaches Recurly

    Checkout may run through Recurly's hosted pages, and the renewal that actually matters happens months later with no browser session at all.

  2. 02

    Dunning recovery counted as acquisition

    A retried card that succeeds on day three looks identical to a new subscription in most exports. On a mature book that recovery is a meaningful share of monthly revenue and none of it was bought.

  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.

Recurly → BigQuery · the fix

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

Recurly → BigQuery · architecture

How Recurly and BigQuery actually connect

  1. 1

    Recurly holds the truth

    Dunning recovery is Recurly's core product. Revenue rescued from a declined card three days after it failed is real money and it is not a conversion — attributing it to whatever campaign is running that week is the standard mistake here.

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

  4. 4

    The event source decides reliability

    Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.

  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.

Recurly → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the subscription

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

    Checkout may run through Recurly's hosted pages, and the renewal that actually matters happens months later with no browser session at all.

  • Sent from the browser

    A retried card that succeeds on day three looks identical to a new subscription in most exports. On a mature book that recovery is a meaningful share of monthly revenue and none of it was bought.

  • 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

Recurly → BigQuery · diagnose

Diagnostic order — Recurly → BigQuery

  1. 01

    Count subscriptions carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Split subscription events into new, renewal and recovered

    Three categories, three owners. Until they are separated, no acquisition number is readable.

  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.

Recurly → BigQuery · prove

How it gets proven — Recurly → BigQuery

Source of truth

Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.

  • 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 subscription starts reconciled against imported conversions, with recovered revenue reported separately.

Recurly → 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
  • Split subscription events into new, renewal and recovered
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.

Get my free conversion tracking audit

Free30 minutesNo obligation

Recurly → BigQuery · when not to buy

When you don't need this — Recurly → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry whatever join key you decide on.
  • If your churn is mostly voluntary and you run no dunning, this collapses to an ordinary subscription integration.
  • 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.

Recurly → BigQuery · what we deliver

What gets built — Recurly → BigQuery

  • Identifier capture into Recurly

    Capture on your own domain, persist against the account, and attach to the subscription so a renewal or a recovery can still be traced without being credited as new.

  • Event source: the Recurly subscription webhook

    Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.

  • 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 billing period reverse, and so should subscriptions that never recover from a failed first charge.

Written guarantee

95%+ tracking accuracy

Measured against Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Recurly → BigQuery questions, answered

Check Recurly's data export options on your plan. Otherwise load webhooks or API pulls into a staging table and deduplicate on transaction ID.

Free · 30 min

Get Recurly and BigQuery joined properly

Free30 minutesNo obligation