Connecting Zonos to Segment
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. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Zonos landed-cost order before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Zonos through Segment: Order Completed with duty out of revenue
Send Segment Order Completed server-side from the Zonos order record, with revenue as merchandise value, prepaid duty and import tax in tax and included in total, order_id and a derived messageId. Add duty, Zonos fees and destination country as custom properties. Check each destination's value mapping, and pick one currency approach, since Segment does not convert.
Segment's ecommerce spec already has the fields a Zonos order needs, and the risk is in how destinations read them. Order Completed carries revenue, total, shipping, tax, discount and currency separately. Put prepaid duty and import tax in tax and include them in total, and keep revenue as merchandise value only. Then check each connected destination's mapping, because some read total, some revenue and some a value field of their own, and one wrong mapping sends duty-inclusive value to that platform alone.
Duty and Zonos fees are worth sending as their own custom properties too, alongside destination country. The spec's tax field mixes them with ordinary sales tax, and the warehouse copy of the event is where someone will later want to separate them by market.
Currency is the other fan-out hazard. Segment forwards the currency code you send; it does not convert, and destinations handle multiple currencies differently or not at all. Pick one approach and keep it: send everything in your reporting currency with the shopper's currency as a property, or send the shopper's currency only to destinations confirmed to convert it. Fire the event server-side from the order record that holds the Zonos breakdown, with the order ID in order_id and a messageId derived from it.
Zonos → Segment · what breaks
Why this join usually fails — Zonos → Segment
- 01
The userId and anonymousId never reaches Zonos
Landed-cost calculation runs at checkout and can change the displayed total after the identifier was captured.
- 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.
- 03
One bad event multiplied across every destination
Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.
- 04
Nothing reconciles afterwards
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
Zonos → Segment · the fix
What working looks like — Zonos → Segment
The userId and anonymousId on every order
Conversions arriving in Segment
Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.
Reconciled against the source
Zonos → Segment · architecture
How Zonos and Segment actually connect
- 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
Segment needs a click to match
Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.
- 3
The identifier is the bridge
The userId and anonymousId, captured at the visit and carried into the Zonos landed-cost order.
- 4
The event source decides reliability
Send orders at merchandise value, excluding prepaid duties and taxes.
- 5
Deduplication at the destination
Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.
Zonos → Segment · normal or broken
Working vs. broken, side by side — Zonos → Segment
Normal, not a fault
The userId and anonymousId present on the order
Sent from the order record with the Zonos duty breakdown
Deduplicated correctly
Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.
Reconciles with the source
Actually broken
The userId and anonymousId 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
Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.
Nobody has reconciled it
Zonos → Segment · diagnose
Diagnostic order — Zonos → Segment
- 01
Count orders carrying the userId and anonymousId
- 02
Follow one real conversion end to end
- 03
Check whether prepaid duty is inside the conversion value
If the value matches the customer's total, it almost certainly is.
- 04
Check identity resolution before checking anything downstream
If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.
- 05
Read the match rate, not the success message
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
Zonos → Segment · prove
How it gets proven — Zonos → Segment
Source of truth
Orders net of prepaid duties and taxes, by destination.
- The userId and anonymousId confirmed present on a live order.
- An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
- Merchandise-value revenue reconciled per market against imported conversions, with duty excluded.
Zonos → Segment · free audit
What we check in the free audit
- Count orders carrying the userId and anonymousId
- Follow one real conversion end to end
- Check whether prepaid duty is inside the conversion value
- Check identity resolution before checking anything downstream
- Read the match rate, not the success message
Checked against
Orders net of prepaid duties and taxes, by destination.
Free30 minutesNo obligation
Zonos → Segment · when not to buy
When you don't need this — Zonos → Segment
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the userId and anonymousId.
- Domestic-only sellers have no duty component and none of this applies.
- If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.
Zonos → Segment · what we deliver
What gets built — Zonos → Segment
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 Segment
Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.
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.
From $400 · See packages
FAQ
Zonos → Segment questions, answered
Put duties and import taxes in tax and include them in total, keeping revenue as merchandise only. Then check each destination's mapping, since some read total.
No. Segment forwards the currency code you send, and each destination converts in its own way, if at all. Send a consistent currency or convert before the track call.
Almost always because the userId and anonymousId never reached the Zonos landed-cost order. Landed-cost calculation runs at checkout and can change the displayed total after the identifier was captured. Measure coverage before debugging the dispatch.
Segment identifies people by anonymousId before they are known and userId afterwards, and the alias between them is what stitches a session to a customer. Click identifiers travel as event properties or traits rather than as a matching key — Segment does not match anything itself, it forwards. That distinction changes the whole design: get the identity resolution right and every downstream destination inherits it.
The order record with the Zonos duty breakdown. Send orders at merchandise value, excluding prepaid duties and taxes.
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
More on Zonos → Segment
- Stripe → SegmentConnecting Stripe to Segment
- PayPal → SegmentConnecting PayPal to Segment
- Shopify → SegmentConnecting Shopify to Segment
RELATED GUIDES
Where Zonos → Segment fits in the rest of your tracking
- Global-e → SegmentConnecting Global-e to Segment
- Flow → SegmentConnecting Flow Commerce to Segment
- Zonos → BigQueryConnecting Zonos to BigQuery
- Jewelry ecommerceConversion tracking for jewelry ecommerce, measured in settled orders
- Flow → SnowflakeConnecting Flow Commerce to Snowflake
- Flow → BigQueryConnecting Flow Commerce to BigQuery
- Global-e → BigQueryConnecting Global-e to BigQuery
- Global-e → SnowflakeConnecting Global-e to Snowflake
Free · 30 min
Get Zonos and Segment joined properly
Free30 minutesNo obligation
