Skip to main content
CartStack → AppsFlyerIntegration guide

Connecting CartStack to AppsFlyer

CartStack recovers abandoned carts and abandoned browsing sessions, which means it can claim orders from visitors who never added anything to a cart at all. AppsFlyer exists because mobile app attribution is a different problem from web attribution, and on iOS a large share of it is now aggregated and delayed by design rather than by accident. The join between them succeeds or fails on one thing: whether the AppsFlyer device identifier, appsflyer_id reaches the CartStack recovered order before the conversion happens, because AppsFlyer can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

CartStack to AppsFlyer: recovery deep links need the cart in the app

AppsFlyer only fits CartStack when a brand with an app routes recovery messages through OneLink, and that works only if the abandoned cart exists in the app; test it first. Send in-app recovered purchases to AppsFlyer with the device identifier and a recovery flag. Never post web recoveries, since without a device identifier they land as organic revenue.

AppsFlyer attributes app installs and in-app revenue. CartStack recovers web carts. They meet only when a brand with an app wants recovery messages to open the app, typically with an AppsFlyer OneLink in the email or text, so app users land in the app and everyone else on the website.

That only works if the abandoned cart exists in the app. A web cart saved to a guest session does not appear in the app unless the shopper is logged in and the cart is synced, so a deep link drops them into an empty basket and the recovery fails. Test that path before routing recovery traffic to the app; for many stores the web cart is the safer destination.

When a recovered purchase does happen in the app, the in-app revenue event goes to AppsFlyer from the app or your server with the device identifier, plus a flag showing it followed a recovery message. AppsFlyer attributes it to the install's original source, which is usually what you want. Web recoveries should not be posted to AppsFlyer at all; with no device identifier they end up as organic revenue.

CartStack → AppsFlyer · what breaks

Why this join usually fails — CartStack → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches CartStack

    Recovery emails are opened days later on other devices, arriving as fresh sessions.

  2. 02

    Browse abandonment claiming credit for the original visit

    Recovering a browser who never added to cart means claiming an order from someone your advertising brought and your email finished. Both contributed, and only one gets reported without persistence.

  3. 03

    Web conversions sent to a mobile attribution platform

    This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.

  4. 04

    Nothing reconciles afterwards

    AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.

CartStack → AppsFlyer · the fix

What working looks like — CartStack → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every recovery

  • Conversions arriving in AppsFlyer

    The event is attributed to the install source, forwarded to whichever networks are configured, and appears in the cohort reporting.

  • Reconciled against the source

CartStack → AppsFlyer · architecture

How CartStack and AppsFlyer actually connect

  1. 1

    CartStack holds the truth

    Browse abandonment recovery reaches people who looked and left. Attributing their eventual purchase entirely to the recovery email ignores whatever brought them the first time.

  2. 2

    AppsFlyer needs a click to match

    AppsFlyer needs the device identifier and an event name it recognizes, plus the revenue value for in-app purchases. A server event about a user with no linked device cannot be attributed to an install.

  3. 3

    The identifier is the bridge

    The AppsFlyer device identifier, appsflyer_id, captured at the visit and carried into the CartStack recovered order.

  4. 4

    The event source decides reliability

    Send orders with a flag for recovered versus first-pass, so both channels are visible.

  5. 5

    Deduplication at the destination

    AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.

CartStack → AppsFlyer · normal or broken

Working vs. broken, side by side — CartStack → AppsFlyer

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the recovery

  • Sent from your order record with recovery attribution

  • Deduplicated correctly

    AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.

  • Reconciles with the source

Actually broken

  • The AppsFlyer device identifier, appsflyer_id missing on most records

    Recovery emails are opened days later on other devices, arriving as fresh sessions.

  • Sent from the browser

    Recovering a browser who never added to cart means claiming an order from someone your advertising brought and your email finished. Both contributed, and only one gets reported without persistence.

  • Counted twice, or not at all

    This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.

  • Nobody has reconciled it

CartStack → AppsFlyer · diagnose

Diagnostic order — CartStack → AppsFlyer

  1. 01

    Count recoverys carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether recovered orders retain their original acquisition source

    If they show as email or direct, paid is undercounted by your recovery rate.

  4. 04

    Check what share of your revenue happens in the app at all

    If most purchases are on the web, AppsFlyer is not your conversion destination and the work belongs somewhere else entirely.

  5. 05

    Read the match rate, not the success message

    AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.

CartStack → AppsFlyer · prove

How it gets proven — CartStack → AppsFlyer

Source of truth

Store orders flagged by whether a recovery message preceded them.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live recovery.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • Orders reconciled with recovery flagged and original source retained.

CartStack → AppsFlyer · free audit

What we check in the free audit

  • Count recoverys carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Check whether recovered orders retain their original acquisition source
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Store orders flagged by whether a recovery message preceded them.

Get my free conversion tracking audit

Free30 minutesNo obligation

CartStack → AppsFlyer · when not to buy

When you don't need this — CartStack → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred recoverys and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • No recovery programme means no double-claim and this is an ordinary store integration.
  • If you have no mobile app, this is not a destination for you. If you have one but sell mostly on the web, send web conversions to your ad platforms directly and use AppsFlyer only for install and in-app events.

CartStack → AppsFlyer · what we deliver

What gets built — CartStack → AppsFlyer

  • Identifier capture into CartStack

    Persist the identifier against the abandoned session so a recovered order still resolves to the original source.

  • Event source: your order record with recovery attribution

    Send orders with a flag for recovered versus first-pass, so both channels are visible.

  • Dispatch to AppsFlyer

    The AppsFlyer server-to-server events API, posted from your billing system with the device identifier and revenue.

  • Reversals where they exist

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by whether a recovery message preceded them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CartStack → AppsFlyer questions, answered

Check whether CartStack lets you set custom link URLs in its templates; if it does, a OneLink can route app users into the app. Make sure the cart is available there first.

Free · 30 min

Get CartStack and AppsFlyer joined properly

Free30 minutesNo obligation