Connecting VWO to BigQuery
VWO runs tests on marketing pages specifically, which puts it directly in the paid traffic path and makes the interaction between testing and attribution unavoidable. 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 VWO variation 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
VWO variation on the order row: test results in BigQuery
Read the active VWO test and variation IDs from its JavaScript API, keep them in a first-party cookie, and pass them into a hidden form field or the cart so each lead or order carries them. Load those records into BigQuery with click identifiers, dedupe on order ID, and query settled revenue, qualified rate and refunds by variation.
BigQuery is where VWO results can be judged on revenue that survives refunds and on leads that actually close. The requirement is simple and usually missing: the variation the visitor saw has to be on the lead or order record. Read the active test and variation IDs from VWO's JavaScript API, keep them in a first-party cookie, and pass them into a hidden form field or the cart, so the order or lead in your own system carries them.
Load orders or leads into BigQuery with test ID, variation ID and the click identifiers you captured in the head before VWO ran. A test result is then a query: settled revenue per visitor by variation, qualified rate by variation, refund rate by variation. Check whether your VWO plan offers a raw data export for visitor counts per variation; without one, the denominator has to come from your own page view data.
Watch that denominator for bias. If the testing script is blocked or loads late for some visitors, they see the control and fall outside VWO's counts, and that share isn't random across devices or traffic sources. Compare your own visitor counts per variation against VWO's before trusting a lift figure. Dedupe on order ID, and keep the variation a visitor first saw if they return later.
VWO → BigQuery · what breaks
Why this join usually fails — VWO → BigQuery
- 01
Whatever join key you decide on never reaches VWO
Synchronous test rendering can delay page load; asynchronous rendering causes flicker. Both push the identifier-capture script later in the sequence than it should be.
- 02
Three tools reporting three different conversion counts
VWO, the ad platform and the CRM will each produce a different number for the same week, because each defines a visitor, a conversion and a window differently. Reconciling them requires one source of truth, and it is not the testing tool.
- 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.
- 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.
VWO → BigQuery · the fix
What working looks like — VWO → BigQuery
Whatever join key you decide on on every variation
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
VWO → BigQuery · architecture
How VWO and BigQuery actually connect
- 1
VWO holds the truth
VWO's own goal conversion is measured on its terms, in its window, against its visitor definition. It will not match your ad platform's figure and it is not supposed to.
- 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
The identifier is the bridge
Whatever join key you decide on, captured at the visit and carried into the VWO variation.
- 4
The event source decides reliability
Send the downstream outcome — a qualified lead or a settled order — with the variation attached, rather than the on-page goal VWO records.
- 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.
VWO → BigQuery · normal or broken
Working vs. broken, side by side — VWO → BigQuery
Normal, not a fault
Whatever join key you decide on present on the variation
Sent from your lead or order system
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
Synchronous test rendering can delay page load; asynchronous rendering causes flicker. Both push the identifier-capture script later in the sequence than it should be.
Sent from the browser
VWO, the ad platform and the CRM will each produce a different number for the same week, because each defines a visitor, a conversion and a window differently. Reconciling them requires one source of truth, and it is not the testing tool.
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
VWO → BigQuery · diagnose
Diagnostic order — VWO → BigQuery
- 01
Count variations carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Check the load order of the testing library against identifier capture
If the test renders first, some share of identifiers is being lost on slower connections, and that share is not random across variations.
- 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.
- 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.
VWO → BigQuery · prove
How it gets proven — VWO → BigQuery
Source of truth
Your lead or order system, joined to the variation the visitor saw.
- Whatever join key you decide on confirmed present on a live variation.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- Downstream outcomes reconciled per variation against imported conversions.
VWO → BigQuery · free audit
What we check in the free audit
- Count variations carrying whatever join key you decide on
- Follow one real conversion end to end
- Check the load order of the testing library against identifier capture
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Your lead or order system, joined to the variation the visitor saw.
Free30 minutesNo obligation
VWO → BigQuery · when not to buy
When you don't need this — VWO → BigQuery
- Measure identifier coverage yourself first — pull your last hundred variations and count how many carry whatever join key you decide on.
- Not testing paid landing pages means no interaction, and no reason to integrate the two systems.
- 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.
VWO → BigQuery · what we deliver
What gets built — VWO → BigQuery
Identifier capture into VWO
Capture the identifier in the document head, before any testing library runs. This is the fix and it is a five-minute change.
Event source: your lead or order system
Send the downstream outcome — a qualified lead or a settled order — with the variation attached, rather than the on-page goal VWO records.
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
Disqualified leads and refunds reverse.
Written guarantee
95%+ tracking accuracy
Measured against Your lead or order system, joined to the variation the visitor saw.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
VWO → BigQuery questions, answered
Write the test and variation IDs onto your own lead or order record at conversion time, then load those records. Check whether your VWO plan also exports raw visitor data for the denominators.
VWO counts its own goal, in its own window, on its visitor definition. Your warehouse counts settled orders or qualified leads, which is the number to make the decision on.
Almost always because whatever join key you decide on never reached the VWO variation. Synchronous test rendering can delay page load; asynchronous rendering causes flicker. Both push the identifier-capture script later in the sequence than it should be. Measure coverage before debugging the dispatch.
There is no vendor identifier here. You choose the key — order ID, user ID, click identifier, hashed email — and you live with the consequences. That is the whole appeal and the whole risk: nothing is standardised for you and nothing is silently wrong in a vendor's favour either.
Your lead or order system. Send the downstream outcome — a qualified lead or a settled order — with the variation attached, rather than the on-page goal VWO records.
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.
More on VWO → BigQuery
- VWO → Google AdsConnecting VWO to Google Ads
- VWO → MetaConnecting VWO to Meta Conversions API
- VWO → GA4Connecting VWO to GA4
RELATED GUIDES
Where VWO → BigQuery fits in the rest of your tracking
- Dynamic Yield → BigQueryConnecting Dynamic Yield to BigQuery
- RudderStack → BigQueryConnecting RudderStack to BigQuery
- Tealium → BigQueryConnecting Tealium to BigQuery
- VWO → SnowflakeConnecting VWO to Snowflake
- VWO → SegmentConnecting VWO to Segment
- B2BConversion tracking for B2B, from first touch to closed-won
- Optimizely → BigQueryConnecting Optimizely to BigQuery
- mParticle → BigQueryConnecting mParticle to BigQuery
Free · 30 min
Get VWO and BigQuery joined properly
Free30 minutesNo obligation
