Connecting Sitecore to Amplitude
Sitecore is enterprise digital experience software with its own personalisation and analytics stack, which frequently competes with rather than complements the measurement you are trying to build. 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 Sitecore contact and 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
Sitecore and Amplitude: two identity models, pick one key
Use your own customer ID, not the Sitecore contact ID, as Amplitude's user_id, set client-side from an authenticated call so cached pages cannot leak it. Load the browser SDK in the layout for every variant, send purchases server-side from the commerce layer with order ID as insert_id, and add the personalization variant as an event property.
Sitecore XP tracks contacts in its own experience database for personalization; Amplitude tracks people by device ID and user ID for cohorts. Both want to be the identity for the same visitor, and their IDs mean nothing to each other. Do not use the Sitecore contact ID as Amplitude's user_id. Use your own customer or account ID from the commerce or login system, which both can reference.
Load the Amplitude browser SDK in the layout so it runs on every page regardless of personalization variant, and send purchases server-side from the commerce layer with the order ID as insert_id, price and quantity per line, and the same user_id the browser set at login. Add the personalization variant or test the visitor saw as an event property, so Amplitude can compare outcomes by variant independently of Sitecore's own reporting.
Caching produces the classic trap. If the Amplitude user_id is written into page markup server-side, a cached page can serve one customer's ID to the next visitor, and Amplitude merges two strangers into one user permanently. Set identity client-side from an authenticated call, never from cached HTML. Expect Sitecore's goal counts and Amplitude's event counts to differ; they count different things for different purposes.
Sitecore → Amplitude · what breaks
Why this join usually fails — Sitecore → Amplitude
- 01
The user ID and device ID pair never reaches Sitecore
Sitecore's personalisation can vary page output per visitor, its analytics identity model is separate from any ad platform's, and enterprise deployments sit behind multiple caching and CDN layers.
- 02
Two analytics systems answering different questions
Sitecore's experience analytics and your ad platform reporting will never agree because they measure different things. Trying to reconcile them wastes weeks.
- 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.
Sitecore → Amplitude · the fix
What working looks like — Sitecore → 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
Sitecore → Amplitude · architecture
How Sitecore and Amplitude actually connect
- 1
Sitecore holds the truth
Sitecore's experience database tracks contacts and interactions for personalisation. It is not a conversion source for ad platforms and its numbers will not match theirs, by design.
- 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 Sitecore contact and order.
- 4
The event source decides reliability
Send from the commerce layer. Sitecore's own goal and event tracking serves personalisation and should not be wired to ad platforms.
- 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.
Sitecore → Amplitude · normal or broken
Working vs. broken, side by side — Sitecore → Amplitude
Normal, not a fault
The user ID and device ID pair present on the order
Sent from your commerce system's order event
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
Sitecore's personalisation can vary page output per visitor, its analytics identity model is separate from any ad platform's, and enterprise deployments sit behind multiple caching and CDN layers.
Sent from the browser
Sitecore's experience analytics and your ad platform reporting will never agree because they measure different things. Trying to reconcile them wastes weeks.
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
Sitecore → Amplitude · diagnose
Diagnostic order — Sitecore → Amplitude
- 01
Count orders carrying the user ID and device ID pair
- 02
Follow one real conversion end to end
- 03
Separate Sitecore's personalisation analytics from conversion measurement
They are different systems for different purposes. Conflating them is the standard mistake in this stack.
- 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.
Sitecore → Amplitude · prove
How it gets proven — Sitecore → Amplitude
Source of truth
Your commerce or CRM system — Sitecore's own analytics database answers a different question.
- 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.
- Conversions confirmed sourced from the commerce system rather than from Sitecore's experience database.
Sitecore → 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
- Separate Sitecore's personalisation analytics from conversion measurement
- Check a purchase event for the price and quantity fields specifically
- Read the match rate, not the success message
Checked against
Your commerce or CRM system — Sitecore's own analytics database answers a different question.
Free30 minutesNo obligation
Sitecore → Amplitude · when not to buy
When you don't need this — Sitecore → Amplitude
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the user ID and device ID pair.
- If your Sitecore implementation is content-only with commerce elsewhere, work at the commerce layer entirely.
- If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.
Sitecore → Amplitude · what we deliver
What gets built — Sitecore → Amplitude
Identifier capture into Sitecore
Capture the identifier server-side in the application and persist it to the commerce order, keeping it separate from Sitecore's own contact identity model.
Event source: your commerce system's order event
Send from the commerce layer. Sitecore's own goal and event tracking serves personalisation and should not be wired to ad platforms.
Dispatch to Amplitude
The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.
Reversals where they exist
Handled at the commerce layer.
Written guarantee
95%+ tracking accuracy
Measured against Your commerce or CRM system — Sitecore's own analytics database answers a different question.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Sitecore → Amplitude questions, answered
No. Use your own customer or account ID from login or commerce; the Sitecore contact ID belongs to Sitecore's personalization model.
Send the variant the visitor saw as an event property, then split Amplitude funnels on it, independently of Sitecore's goal reporting.
Almost always because the user ID and device ID pair never reached the Sitecore contact and order. Sitecore's personalisation can vary page output per visitor, its analytics identity model is separate from any ad platform's, and enterprise deployments sit behind multiple caching and CDN layers. 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.
Your commerce system's order event. Send from the commerce layer. Sitecore's own goal and event tracking serves personalisation and should not be wired to ad platforms.
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 Sitecore → Amplitude
- Sitecore → Google AdsConnecting Sitecore to Google Ads
- Sitecore → MetaConnecting Sitecore to Meta Conversions API
- Sitecore → GA4Connecting Sitecore to GA4
RELATED GUIDES
Where Sitecore → Amplitude fits in the rest of your tracking
- Sanity → AmplitudeConnecting Sanity to Amplitude
- Concrete CMS → AmplitudeConnecting Concrete CMS to Amplitude
- AEM → AmplitudeConnecting Adobe Experience Manager to Amplitude
- Sitecore → MatomoConnecting Sitecore to Matomo
- Sitecore → Adobe AnalyticsConnecting Sitecore to Adobe Analytics
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Webflow → AmplitudeConnecting Webflow to Amplitude
- Contentful → AmplitudeConnecting Contentful to Amplitude
Free · 30 min
Get Sitecore and Amplitude joined properly
Free30 minutesNo obligation
