Skip to main content
BigCommerce → AmplitudeIntegration guide

Connecting BigCommerce to Amplitude

BigCommerce is a hosted store with an unusually open API, which makes it one of the easier ecommerce platforms to instrument properly. 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 BigCommerce 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

BigCommerce to Amplitude: guest orders, device IDs and revenue fields

Guest BigCommerce orders carry customer ID zero, which must never become Amplitude's user ID. Read the Amplitude device ID on the storefront, write it into the cart, and send the order from the webhook handler server-side with per-line price and quantity and an insert_id built from the BigCommerce order ID. Turn off any duplicate Amplitude source.

Amplitude merges a device ID into a user ID, and BigCommerce only gives you a real user ID for shoppers who log in. Guest orders carry a customer ID of zero, which is not an identity and must never be passed as Amplitude's user ID. For guests, the device ID is the link, and you decide deliberately whether a later account or your own customer key becomes the user ID.

That device ID has to cross the checkout the same way an ad click ID does. Load the Amplitude browser SDK on the storefront through Script Manager, read its device ID, and write it into the cart next to any click identifiers so the order webhook handler can read it back. On the hosted checkout the SDK may never see the payment step, so the server-side order event is the purchase record, not a browser event fired on a page that sometimes loads.

When the webhook handler posts the order, send price and quantity per line item (or revenue with a revenue type) so Amplitude's revenue charts are not empty, and build insert_id from the BigCommerce order ID so a retried webhook does not double it. A refund recorded against the original order can go in as a negative revenue event on the same user. Check whether an Amplitude source or BigCommerce app already sends orders before writing your own, and turn one off if both run.

BigCommerce → Amplitude · what breaks

Why this join usually fails — BigCommerce → Amplitude

  1. 01

    The user ID and device ID pair never reaches BigCommerce

    BigCommerce offers both a hosted checkout and an embedded one, and which you use changes whether your storefront scripts run during checkout. On the hosted flow the identifier has to travel through the cart rather than through a cookie.

  2. 02

    Two checkout modes with different script access

    Hosted and embedded checkout behave differently, and a setup built for one silently misses conversions on the other.

  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.

BigCommerce → Amplitude · the fix

What working looks like — BigCommerce → 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

BigCommerce → Amplitude · architecture

How BigCommerce and Amplitude actually connect

  1. 1

    BigCommerce holds the truth

    The order carries line items, tax, shipping and currency. Decide whether you report the order total or a net figure before comparing anything, because most BigCommerce discrepancies are two people using two definitions.

  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 BigCommerce order.

  4. 4

    The event source decides reliability

    Send when the order status reaches paid, from your server. This covers wallet checkouts and customers who never reach the confirmation page.

  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.

BigCommerce → Amplitude · normal or broken

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

Normal, not a fault

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

  • Sent from the BigCommerce order webhook

  • 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

    BigCommerce offers both a hosted checkout and an embedded one, and which you use changes whether your storefront scripts run during checkout. On the hosted flow the identifier has to travel through the cart rather than through a cookie.

  • Sent from the browser

    Hosted and embedded checkout behave differently, and a setup built for one silently misses conversions on the other.

  • 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

BigCommerce → Amplitude · diagnose

Diagnostic order — BigCommerce → Amplitude

  1. 01

    Count orders carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm which checkout mode the store uses

    Then test a purchase on that mode specifically rather than on whichever one is convenient.

  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.

BigCommerce → Amplitude · prove

How it gets proven — BigCommerce → Amplitude

Source of truth

BigCommerce's order list for the same window, at an agreed value definition.

  • 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.
  • A purchase through the store's actual checkout mode confirmed to carry the identifier onto the order.

BigCommerce → 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
  • Confirm which checkout mode the store uses
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

BigCommerce's order list for the same window, at an agreed value definition.

Get my free conversion tracking audit

Free30 minutesNo obligation

BigCommerce → Amplitude · when not to buy

When you don't need this — BigCommerce → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the user ID and device ID pair.
  • BigCommerce's native channel integrations are decent for simple single-currency stores. If your admin and platform numbers already agree, leave it.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

BigCommerce → Amplitude · what we deliver

What gets built — BigCommerce → Amplitude

  • Identifier capture into BigCommerce

    Capture the identifier on the storefront and write it to the order through a cart custom field, then read it back server-side from the order.

  • Event source: the BigCommerce order webhook

    Send when the order status reaches paid, from your server. This covers wallet checkouts and customers who never reach the confirmation page.

  • Dispatch to Amplitude

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

  • Reversals where they exist

    Refunds are recorded against the original order, so reversals are straightforward.

Written guarantee

95%+ tracking accuracy

Measured against BigCommerce's order list for the same window, at an agreed value definition.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

BigCommerce → Amplitude questions, answered

Usually the server-side order event carries no device ID, or a user ID the browser never set. Pass the storefront device ID through the cart onto the order and send it with the event.

Free · 30 min

Get BigCommerce and Amplitude joined properly

Free30 minutesNo obligation