Connecting Zonos to PostHog
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. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Zonos landed-cost order before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Zonos in PostHog: measure the duty reveal, not just the order
PostHog's value for a Zonos store is the checkout funnel. Capture the landed-cost quote as an event with destination country, merchandise subtotal, duty, tax and currency on the browser's distinct_id. Send the completed order server-side with the same distinct_id, order ID for deduplication and duty as its own property, and merge anonymous and identified IDs when email is captured.
PostHog's value for a Zonos store is not attribution but the funnel inside checkout. The landed-cost quote is the moment an international shopper learns the real price, and it is the step most likely to lose them. Capture it as its own event with the destination country, merchandise subtotal, duty and tax amounts and currency, keyed to the same distinct_id the browser uses, and you can see which markets abandon at the reveal.
Send the completed order server-side with that distinct_id, the order ID as the event UUID or a property you deduplicate on, and properties that separate merchandise value from duty. Keeping the duty as its own property lets you chart revenue both ways and catch any dashboard that quietly sums the total.
The identity join is the part to test. If the shopper is identified by email partway through checkout, PostHog needs the anonymous and identified distinct_ids merged, or the quote event and the order sit on two different people and the funnel shows everyone leaving at the duty step. On a self-hosted instance, also confirm ingestion is keeping up during international sale periods, when event volume and the stakes of missing data both peak.
Zonos → PostHog · what breaks
Why this join usually fails — Zonos → PostHog
- 01
The distinct_id 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
Self-hosting the analytics and the outage together
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
- 04
Nothing reconciles afterwards
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
Zonos → PostHog · the fix
What working looks like — Zonos → PostHog
The distinct_id on every order
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Zonos → PostHog · architecture
How Zonos and PostHog 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
PostHog needs a click to match
PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.
- 3
The identifier is the bridge
The distinct_id, 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
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
Zonos → PostHog · normal or broken
Working vs. broken, side by side — Zonos → PostHog
Normal, not a fault
The distinct_id present on the order
Sent from the order record with the Zonos duty breakdown
Deduplicated correctly
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
Reconciles with the source
Actually broken
The distinct_id 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
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
Nobody has reconciled it
Zonos → PostHog · diagnose
Diagnostic order — Zonos → PostHog
- 01
Count orders carrying the distinct_id
- 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 ingestion health and disk before debugging any missing event
On self-hosted instances the answer is infrastructure far more often than it is instrumentation.
- 05
Read the match rate, not the success message
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
Zonos → PostHog · prove
How it gets proven — Zonos → PostHog
Source of truth
Orders net of prepaid duties and taxes, by destination.
- The distinct_id confirmed present on a live order.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- Merchandise-value revenue reconciled per market against imported conversions, with duty excluded.
Zonos → PostHog · free audit
What we check in the free audit
- Count orders carrying the distinct_id
- Follow one real conversion end to end
- Check whether prepaid duty is inside the conversion value
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Orders net of prepaid duties and taxes, by destination.
Free30 minutesNo obligation
Zonos → PostHog · when not to buy
When you don't need this — Zonos → PostHog
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the distinct_id.
- Domestic-only sellers have no duty component and none of this applies.
- If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.
Zonos → PostHog · what we deliver
What gets built — Zonos → PostHog
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 PostHog
The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.
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 → PostHog questions, answered
Track the landed-cost quote as a PostHog event with country and duty amount, then build a funnel from quote to order broken down by country. A sharp drop in one market points to its duty level.
The quote and the order are probably on different distinct_ids. Make sure the anonymous ID is merged when the shopper is identified at checkout.
Almost always because the distinct_id 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.
PostHog identifies by distinct_id with an alias call to merge anonymous and identified users. On a self-hosted instance you also control the ingestion endpoint, which means the identifier survives ad blockers that would kill a third-party pixel — one of the few genuine technical advantages available to a first-party setup.
The order record with the Zonos duty breakdown. Send orders at merchandise value, excluding prepaid duties and taxes.
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
More on Zonos → PostHog
- Stripe → PostHogConnecting Stripe to PostHog
- PayPal → PostHogConnecting PayPal to PostHog
- Shopify → PostHogConnecting Shopify to PostHog
RELATED GUIDES
Where Zonos → PostHog fits in the rest of your tracking
- Flow → PostHogConnecting Flow Commerce to PostHog
- Global-e → PostHogConnecting Global-e to PostHog
- Zonos → AmplitudeConnecting Zonos to Amplitude
- Zonos → MatomoConnecting Zonos to Matomo
- Jewelry ecommerceConversion tracking for jewelry ecommerce, measured in settled orders
- Flow → MatomoConnecting Flow Commerce to Matomo
- Global-e → MixpanelConnecting Global-e to Mixpanel
- Global-e → GA4Connecting Global-e to GA4
Free · 30 min
Get Zonos and PostHog joined properly
Free30 minutesNo obligation
