Skip to main content
Talkable → BigQueryIntegration guide

Connecting Talkable to BigQuery

Talkable is built to test referral offers, which means the reward structure is deliberately varying — and reward depth changes both the referral rate and the margin on every referred order. 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 Talkable referral 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

Talkable to BigQuery: separate the offer test from the campaign test

Load Talkable's referral records raw into BigQuery, from its API, webhooks or scheduled exports, and join them to store orders on order number. Build one row per order with the referral flag, offer variant, reward cost, paid click IDs, UTMs, test arm and net revenue. Apply referral-versus-paid precedence in a view, and date variants in a dimension table.

BigQuery is the only place this source's core problem can be solved: two experiments sharing one audience. The table you need is one row per order with the order ID, the Talkable referral flag, offer variant and reward cost, the paid click IDs and UTMs captured on landing, the campaign and test arm those belong to, and net revenue. With both variants on one row you can query the effect of each test with the other held constant.

The join is order number between your store's orders and Talkable's referral records. Check what Talkable exposes for your account, whether API access, webhooks or scheduled exports, and load its records raw before modeling. Reward costs may be issued as coupons, store credit or cash, at different times from the order; store the reward event with its own date so a reward paid after a refund is not counted as a cost of a live order.

Two things break the analysis. Orders that carry both a referral parameter and a paid click ID need a precedence rule applied in a view, not a column overwritten at load time, or you cannot test a different rule later. And Talkable variants are often renamed between tests; keep a variant dimension table with start and end dates so a query for a past test window resolves to the offer actually shown.

Talkable → BigQuery · what breaks

Why this join usually fails — Talkable → BigQuery

  1. 01

    Whatever join key you decide on never reaches Talkable

    Referral links carry parameters that can collide with paid ones, and the offer variant is decided by Talkable rather than by your site.

  2. 02

    Two experiments on one audience

    A referral offer test and a campaign test running simultaneously will interfere, and without the variant recorded nobody can say which change moved the number.

  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.

Talkable → BigQuery · the fix

What working looks like — Talkable → BigQuery

  • Whatever join key you decide on on every referral

  • 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

Talkable → BigQuery · architecture

How Talkable and BigQuery actually connect

  1. 1

    Talkable holds the truth

    If the referral programme is running an offer test while media is running a campaign test, two experiments share the same traffic and neither result is clean without the variant on the order.

  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 Talkable referral.

  4. 4

    The event source decides reliability

    Send orders net of reward, with the referral offer variant recorded.

  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.

Talkable → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the referral

  • Sent from your order feed with referral and variant attached

  • 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

    Referral links carry parameters that can collide with paid ones, and the offer variant is decided by Talkable rather than by your site.

  • Sent from the browser

    A referral offer test and a campaign test running simultaneously will interfere, and without the variant recorded nobody can say which change moved the number.

  • 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

Talkable → BigQuery · diagnose

Diagnostic order — Talkable → BigQuery

  1. 01

    Count referrals carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether a referral offer test is running during a campaign test

    First question when an unexplained shift appears, not last.

  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.

Talkable → BigQuery · prove

How it gets proven — Talkable → BigQuery

Source of truth

Orders flagged by referral, with the offer variant and reward cost recorded.

  • Whatever join key you decide on confirmed present on a live referral.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Orders reconciled by referral variant against imported conversions across the full test window.

Talkable → BigQuery · free audit

What we check in the free audit

  • Count referrals carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Check whether a referral offer test is running during a campaign test
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Orders flagged by referral, with the offer variant and reward cost recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Talkable → BigQuery · when not to buy

When you don't need this — Talkable → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry whatever join key you decide on.
  • If your referral offer is fixed, there is no interference and the variant field is unnecessary.
  • 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.

Talkable → BigQuery · what we deliver

What gets built — Talkable → BigQuery

  • Identifier capture into Talkable

    Record the offer variant and both identifiers on the order, with precedence written down.

  • Event source: your order feed with referral and variant attached

    Send orders net of reward, with the referral offer variant recorded.

  • 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 Orders flagged by referral, with the offer variant and reward cost recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Talkable → BigQuery questions, answered

Check what your Talkable account provides, such as API access, webhooks or exports, then join referral records to store orders on order number.

Free · 30 min

Get Talkable and BigQuery joined properly

Free30 minutesNo obligation