Skip to main content
SamCart → Customer.ioIntegration guide

Connecting SamCart to Customer.io

SamCart is a checkout platform built for conversion optimisation, which means order bumps and upsells are the point — and they complicate the value on every order. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the SamCart order before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

SamCart and Customer.io: test orders, installments and empty fields

Send each SamCart order to Customer.io keyed on email, or your platform's user ID if created first, with product name, ID, price and bump or upsell flag. Filter test and fully discounted orders and use a separate development workspace. Send installments, failed charges, cancellations and refunds as separate events, and track order IDs already sent.

Customer.io evaluates campaigns the moment an event arrives, and SamCart setups generate real-looking orders during testing: test-mode purchases and fully discounted coupon orders can reach the same webhook as real ones, so confirm how your account handles them. Point that webhook at a live workspace and a test purchase sends a real welcome sequence to whatever email was typed, including colleagues' and clients' addresses. Use a separate Customer.io workspace for development and filter test orders in your middleware.

Identify people by email, since that is what SamCart has, unless your course platform creates a user ID first, in which case use that and keep email as an attribute. Send each order with product name, product ID, price paid and whether it was a bump or an upsell. A campaign that references a missing attribute will still send, with a blank where the product name should be.

Payment plans and subscriptions are where SamCart data shapes campaigns most. Send each successful installment and each failed charge as separate events, so a failed-payment sequence runs without re-sending the purchase confirmation. When a plan completes, or a subscription is cancelled or refunded, send that too, otherwise former customers stay in retention campaigns. Customer.io will not deduplicate a webhook delivered twice, so keep a record of order IDs already sent.

SamCart → Customer.io · what breaks

Why this join usually fails — SamCart → Customer.io

  1. 01

    The person identifier you assign never reaches SamCart

    SamCart hosts the checkout, so the identifier has to be passed through its URL parameters or custom fields. The upsell flow adds a further step after the initial purchase, which can create additional orders that should not each count as a new acquisition.

  2. 02

    Upsells counted as separate acquisitions

    A funnel with two upsells can produce three orders from one customer. Counted as three conversions, the campaign looks three times better than it is.

  3. 03

    A test event sending a real email

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  4. 04

    Nothing reconciles afterwards

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

SamCart → Customer.io · the fix

What working looks like — SamCart → Customer.io

  • The person identifier you assign on every order

  • Conversions arriving in Customer.io

    The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.

  • Reconciled against the source

SamCart → Customer.io · architecture

How SamCart and Customer.io actually connect

  1. 1

    SamCart holds the truth

    The headline product price is rarely what the customer paid. Order bumps and one-click upsells are the platform's core feature, so the order total and the product price routinely differ substantially.

  2. 2

    Customer.io needs a click to match

    Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.

  3. 3

    The identifier is the bridge

    The person identifier you assign, captured at the visit and carried into the SamCart order.

  4. 4

    The event source decides reliability

    Send the initial purchase as the acquisition conversion at the full realised value including bumps, and treat one-click upsells as additional revenue against the same customer rather than as new acquisitions.

  5. 5

    Deduplication at the destination

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

SamCart → Customer.io · normal or broken

Working vs. broken, side by side — SamCart → Customer.io

Normal, not a fault

  • The person identifier you assign present on the order

  • Sent from the SamCart order webhook

  • Deduplicated correctly

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

  • Reconciles with the source

Actually broken

  • The person identifier you assign missing on most records

    SamCart hosts the checkout, so the identifier has to be passed through its URL parameters or custom fields. The upsell flow adds a further step after the initial purchase, which can create additional orders that should not each count as a new acquisition.

  • Sent from the browser

    A funnel with two upsells can produce three orders from one customer. Counted as three conversions, the campaign looks three times better than it is.

  • Counted twice, or not at all

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  • Nobody has reconciled it

SamCart → Customer.io · diagnose

Diagnostic order — SamCart → Customer.io

  1. 01

    Count orders carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

  3. 03

    Follow one purchase with upsells through to the conversions sent

    If three orders produced three acquisition conversions, you have found the inflation.

  4. 04

    Confirm which workspace you are writing to before sending anything

    Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.

  5. 05

    Read the match rate, not the success message

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

SamCart → Customer.io · prove

How it gets proven — SamCart → Customer.io

Source of truth

SamCart's order records for the same window, including bumps and upsells.

  • The person identifier you assign confirmed present on a live order.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • A purchase with two upsells confirmed to produce one acquisition conversion at the combined value.

SamCart → Customer.io · free audit

What we check in the free audit

  • Count orders carrying the person identifier you assign
  • Follow one real conversion end to end
  • Follow one purchase with upsells through to the conversions sent
  • Confirm which workspace you are writing to before sending anything
  • Read the match rate, not the success message

Checked against

SamCart's order records for the same window, including bumps and upsells.

Get my free conversion tracking audit

Free30 minutesNo obligation

SamCart → Customer.io · when not to buy

When you don't need this — SamCart → Customer.io

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the person identifier you assign.
  • If you run a single product with no bumps or upsells, the standard checkout approach applies and none of this complexity is relevant.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

SamCart → Customer.io · what we deliver

What gets built — SamCart → Customer.io

  • Identifier capture into SamCart

    Pass the identifier into the SamCart checkout URL and confirm it lands on the order, then decide how upsell orders relate to the parent purchase before sending anything.

  • Event source: the SamCart order webhook

    Send the initial purchase as the acquisition conversion at the full realised value including bumps, and treat one-click upsells as additional revenue against the same customer rather than as new acquisitions.

  • Dispatch to Customer.io

    The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.

  • Reversals where they exist

    Refunds are recorded and, on aggressive upsell funnels, refund rates are high enough that ignoring them materially overstates performance.

Written guarantee

95%+ tracking accuracy

Measured against SamCart's order records for the same window, including bumps and upsells.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

SamCart → Customer.io questions, answered

Campaigns trigger on arrival, and test purchases can reach the same webhook as real ones. Filter test orders out and develop against a separate workspace.

Free · 30 min

Get SamCart and Customer.io joined properly

Free30 minutesNo obligation