Skip to main content
AfterSell → AttentiveIntegration guide

Connecting AfterSell to Attentive

AfterSell works through checkout extensions and post-purchase pages, which puts its offers inside Shopify's sandboxed surfaces where your own scripts cannot reach. Attentive is SMS, where the identifier is a phone number, the consent rules are legal rather than advisory, and a mistake reaches the customer's pocket within seconds. The join between them succeeds or fails on one thing: whether the subscriber's phone number reaches the AfterSell upsell order before the conversion happens, because Attentive can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

AfterSell orders to Attentive: one text per purchase, not two

Check whether an accepted AfterSell offer's order update creates a second purchase event in Attentive. If you post events yourself, wait until the offer is answered and send one purchase with the checkout phone number, full item list and an accepted-offer flag. Exclude accepted upsell products from cross-sell texts, and only text existing SMS subscribers.

Attentive's post-purchase flows usually trigger off Shopify order data, and an accepted AfterSell offer changes that order after it was created. Depending on how your integration reads orders, check whether the order update produces a second purchase event in Attentive. If it does, a customer who said yes to a one-click add-on can receive two order texts, each costing a send and annoying someone who just spent more with you.

Whatever feeds Attentive, the event that triggers texts should carry the final line items. A shipping or thank-you text that lists only the original cart reads as if the upsell failed. If you post events yourself, wait until the post-purchase offer has been answered, then send one purchase with the phone number from checkout, the full item list and a flag for the accepted offer.

Use that flag. A cross-sell text for the accessory the customer just bought on the post-purchase page is the most common embarrassment in this pair. Exclude accepted-upsell products from the next flow's recommendations, and only text people whose SMS consent Attentive already holds; a phone number typed at checkout is not marketing consent.

AfterSell → Attentive · what breaks

Why this join usually fails — AfterSell → Attentive

  1. 01

    The subscriber's phone number never reaches AfterSell

    Extension surfaces are isolated by design. Attempting to instrument them client-side does not work and is not supported.

  2. 02

    Trying to instrument a sandbox

    Time gets spent attempting to observe checkout extension behaviour from the storefront. It cannot be done, by design, and every hour spent on it is an hour not spent on the server-side path that works.

  3. 03

    Consent state treated as a tracking detail rather than a legal one

    Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.

  4. 04

    Nothing reconciles afterwards

    Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.

AfterSell → Attentive · the fix

What working looks like — AfterSell → Attentive

  • The subscriber's phone number on every order

  • Conversions arriving in Attentive

    The event lands on the subscriber, triggers the journeys that depend on it, and becomes available for segmentation.

  • Reconciled against the source

AfterSell → Attentive · architecture

How AfterSell and Attentive actually connect

  1. 1

    AfterSell holds the truth

    Checkout UI extensions run sandboxed. Nothing you write can observe them, so the only reliable view of what the customer accepted is the order itself.

  2. 2

    Attentive needs a click to match

    Attentive needs the subscriber's phone number, the event name and its properties. It also needs the subscriber to have consented — an event about someone who never opted in cannot legally be messaged, whatever the event says.

  3. 3

    The identifier is the bridge

    The subscriber's phone number, captured at the visit and carried into the AfterSell upsell order.

  4. 4

    The event source decides reliability

    Send the final order total from the webhook, with upsell line items identified.

  5. 5

    Deduplication at the destination

    Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.

AfterSell → Attentive · normal or broken

Working vs. broken, side by side — AfterSell → Attentive

Normal, not a fault

  • The subscriber's phone number present on the order

  • Sent from the Shopify order webhook

  • Deduplicated correctly

    Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.

  • Reconciles with the source

Actually broken

  • The subscriber's phone number missing on most records

    Extension surfaces are isolated by design. Attempting to instrument them client-side does not work and is not supported.

  • Sent from the browser

    Time gets spent attempting to observe checkout extension behaviour from the storefront. It cannot be done, by design, and every hour spent on it is an hour not spent on the server-side path that works.

  • Counted twice, or not at all

    Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.

  • Nobody has reconciled it

AfterSell → Attentive · diagnose

Diagnostic order — AfterSell → Attentive

  1. 01

    Count orders carrying the subscriber's phone number

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm the conversion is sourced from the order, not from a page

    On modern Shopify checkout there is no supported page-based option left, so this is the only correct architecture.

  4. 04

    Verify that events for non-consented customers cannot trigger a send

    Check the journey's entry conditions, not the event pipeline. The pipeline will happily deliver an event about someone who never opted in; the journey is what must refuse to act on it.

  5. 05

    Read the match rate, not the success message

    Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.

AfterSell → Attentive · prove

How it gets proven — AfterSell → Attentive

Source of truth

The final Shopify order total, read from the order record.

  • The subscriber's phone number confirmed present on a live order.
  • Events confirmed on subscriber records with consent state verified, and a test proving a non-consented profile does not trigger a send.
  • Final order totals reconciled from the webhook against imported conversions.

AfterSell → Attentive · free audit

What we check in the free audit

  • Count orders carrying the subscriber's phone number
  • Follow one real conversion end to end
  • Confirm the conversion is sourced from the order, not from a page
  • Verify that events for non-consented customers cannot trigger a send
  • Read the match rate, not the success message

Checked against

The final Shopify order total, read from the order record.

Get my free conversion tracking audit

Free30 minutesNo obligation

AfterSell → Attentive · when not to buy

When you don't need this — AfterSell → Attentive

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the subscriber's phone number.
  • If your conversions already come from the order webhook, checkout extensions change nothing for you.
  • If you do not have a consented SMS list, the integration is the least of the work. Building the list compliantly comes first, and no event pipeline substitutes for it.

AfterSell → Attentive · what we deliver

What gets built — AfterSell → Attentive

  • Identifier capture into AfterSell

    Do not try to instrument the checkout surface. Read the order server-side, which is the supported and more reliable path anyway.

  • Event source: the Shopify order webhook

    Send the final order total from the webhook, with upsell line items identified.

  • Dispatch to Attentive

    The Attentive events API, posted server-side from your order system with the subscriber's phone number and the event properties.

  • Reversals where they exist

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against The final Shopify order total, read from the order record.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

AfterSell → Attentive questions, answered

Check whether the order edit from the upsell reaches Attentive as a second purchase. Trigger flows from one event per order, sent after the post-purchase offer is answered.

Free · 30 min

Get AfterSell and Attentive joined properly

Free30 minutesNo obligation