Connecting Umbraco to Amplitude
Umbraco is a .NET CMS common in mid-market and enterprise European organisations, which means IT governance is usually the binding constraint rather than technology. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the Umbraco Commerce order before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Umbraco Commerce and Amplitude: revenue with price and quantity
Post Umbraco Commerce purchases from the .NET order-finalized notification to Amplitude's HTTP V2 API, with price and quantity per line item, product reference, currency and the order number as insert_id. Read the Amplitude device ID at checkout into an order property, use the member key as user ID, and send refunds as negative revenue.
Amplitude only sees revenue if the event carries it in the fields Amplitude reads, and that is the failure most likely for an Umbraco Commerce build. Post the purchase from the .NET order-finalized notification handler to the HTTP V2 API, with price and quantity on each line item, the product reference, currency, and the order number as insert_id.
Identity needs one extra step on Umbraco. Pages are often cached at the edge, so the server never sees the visitor until checkout. Read the Amplitude device ID from the browser SDK during checkout, write it to an order property, and use it in the server event; for logged-in members, send your member key as the user ID. Without that, the purchase lands on a new anonymous user and every funnel breaks at the last step.
Refunds and cancellations are recorded as order state changes in Umbraco Commerce; send them as negative revenue events tied to the same user, so cohort revenue stays honest. Because releases go through change control, test the whole flow on staging with a cached page before the deployment window, not after.
Umbraco → Amplitude · what breaks
Why this join usually fails — Umbraco → Amplitude
- 01
The user ID and device ID pair never reaches Umbraco
Output caching and CDN layers sit in front of most Umbraco deployments, and the deployment process itself frequently prevents quick iteration, which means getting the capture right the first time matters more here.
- 02
Change control, not technology
The build is straightforward and the release cycle is not. Scope the deployment process before committing to a timeline, because in this segment it is the schedule.
- 03
Revenue events that carry no revenue
Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.
- 04
Nothing reconciles afterwards
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
Umbraco → Amplitude · the fix
What working looks like — Umbraco → Amplitude
The user ID and device ID pair on every order
Conversions arriving in Amplitude
The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.
Reconciled against the source
Umbraco → Amplitude · architecture
How Umbraco and Amplitude actually connect
- 1
Umbraco holds the truth
You own the database. What you may not own is the release process — Umbraco sites in this segment often sit behind change control that adds weeks to any modification.
- 2
Amplitude needs a click to match
Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.
- 3
The identifier is the bridge
The user ID and device ID pair, captured at the visit and carried into the Umbraco Commerce order.
- 4
The event source decides reliability
Fire from the .NET notification handler rather than a view, which may be cached at the edge.
- 5
Deduplication at the destination
Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.
Umbraco → Amplitude · normal or broken
Working vs. broken, side by side — Umbraco → Amplitude
Normal, not a fault
The user ID and device ID pair present on the order
Sent from the Umbraco Commerce order-finalised notification
Deduplicated correctly
Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.
Reconciles with the source
Actually broken
The user ID and device ID pair missing on most records
Output caching and CDN layers sit in front of most Umbraco deployments, and the deployment process itself frequently prevents quick iteration, which means getting the capture right the first time matters more here.
Sent from the browser
The build is straightforward and the release cycle is not. Scope the deployment process before committing to a timeline, because in this segment it is the schedule.
Counted twice, or not at all
Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.
Nobody has reconciled it
Umbraco → Amplitude · diagnose
Diagnostic order — Umbraco → Amplitude
- 01
Count orders carrying the user ID and device ID pair
- 02
Follow one real conversion end to end
- 03
Establish the deployment and change-control process first
It determines the timeline more than any technical question here.
- 04
Check a purchase event for the price and quantity fields specifically
Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.
- 05
Read the match rate, not the success message
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
Umbraco → Amplitude · prove
How it gets proven — Umbraco → Amplitude
Source of truth
Umbraco Commerce's order records in your own database, at agreed order states.
- The user ID and device ID pair confirmed present on a live order.
- Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
- Order data confirmed populated on an order placed through the CDN as an anonymous visitor.
Umbraco → Amplitude · free audit
What we check in the free audit
- Count orders carrying the user ID and device ID pair
- Follow one real conversion end to end
- Establish the deployment and change-control process first
- Check a purchase event for the price and quantity fields specifically
- Read the match rate, not the success message
Checked against
Umbraco Commerce's order records in your own database, at agreed order states.
Free30 minutesNo obligation
Umbraco → Amplitude · when not to buy
When you don't need this — Umbraco → Amplitude
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the user ID and device ID pair.
- If the site is maintained by an internal IT team on a quarterly release cycle, plan the engagement around that rather than around the code.
- If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.
Umbraco → Amplitude · what we deliver
What gets built — Umbraco → Amplitude
Identifier capture into Umbraco
Capture the identifier and persist it to the order through a server-side notification handler in the application.
Event source: the Umbraco Commerce order-finalised notification
Fire from the .NET notification handler rather than a view, which may be cached at the edge.
Dispatch to Amplitude
The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.
Reversals where they exist
Order state changes to refunded or cancelled are recorded.
Written guarantee
95%+ tracking accuracy
Measured against Umbraco Commerce's order records in your own database, at agreed order states.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Umbraco → Amplitude questions, answered
Post from the .NET order-finalized handler to Amplitude's HTTP V2 API with price, quantity, product IDs and the order number as insert_id.
The server event is missing the browser's device ID. Write it to an order property at checkout and use it when sending.
Almost always because the user ID and device ID pair never reached the Umbraco Commerce order. Output caching and CDN layers sit in front of most Umbraco deployments, and the deployment process itself frequently prevents quick iteration, which means getting the capture right the first time matters more here. Measure coverage before debugging the dispatch.
Amplitude tracks both a device ID and a user ID and merges them when a user identifies. The merge rules decide who counts as one person, so a mistake here does not produce a small error — it changes every retention curve and cohort size in the account.
The Umbraco Commerce order-finalised notification. Fire from the .NET notification handler rather than a view, which may be cached at the edge.
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
More on Umbraco → Amplitude
- Umbraco → Google AdsConnecting Umbraco to Google Ads
- Umbraco → MetaConnecting Umbraco to Meta Conversions API
- Umbraco → GA4Connecting Umbraco to GA4
RELATED GUIDES
Where Umbraco → Amplitude fits in the rest of your tracking
- Drupal Commerce → AmplitudeConnecting Drupal Commerce to Amplitude
- Duda → AmplitudeConnecting Duda to Amplitude
- Contentful → AmplitudeConnecting Contentful to Amplitude
- Umbraco → GA4Connecting Umbraco to GA4
- Umbraco → MatomoConnecting Umbraco to Matomo
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Sitecore → AmplitudeConnecting Sitecore to Amplitude
- Craft → AmplitudeConnecting Craft CMS to Amplitude
Free · 30 min
Get Umbraco and Amplitude joined properly
Free30 minutesNo obligation
