Skip to main content
TeamUp → BigQueryIntegration guide

Connecting TeamUp to BigQuery

TeamUp handles class-based fitness where the same customer might hold a membership, buy a class pack and pay per drop-in — three revenue models in one account. 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 TeamUp purchase 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

TeamUp to BigQuery: separating pack revenue from class consumption

Load TeamUp into BigQuery as two tables: purchases typed as membership, class pack or drop-in, and bookings linked to the pack or membership they drew down. Key on TeamUp customer ID, store acquisition source at first purchase, flag first purchase, repurchase or renewal, keep refunds in their own table, and deduplicate bookings on booking ID.

A studio's warehouse needs two tables that TeamUp reports tend to blur: purchases, typed as membership, class pack or drop-in, and bookings, each linked to the pack or membership it drew down. Revenue comes only from the first table. The second answers whether a pack bought in January was used up by March, and how many classes go unused, which affects how much each pack is really worth.

The join key is the TeamUp customer ID, with acquisition source and click identifiers stored once against the customer at first purchase. Flag each purchase as first purchase, repurchase or renewal. Without that flag, every monthly membership charge looks like a new conversion, and any attribution you build on top credits ads with recurring revenue they did not create.

Refunds go in their own table, linked to the original purchase ID, rather than being netted into the purchase row, so you can still see what was sold and what was given back. Check what API or export access TeamUp offers on your plan; a nightly load is enough. Deduplicate bookings on booking ID, because cancelled and rebooked classes often appear as several records for one seat.

TeamUp → BigQuery · what breaks

Why this join usually fails — TeamUp → BigQuery

  1. 01

    Whatever join key you decide on never reaches TeamUp

    Booking and purchase pages are TeamUp-hosted, and class bookings continue for months after the original click.

  2. 02

    Class bookings counted as purchases

    A ten-class pack generates one purchase and ten bookings. If bookings are the conversion event, you have inflated the count by ten and the revenue by whatever value got attached to each one.

  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.

TeamUp → BigQuery · the fix

What working looks like — TeamUp → BigQuery

  • Whatever join key you decide on on every purchase

  • 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

TeamUp → BigQuery · architecture

How TeamUp and BigQuery actually connect

  1. 1

    TeamUp holds the truth

    A class pack behaves like the spa package problem: it is sold once and consumed many times, and the consumption is not revenue.

  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 TeamUp purchase.

  4. 4

    The event source decides reliability

    Send purchases only. Class bookings that draw down an existing pack carry no 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.

TeamUp → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the purchase

  • Sent from the TeamUp purchase 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

    Booking and purchase pages are TeamUp-hosted, and class bookings continue for months after the original click.

  • Sent from the browser

    A ten-class pack generates one purchase and ten bookings. If bookings are the conversion event, you have inflated the count by ten and the revenue by whatever value got attached to each one.

  • 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

TeamUp → BigQuery · diagnose

Diagnostic order — TeamUp → BigQuery

  1. 01

    Count purchases carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether booking events carry a value

    On class platforms they usually do by default, because the booking is the obvious thing to fire on.

  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.

TeamUp → BigQuery · prove

How it gets proven — TeamUp → BigQuery

Source of truth

TeamUp purchases by date, split into memberships, class packs and drop-ins.

  • Whatever join key you decide on confirmed present on a live purchase.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Purchases reconciled against imported conversions, with bookings demonstrably valued at zero.

TeamUp → BigQuery · free audit

What we check in the free audit

  • Count purchases carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Check whether booking events carry a value
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

TeamUp purchases by date, split into memberships, class packs and drop-ins.

Get my free conversion tracking audit

Free30 minutesNo obligation

TeamUp → BigQuery · when not to buy

When you don't need this — TeamUp → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred purchases and count how many carry whatever join key you decide on.
  • A studio selling only drop-ins has no pack problem and can treat each booking as the purchase it is.
  • 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.

TeamUp → BigQuery · what we deliver

What gets built — TeamUp → BigQuery

  • Identifier capture into TeamUp

    Persist the identifier against the customer at first purchase, and mark subsequent bookings as consumption rather than conversion.

  • Event source: the TeamUp purchase record

    Send purchases only. Class bookings that draw down an existing pack carry no 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

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against TeamUp purchases by date, split into memberships, class packs and drop-ins.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

TeamUp → BigQuery questions, answered

Keep purchases and bookings in separate tables, with revenue only on purchases and each booking linked to the pack or membership it consumed.

Free · 30 min

Get TeamUp and BigQuery joined properly

Free30 minutesNo obligation