Skip to main content
AfterSell → PartnerStackIntegration guide

Connecting AfterSell to PartnerStack

AfterSell works through checkout extensions and post-purchase pages, which puts its offers inside Shopify's sandboxed surfaces where your own scripts cannot reach. PartnerStack commissions partners on recurring subscription revenue rather than on a single order, which makes it the one destination here where a conversion you send creates a payment obligation that repeats every month. The join between them succeeds or fails on one thing: whether the PartnerStack referral key reaches the AfterSell upsell order before the conversion happens, because PartnerStack can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

AfterSell to PartnerStack: only if the upsell is a subscription

Only worth it when an AfterSell offer turns a buyer into a subscriber; one-off add-ons suit an ecommerce affiliate network. Then report from your subscription billing, not the storefront, with the referral key stored on the cart, the Shopify customer ID and each recurring charge, and report cancellations promptly. Program terms must say whether partners earn on it.

PartnerStack is built for recurring commission, and most AfterSell offers are one-off add-ons. A Shopify store whose partners drive ordinary product sales has no recurring revenue for PartnerStack to commission, and an affiliate network built around ecommerce orders would fit better. Paying a recurring-commission platform to track one-time accessory sales adds configuration without adding any answer you need.

The case where the pair makes sense is a store that sells subscriptions, where an AfterSell offer turns a one-time buyer into a replenishment subscriber after checkout. If a partner referred the original purchase, that subscription is now recurring revenue linked to their referral, and your program terms need to say whether they earn on it. Check whether AfterSell can offer subscription products with your subscription app before planning any of this.

If you do report it, send from your subscription billing rather than the storefront: the referral key stored on the cart, the Shopify customer ID as the customer identifier, and each recurring charge as it is recognized. Report cancellations promptly, because otherwise the commission keeps recurring on a subscription the customer took on a whim and stopped after one delivery.

AfterSell → PartnerStack · what breaks

Why this join usually fails — AfterSell → PartnerStack

  1. 01

    The PartnerStack referral key 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

    A commission that recurs on revenue that stopped

    The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.

  4. 04

    Nothing reconciles afterwards

    PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.

AfterSell → PartnerStack · the fix

What working looks like — AfterSell → PartnerStack

  • The PartnerStack referral key on every order

  • Conversions arriving in PartnerStack

    The customer is attributed to a partner, and commission accrues against the recognized revenue on the schedule you configured.

  • Reconciled against the source

AfterSell → PartnerStack · architecture

How AfterSell and PartnerStack 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

    PartnerStack needs a click to match

    PartnerStack needs the referral key, the customer identifier and the subscription value. Recurring commission also needs the ongoing revenue reported, not just the first payment.

  3. 3

    The identifier is the bridge

    The PartnerStack referral key, 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

    Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.

AfterSell → PartnerStack · normal or broken

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

Normal, not a fault

  • The PartnerStack referral key present on the order

  • Sent from the Shopify order webhook

  • Deduplicated correctly

    Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.

  • Reconciles with the source

Actually broken

  • The PartnerStack referral key 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

    The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.

  • Nobody has reconciled it

AfterSell → PartnerStack · diagnose

Diagnostic order — AfterSell → PartnerStack

  1. 01

    Count orders carrying the PartnerStack referral key

  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

    Check whether churn events reach PartnerStack at all

    In most implementations the new-subscription path was built and the cancellation path was not, because only one of them is exciting.

  5. 05

    Read the match rate, not the success message

    PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.

AfterSell → PartnerStack · prove

How it gets proven — AfterSell → PartnerStack

Source of truth

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

  • The PartnerStack referral key confirmed present on a live order.
  • Commissionable recurring revenue reconciled against active subscriptions in billing, with cancellations proven to reverse.
  • Final order totals reconciled from the webhook against imported conversions.

AfterSell → PartnerStack · free audit

What we check in the free audit

  • Count orders carrying the PartnerStack referral key
  • Follow one real conversion end to end
  • Confirm the conversion is sourced from the order, not from a page
  • Check whether churn events reach PartnerStack at all
  • 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 → PartnerStack · when not to buy

When you don't need this — AfterSell → PartnerStack

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the PartnerStack referral key.
  • If your conversions already come from the order webhook, checkout extensions change nothing for you.
  • If you run no partner or affiliate programme, there is nothing to send here. If you run one on one-off sales rather than subscriptions, the recurring-commission complexity does not apply to you.

AfterSell → PartnerStack · what we deliver

What gets built — AfterSell → PartnerStack

  • 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 PartnerStack

    Server-side reporting from your billing system, with the referral key, customer identifier and the recurring revenue as it is recognized.

  • 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 → PartnerStack questions, answered

Only if you report them from your subscription billing with the stored referral key. Neither tool links them for you.

Free · 30 min

Get AfterSell and PartnerStack joined properly

Free30 minutesNo obligation