Skip to main content
Easyship → BigQueryIntegration guide

Connecting Easyship to BigQuery

Easyship is built for cross-border shipping, where duties, taxes and customs make the difference between the price a customer paid and what you keep genuinely unpredictable. 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 Easyship shipment 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

Easyship in BigQuery: estimated vs final landed cost per order

Load store orders with checkout click identifiers, Easyship shipments keyed on the store order reference, and landed-cost records into BigQuery. Keep the label-time estimate and final settled cost as separate timestamped rows, store both currencies and the rate date, and record who prepaid duties. Aggregate landed cost to the order before joining, because split shipments double revenue.

BigQuery suits this source because Easyship's numbers change after the fact and you need both versions. Load three tables: store orders with the click identifiers captured at checkout, Easyship shipments keyed on the store order reference, and landed-cost records per shipment. Check which field in your Easyship data holds the store's order number, because that is the join, and it is sometimes the platform order name rather than the internal ID.

Do not overwrite the estimate. Keep the cost quoted when the label was bought and the final figure once duties and taxes settle as separate rows with timestamps. The gap between them, per country, tells you which markets you are mispricing at checkout. Store currency carefully: Easyship may bill in your account currency while the order was paid in the customer's, so keep both amounts and the rate date. Record whether each shipment's duties were prepaid by you or collected from the recipient.

The most common query bug here is split shipments. One order shipped in two parcels produces two shipment rows, and joining orders to shipments one-to-one doubles that order's revenue. Aggregate landed cost to the order first, then join. After that, contribution margin per country per campaign is straightforward. Reconcile against Easyship's invoices for a closed month and check for duplicate shipment IDs before trusting it.

Easyship → BigQuery · what breaks

Why this join usually fails — Easyship → BigQuery

  1. 01

    Whatever join key you decide on never reaches Easyship

    Duties and taxes are frequently determined after dispatch, so the true cost of an order can settle weeks later.

  2. 02

    One margin figure across very different markets

    A campaign performing well in a nearby market and badly in a distant one will average to acceptable, and the budget will keep flowing to both.

  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.

Easyship → BigQuery · the fix

What working looks like — Easyship → BigQuery

  • Whatever join key you decide on on every shipment

  • 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

Easyship → BigQuery · architecture

How Easyship and BigQuery actually connect

  1. 1

    Easyship holds the truth

    Cross-border economics differ by country far more than by campaign. A single blended margin figure across markets describes none of them.

  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 Easyship shipment.

  4. 4

    The event source decides reliability

    Send contribution margin by destination country, so per-market performance is readable.

  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.

Easyship → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the shipment

  • Sent from your order system, enriched with landed cost

  • 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

    Duties and taxes are frequently determined after dispatch, so the true cost of an order can settle weeks later.

  • Sent from the browser

    A campaign performing well in a nearby market and badly in a distant one will average to acceptable, and the budget will keep flowing to both.

  • 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

Easyship → BigQuery · diagnose

Diagnostic order — Easyship → BigQuery

  1. 01

    Count shipments carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Split contribution margin by destination country

    The variation is usually large enough to change which markets you advertise in at all.

  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.

Easyship → BigQuery · prove

How it gets proven — Easyship → BigQuery

Source of truth

Orders joined to landed cost — shipping plus duties and taxes — by destination country.

  • Whatever join key you decide on confirmed present on a live shipment.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Orders reconciled at landed-cost margin per country against imported conversions.

Easyship → BigQuery · free audit

What we check in the free audit

  • Count shipments carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Split contribution margin by destination country
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Orders joined to landed cost — shipping plus duties and taxes — by destination country.

Get my free conversion tracking audit

Free30 minutesNo obligation

Easyship → BigQuery · when not to buy

When you don't need this — Easyship → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred shipments and count how many carry whatever join key you decide on.
  • Domestic-only sellers do not have this problem and a flat shipping assumption will serve them fine.
  • 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.

Easyship → BigQuery · what we deliver

What gets built — Easyship → BigQuery

  • Identifier capture into Easyship

    Join on the order and update the margin when landed cost is final, rather than reporting the estimate.

  • Event source: your order system, enriched with landed cost

    Send contribution margin by destination country, so per-market performance is readable.

  • 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, and cross-border returns cost more than domestic ones.

Written guarantee

95%+ tracking accuracy

Measured against Orders joined to landed cost — shipping plus duties and taxes — by destination country.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Easyship → BigQuery questions, answered

Check which API, webhook or export options your Easyship plan provides, land the raw records in a staging table, and keep each cost update as a new row rather than an overwrite.

Free · 30 min

Get Easyship and BigQuery joined properly

Free30 minutesNo obligation