Skip to main content
CartStack → AmplitudeIntegration guide

Connecting CartStack to Amplitude

CartStack recovers abandoned carts and abandoned browsing sessions, which means it can claim orders from visitors who never added anything to a cart at all. 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 CartStack recovered 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

CartStack recoveries in Amplitude: keep revenue and device ID intact

A CartStack recovery usually opens on a new device, so identify the shopper at checkout with your store's user ID so Amplitude merges devices. Send the order server-side from the store, not CartStack, with price, quantity, a recovered property, the recovery channel and order ID as insert_id. Store the original acquisition source as a user property before abandonment.

In Amplitude, a recovered order is a revenue event, and it has to land on the same person who abandoned. The abandoner was tracked by the browser SDK under a device ID. The recovery link usually opens days later in a phone's mail app, which means a new device ID. If you identify the shopper at checkout with the same user ID your store already uses, Amplitude merges the two devices and the recovery path shows up as one journey. If you don't, the abandonment and the purchase land on two different users, and recovery-rate cohorts come out empty.

Send the order server-side from the store's order record, not from CartStack. Give it Amplitude's price and quantity fields, plus an event property like recovered: true and the recovery channel (email or SMS). Use the order ID as the insert_id. Recovery flows often re-trigger webhooks when a shopper clicks the link twice, and insert_id stops a retried order from counting twice.

The useful analysis is a comparison: revenue from first-pass checkouts versus recovered ones, split by original acquisition source. That only works if the source captured on the first visit was stored as a user property before the cart was abandoned. Set it then, not at checkout, or every recovered order inherits the email channel as its origin.

CartStack → Amplitude · what breaks

Why this join usually fails — CartStack → Amplitude

  1. 01

    The user ID and device ID pair never reaches CartStack

    Recovery emails are opened days later on other devices, arriving as fresh sessions.

  2. 02

    Browse abandonment claiming credit for the original visit

    Recovering a browser who never added to cart means claiming an order from someone your advertising brought and your email finished. Both contributed, and only one gets reported without persistence.

  3. 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.

  4. 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.

CartStack → Amplitude · the fix

What working looks like — CartStack → Amplitude

  • The user ID and device ID pair on every recovery

  • 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

CartStack → Amplitude · architecture

How CartStack and Amplitude actually connect

  1. 1

    CartStack holds the truth

    Browse abandonment recovery reaches people who looked and left. Attributing their eventual purchase entirely to the recovery email ignores whatever brought them the first time.

  2. 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. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the CartStack recovered order.

  4. 4

    The event source decides reliability

    Send orders with a flag for recovered versus first-pass, so both channels are visible.

  5. 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.

CartStack → Amplitude · normal or broken

Working vs. broken, side by side — CartStack → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the recovery

  • Sent from your order record with recovery attribution

  • 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

    Recovery emails are opened days later on other devices, arriving as fresh sessions.

  • Sent from the browser

    Recovering a browser who never added to cart means claiming an order from someone your advertising brought and your email finished. Both contributed, and only one gets reported without persistence.

  • 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

CartStack → Amplitude · diagnose

Diagnostic order — CartStack → Amplitude

  1. 01

    Count recoverys carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether recovered orders retain their original acquisition source

    If they show as email or direct, paid is undercounted by your recovery rate.

  4. 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.

  5. 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.

CartStack → Amplitude · prove

How it gets proven — CartStack → Amplitude

Source of truth

Store orders flagged by whether a recovery message preceded them.

  • The user ID and device ID pair confirmed present on a live recovery.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Orders reconciled with recovery flagged and original source retained.

CartStack → Amplitude · free audit

What we check in the free audit

  • Count recoverys carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Check whether recovered orders retain their original acquisition source
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Store orders flagged by whether a recovery message preceded them.

Get my free conversion tracking audit

Free30 minutesNo obligation

CartStack → Amplitude · when not to buy

When you don't need this — CartStack → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred recoverys and count how many carry the user ID and device ID pair.
  • No recovery programme means no double-claim and this is an ordinary store integration.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

CartStack → Amplitude · what we deliver

What gets built — CartStack → Amplitude

  • Identifier capture into CartStack

    Persist the identifier against the abandoned session so a recovered order still resolves to the original source.

  • Event source: your order record with recovery attribution

    Send orders with a flag for recovered versus first-pass, so both channels are visible.

  • Dispatch to Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • Reversals where they exist

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by whether a recovery message preceded them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CartStack → Amplitude questions, answered

Send the store's order to Amplitude server-side with price, quantity and a recovered property, keyed to the same user ID the browser uses. CartStack itself is just the trigger. The order record is the source of truth.

Free · 30 min

Get CartStack and Amplitude joined properly

Free30 minutesNo obligation