Skip to main content
Zen Planner → BigQueryIntegration guide

Connecting Zen Planner to BigQuery

Zen Planner serves martial arts schools and gyms with family memberships, where one enrolment can represent three people and one payment. 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 Zen Planner enrolment 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

Zen Planner in BigQuery: two tables and a household key

Load Zen Planner students and billing relationships as separate tables joined on a household or billing ID, deriving one from the billing contact if needed. Count distinct billing relationships starting in a period, keep trial and membership dates, store first-contact click IDs against the parent's email, and deduplicate overlapping exports on billing ID.

In a warehouse the family-plan problem becomes a modeling decision you can see. Load Zen Planner data as at least two tables: students, and billing relationships, joined on a household or billing ID. The conversion count is the number of distinct billing relationships starting in a period, and a query that counts enrollment rows instead will triple-count families every time. Name the column so nobody can confuse the two.

Check what Zen Planner lets you export, whether scheduled reports, an API if available on your plan, or manual exports, and whether the export includes a household or billing ID at all. If it does not, you will need to derive one from the billing contact, and that derivation is the part to test. Store the lead source and any click identifiers captured on your own site at first contact against the household, keyed on the parent's email.

Membership start dates and trial dates differ by days or weeks, and the paperwork done at the school often sets the start, so keep both dates. Deduplicate on the billing ID before counting, since re-run exports overlap. Then reconcile billing households against imported conversions for a settled month, and check that cost per household, not per student, is what reaches every report.

Zen Planner → BigQuery · what breaks

Why this join usually fails — Zen Planner → BigQuery

  1. 01

    Whatever join key you decide on never reaches Zen Planner

    Trial and enrolment forms are Zen Planner-hosted, and enrolment paperwork is frequently completed at the school.

  2. 02

    Family plans counted per student

    It triples your conversion count and leaves your revenue unchanged, so cost per acquisition looks a third of what it is and the campaign gets scaled into a loss.

  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.

Zen Planner → BigQuery · the fix

What working looks like — Zen Planner → BigQuery

  • Whatever join key you decide on on every enrolment

  • 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

Zen Planner → BigQuery · architecture

How Zen Planner and BigQuery actually connect

  1. 1

    Zen Planner holds the truth

    A family plan with three children is one billing relationship. Counting three enrolments triples the conversion count against one payment, and the bidding algorithm optimizes toward the count.

  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 Zen Planner enrolment.

  4. 4

    The event source decides reliability

    Send one conversion per billing household at the household's recurring 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.

Zen Planner → BigQuery · normal or broken

Working vs. broken, side by side — Zen Planner → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the enrolment

  • Sent from the Zen Planner membership 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

    Trial and enrolment forms are Zen Planner-hosted, and enrolment paperwork is frequently completed at the school.

  • Sent from the browser

    It triples your conversion count and leaves your revenue unchanged, so cost per acquisition looks a third of what it is and the campaign gets scaled into a loss.

  • 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

Zen Planner → BigQuery · diagnose

Diagnostic order — Zen Planner → BigQuery

  1. 01

    Count enrolments carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare enrolment count against billing relationships

    If they differ, the conversion count is wrong and everything derived from it is too.

  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.

Zen Planner → BigQuery · prove

How it gets proven — Zen Planner → BigQuery

Source of truth

Zen Planner memberships by start date, valued at the household's billed amount rather than per student.

  • Whatever join key you decide on confirmed present on a live enrolment.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Billing households reconciled against imported conversions for a settled month.

Zen Planner → BigQuery · free audit

What we check in the free audit

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

Checked against

Zen Planner memberships by start date, valued at the household's billed amount rather than per student.

Get my free conversion tracking audit

Free30 minutesNo obligation

Zen Planner → BigQuery · when not to buy

When you don't need this — Zen Planner → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry whatever join key you decide on.
  • Schools with only individual memberships do not have this problem. It is specifically a family-plan trap.
  • 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.

Zen Planner → BigQuery · what we deliver

What gets built — Zen Planner → BigQuery

  • Identifier capture into Zen Planner

    Capture at first online contact and persist against the household, not the individual student.

  • Event source: the Zen Planner membership record

    Send one conversion per billing household at the household's recurring 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 reverse.

Written guarantee

95%+ tracking accuracy

Measured against Zen Planner memberships by start date, valued at the household's billed amount rather than per student.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Zen Planner → BigQuery questions, answered

Count distinct billing households starting a membership in the period, not enrollment rows. Keep students and billing relationships in separate tables joined on a household ID.

Free · 30 min

Get Zen Planner and BigQuery joined properly

Free30 minutesNo obligation