Skip to main content
Dynamic Yield → BigQueryIntegration guide

Connecting Dynamic Yield to BigQuery

Dynamic Yield personalizes continuously rather than in discrete tests, so there is no stable control group and no clean before-and-after to compare a campaign against. 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 Dynamic Yield experience 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

Dynamic Yield to BigQuery: decisions, orders and a holdout

In BigQuery, store Dynamic Yield's visitor ID and your own session ID on each order, and log every campaign and variation served as append-only timestamped rows, from a raw data export or your own browser logging. Join each order to decisions made before it in that session, deduplicate on order ID, and compare against the holdout.

BigQuery is the destination where Dynamic Yield's results can actually be checked, because it can hold the decision log next to the order table and the ad click identifiers. The join key is a session or visitor key you control: store Dynamic Yield's visitor ID and your own session ID on the order, and log every campaign and variation served to that visitor with a timestamp. Check whether your Dynamic Yield plan includes a raw data export; if not, you will need to log decisions yourself from the browser.

With that in place, the queries are concrete. Revenue per visitor by variation, by paid channel, inside the window the variation was live. Holdout versus exposed for the same period. Variation by device, since in-app browser sessions from paid social often get a different decision path. None of that is available inside Dynamic Yield's own reports joined to your ad spend.

The failure for this pair is temporal. Dynamic Yield changes what it serves continuously, so an order must be joined to the decisions made before it, in that visitor's session, not to whatever variation is live when the query runs. Keep decisions as append-only rows with timestamps in one zone, and deduplicate on order ID before any aggregate, because a retried load doubles exactly the high-value orders you are reading.

Dynamic Yield → BigQuery · what breaks

Why this join usually fails — Dynamic Yield → BigQuery

  1. 01

    Whatever join key you decide on never reaches Dynamic Yield

    Personalization decisions are made per session and can rewrite page content and links, including the parameters on outbound and internal links.

  2. 02

    No control group, therefore no baseline

    Continuous personalization with no holdout makes it impossible to say whether performance changed because of media, because of merchandising, or because the algorithm learned something. Most implementations have no holdout.

  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.

Dynamic Yield → BigQuery · the fix

What working looks like — Dynamic Yield → BigQuery

  • Whatever join key you decide on on every experience

  • 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

Dynamic Yield → BigQuery · architecture

How Dynamic Yield and BigQuery actually connect

  1. 1

    Dynamic Yield holds the truth

    Always-on personalization means the page a visitor saw in March is not the page a visitor sees today. Year-on-year campaign comparisons quietly stop being comparisons.

  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 Dynamic Yield experience.

  4. 4

    The event source decides reliability

    Send purchases with variant metadata. Hold back a genuine control audience if you want to say anything causal at all.

  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.

Dynamic Yield → BigQuery · normal or broken

Working vs. broken, side by side — Dynamic Yield → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the experience

  • Sent from your order system with the served 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

    Personalization decisions are made per session and can rewrite page content and links, including the parameters on outbound and internal links.

  • Sent from the browser

    Continuous personalization with no holdout makes it impossible to say whether performance changed because of media, because of merchandising, or because the algorithm learned something. Most implementations have no holdout.

  • 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

Dynamic Yield → BigQuery · diagnose

Diagnostic order — Dynamic Yield → BigQuery

  1. 01

    Count experiences carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm whether a holdout exists at all

    If it does not, the honest reporting position is that campaign performance cannot be cleanly separated from personalization effects.

  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.

Dynamic Yield → BigQuery · prove

How it gets proven — Dynamic Yield → BigQuery

Source of truth

Your order system, joined to the personalization variant served.

  • Whatever join key you decide on confirmed present on a live experience.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Orders reconciled against imported conversions, with holdout performance reported alongside.

Dynamic Yield → BigQuery · free audit

What we check in the free audit

  • Count experiences carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Confirm whether a holdout exists at all
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Your order system, joined to the personalization variant served.

Get my free conversion tracking audit

Free30 minutesNo obligation

Dynamic Yield → BigQuery · when not to buy

When you don't need this — Dynamic Yield → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred experiences and count how many carry whatever join key you decide on.
  • Without a holdout group, adding conversion tracking will not make the results interpretable. Build the holdout first.
  • 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.

Dynamic Yield → BigQuery · what we deliver

What gets built — Dynamic Yield → BigQuery

  • Identifier capture into Dynamic Yield

    Capture and persist the identifier before personalization renders, and verify that no personalized link template strips the parameters.

  • Event source: your order system with the served variant attached

    Send purchases with variant metadata. Hold back a genuine control audience if you want to say anything causal at all.

  • 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 Your order system, joined to the personalization variant served.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Dynamic Yield → BigQuery questions, answered

Store Dynamic Yield's visitor ID and your session ID on each order, log variation decisions with timestamps, and join on visitor plus the decision time before the order.

Free · 30 min

Get Dynamic Yield and BigQuery joined properly

Free30 minutesNo obligation