Skip to main content
Donorbox → BigQueryIntegration guide

Connecting Donorbox to BigQuery

Donorbox is donation forms for nonprofits, where the recurring donor is worth many times the one-off gift and the two arrive through the same form. 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 Donorbox donation 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

Donorbox in BigQuery: proving what a recurring donor is worth

Load every Donorbox installment into BigQuery with plan ID, interval, amount, currency, status and acquisition form, then compute recurring donors' actual first-twelve-month giving by cohort as the annualized value to send ad platforms. Join to a click-capture table through a visitor ID passed into the form, deduplicate on donation ID, and keep designations internal.

Every other Donorbox page here asks you to send recurring plans at an annualized value you can defend. BigQuery is where that defense gets built. Load every Donorbox installment as its own row with the plan ID, interval, amount, currency, status and acquisition form, then compute what recurring donors actually gave in their first twelve months, by the month they were acquired. That number, refreshed quarterly, is what ad platforms should receive.

The join to advertising is a visitor or session ID you capture on your own page and pass into the Donorbox form, stored in a click-capture table alongside gclid, fbclid and whatever else you collect. Donor email then links a donor's later gifts back to the first one. Deduplicate on the Donorbox donation ID, because re-running an export or a Zap will load the same installment twice and quietly raise the retention you're about to quote.

Keep fund or designation fields in the warehouse, since they explain which appeals retain donors, but treat them as internal. A designation that names a medical, religious or political cause reveals something about the donor and has no business in an ad platform payload. The warehouse is where that detail stays; only value and identifiers leave it.

Donorbox → BigQuery · what breaks

Why this join usually fails — Donorbox → BigQuery

  1. 01

    Whatever join key you decide on never reaches Donorbox

    The donation form frequently renders in a Donorbox-hosted embed or popup, which does not share your page's storage.

  2. 02

    Recurring donors valued at one month

    It makes the most valuable acquisition you can achieve look like your smallest, and it steers campaigns toward one-off appeals that produce a single gift and no relationship.

  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.

Donorbox → BigQuery · the fix

What working looks like — Donorbox → BigQuery

  • Whatever join key you decide on on every donation

  • 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

Donorbox → BigQuery · architecture

How Donorbox and BigQuery actually connect

  1. 1

    Donorbox holds the truth

    A monthly donor at twenty pounds is worth far more than a hundred-pound single gift and looks smaller in every report that counts donation value at the moment it arrives.

  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 Donorbox donation.

  4. 4

    The event source decides reliability

    Send one-off gifts at their amount and recurring plans at an annualized value you can defend from your own retention data.

  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.

Donorbox → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the donation

  • Sent from the Donorbox donation 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

    The donation form frequently renders in a Donorbox-hosted embed or popup, which does not share your page's storage.

  • Sent from the browser

    It makes the most valuable acquisition you can achieve look like your smallest, and it steers campaigns toward one-off appeals that produce a single gift and no relationship.

  • 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

Donorbox → BigQuery · diagnose

Diagnostic order — Donorbox → BigQuery

  1. 01

    Count donations carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare the value of a recurring donor over a year against a single gift

    The gap is usually large enough to change which campaigns get funded.

  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.

Donorbox → BigQuery · prove

How it gets proven — Donorbox → BigQuery

Source of truth

Donorbox donations by date, split into one-off gifts and recurring plans.

  • Whatever join key you decide on confirmed present on a live donation.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Donations reconciled by type against imported conversions, with recurring plans valued on stated retention.

Donorbox → BigQuery · free audit

What we check in the free audit

  • Count donations carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Compare the value of a recurring donor over a year against a single gift
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Donorbox donations by date, split into one-off gifts and recurring plans.

Get my free conversion tracking audit

Free30 minutesNo obligation

Donorbox → BigQuery · when not to buy

When you don't need this — Donorbox → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred donations and count how many carry whatever join key you decide on.
  • If you only take one-off gifts, this is a straightforward payment integration and the recurring complexity does not apply.
  • 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.

Donorbox → BigQuery · what we deliver

What gets built — Donorbox → BigQuery

  • Identifier capture into Donorbox

    Capture on your own domain before the embed loads and pass the identifier through the form's supported fields.

  • Event source: the Donorbox donation record

    Send one-off gifts at their amount and recurring plans at an annualized value you can defend from your own retention data.

  • 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 cancelled recurring plans reverse.

Written guarantee

95%+ tracking accuracy

Measured against Donorbox donations by date, split into one-off gifts and recurring plans.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Donorbox → BigQuery questions, answered

Load every Donorbox installment into BigQuery with its plan ID and compute what recurring donors gave in their first 12 months by acquisition month. Send that figure and refresh it as retention changes.

Free · 30 min

Get Donorbox and BigQuery joined properly

Free30 minutesNo obligation