Skip to main content
CartHook → Customer.ioIntegration guide

Connecting CartHook to Customer.io

CartHook does post-purchase one-click upsells specifically, which means every pound it adds arrives after the order was created and after any checkout-time conversion already fired. 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 CartHook post-purchase 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

CartHook to Customer.io: trigger on the settled order

A Shopify order exists before the CartHook offer, so Customer.io campaigns triggered at order creation can email a basket that is about to change. Send one event after the post-purchase window with final line items, total and the upsell outcome as an attribute, keyed on Shopify customer ID or lowercased email. Test delay logic in a separate workspace.

Customer.io acts on events the moment they arrive, and a Shopify order exists before the CartHook offer has been shown. If an order event sent from the order-created webhook starts a confirmation or review-request campaign, the email can go out listing a basket that is about to change. The settled order only arrives later, as an order update, so the trigger should be a single event you send once the post-purchase window has closed, carrying the final line items and total.

The upsell result is useful as an attribute on that event: accepted, declined or not offered, plus the upsell value. Campaign conditions can then send a different follow-up to people who accepted and skip the cross-sell for the item they already took. Because the event is acted on immediately, build and test the delay logic in a separate workspace; a malformed settled-order event in production emails a real buyer with an empty product block.

The person identifier is usually the Shopify customer ID or the lowercased email, applied identically for guest and account checkouts. An upsell-only refund should update an attribute or send a refund event that removes the person from the accepted-upsell segment, not retroactively cancel the order campaign.

CartHook → Customer.io · what breaks

Why this join usually fails — CartHook → Customer.io

  1. 01

    The person identifier you assign never reaches CartHook

    The offer runs after order creation, so anything that fired at checkout has already gone.

  2. 02

    Upsell revenue that no campaign ever gets credit for

    If the conversion fires at checkout, every pound the upsell adds is invisible. The campaigns bringing buyers most receptive to upsells look identical to those bringing the least receptive.

  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.

CartHook → Customer.io · the fix

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

CartHook → Customer.io · architecture

How CartHook and Customer.io actually connect

  1. 1

    CartHook holds the truth

    A one-click upsell charges the stored payment method and appends to the same order. The order total changes; the checkout total does not.

  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 CartHook post-purchase order.

  4. 4

    The event source decides reliability

    Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.

  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.

CartHook → Customer.io · normal or broken

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

Normal, not a fault

  • The person identifier you assign present on the order

  • Sent from the Shopify 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

    The offer runs after order creation, so anything that fired at checkout has already gone.

  • Sent from the browser

    If the conversion fires at checkout, every pound the upsell adds is invisible. The campaigns bringing buyers most receptive to upsells look identical to those bringing the least receptive.

  • 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

CartHook → Customer.io · diagnose

Diagnostic order — CartHook → Customer.io

  1. 01

    Count orders carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare checkout total against final settled total

    The gap is the revenue your conversion reporting is currently discarding.

  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.

CartHook → Customer.io · prove

How it gets proven — CartHook → Customer.io

Source of truth

The final Shopify order total after the post-purchase sequence completes.

  • 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.
  • Settled order totals reconciled against imported conversions for a closed week.

CartHook → 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
  • Compare checkout total against final settled total
  • Confirm which workspace you are writing to before sending anything
  • Read the match rate, not the success message

Checked against

The final Shopify order total after the post-purchase sequence completes.

Get my free conversion tracking audit

Free30 minutesNo obligation

CartHook → Customer.io · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the person identifier you assign.
  • Stores without post-purchase offers can report checkout value and the timing question does not arise.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

CartHook → Customer.io · what we deliver

What gets built — CartHook → Customer.io

  • Identifier capture into CartHook

    Send the conversion from the order webhook once the post-purchase window closes, rather than at checkout.

  • Event source: the Shopify order webhook

    Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.

  • 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 reverse; an upsell-only refund should reduce rather than reverse the order.

Written guarantee

95%+ tracking accuracy

Measured against The final Shopify order total after the post-purchase sequence completes.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CartHook → Customer.io questions, answered

It was triggered by the order-created event, before the upsell was appended. Trigger on a settled-order event sent after the post-purchase window instead.

Free · 30 min

Get CartHook and Customer.io joined properly

Free30 minutesNo obligation