Skip to main content
Zonos → BigQueryIntegration guide

Connecting Zonos to BigQuery

Zonos calculates duties and taxes so the shopper can prepay them, which removes the delivery-time surprise that causes international refusals — and creates a figure in the order that is not your revenue. 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 Zonos landed-cost order 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

Zonos to BigQuery: landed cost lines beside the order, by market

Load Zonos landed-cost components into BigQuery as separate columns: merchandise, shipping, duty, import tax, Zonos fees, shopper currency and exchange rate, joined to your store order ID, which carries click IDs. Track returns in their own table with unrecovered duty per market. The return-adjusted merchandise value per market is what ad platforms should receive as conversion value.

BigQuery is where Zonos data becomes a per-market profitability view rather than a single inflated revenue line. Load the landed-cost components as separate columns: merchandise, shipping, duty, import tax, Zonos fees, the currency the shopper paid in and the exchange rate used. With those, net revenue by destination country is a query, and so is the effective duty rate per market, which is worth tracking because tariff changes move it without anyone touching your store.

The join key is your store's order ID. Click IDs are captured on your own site and stored on the order; the Zonos record has to be matched to that order through whatever reference Zonos keeps, so check which field carries your order number and whether your plan exposes order data by API, webhook or export. Some store platforms record the duty and tax split on the order themselves, which may be the easier source.

Returns deserve their own table. When an international order comes back, merchandise is refunded but duty is often not recovered, or recovered months later through a separate process. Track the duty written off per market alongside the return rate, and the true cost of selling into a high-duty country becomes visible. That merchandise-value, return-adjusted figure per market is what should be sent back to ad platforms as conversion value.

Zonos → BigQuery · what breaks

Why this join usually fails — Zonos → BigQuery

  1. 01

    Whatever join key you decide on never reaches Zonos

    Landed-cost calculation runs at checkout and can change the displayed total after the identifier was captured.

  2. 02

    Government duty counted as your revenue

    On high-duty markets this can be a fifth of the order total. It never reaches you, it is not margin, and including it makes exactly the most expensive markets look like the best performers.

  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.

Zonos → BigQuery · the fix

What working looks like — Zonos → BigQuery

  • Whatever join key you decide on on every order

  • 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

Zonos → BigQuery · architecture

How Zonos and BigQuery actually connect

  1. 1

    Zonos holds the truth

    Prepaid duty sits inside the order total and belongs to a government, not to you. Including it in conversion value inflates international revenue by the duty rate of each market.

  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 Zonos landed-cost order.

  4. 4

    The event source decides reliability

    Send orders at merchandise value, excluding prepaid duties and taxes.

  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.

Zonos → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the order

  • Sent from the order record with the Zonos duty breakdown

  • 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

    Landed-cost calculation runs at checkout and can change the displayed total after the identifier was captured.

  • Sent from the browser

    On high-duty markets this can be a fifth of the order total. It never reaches you, it is not margin, and including it makes exactly the most expensive markets look like the best performers.

  • 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

Zonos → BigQuery · diagnose

Diagnostic order — Zonos → BigQuery

  1. 01

    Count orders carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether prepaid duty is inside the conversion value

    If the value matches the customer's total, it almost certainly is.

  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.

Zonos → BigQuery · prove

How it gets proven — Zonos → BigQuery

Source of truth

Orders net of prepaid duties and taxes, by destination.

  • Whatever join key you decide on confirmed present on a live order.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Merchandise-value revenue reconciled per market against imported conversions, with duty excluded.

Zonos → BigQuery · free audit

What we check in the free audit

  • Count orders carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Check whether prepaid duty is inside the conversion value
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Orders net of prepaid duties and taxes, by destination.

Get my free conversion tracking audit

Free30 minutesNo obligation

Zonos → BigQuery · when not to buy

When you don't need this — Zonos → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key you decide on.
  • Domestic-only sellers have no duty component and none of this applies.
  • 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.

Zonos → BigQuery · what we deliver

What gets built — Zonos → BigQuery

  • Identifier capture into Zonos

    Capture on landing and record the duty component separately on the order so it can be excluded from value.

  • Event source: the order record with the Zonos duty breakdown

    Send orders at merchandise value, excluding prepaid duties and taxes.

  • 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

    Returns reverse the merchandise value; recovering duty is a separate and often unsuccessful process.

Written guarantee

95%+ tracking accuracy

Measured against Orders net of prepaid duties and taxes, by destination.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Zonos → BigQuery questions, answered

Check whether your Zonos plan exposes order data by API, webhook or export, and whether your store platform already records the duty and tax split. Load the components as separate columns, never as one total.

Free · 30 min

Get Zonos and BigQuery joined properly

Free30 minutesNo obligation