Skip to main content
Recharge → AppsFlyerIntegration guide

Connecting Recharge to AppsFlyer

Recharge holds the subscription, which means it holds the only complete record of what a Shopify subscription store actually earns over time. 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 Recharge subscription 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

Recharge revenue in AppsFlyer: renewals need a device link

Recharge renewals are scheduled Shopify charges, not in-app events. Capture appsflyer_id at app login, store it on the Recharge customer and subscription, and post subscription start and cancellation through the server-to-server API. Post renewals under an event name mapped to no network postback, so Meta, Google and TikTok do not treat each renewal as a new purchase.

AppsFlyer attributes in-app events to the install source, and a Recharge renewal is not an in-app event; it is a scheduled charge on a Shopify store. Posting renewals through the server-to-server events API works only if the subscriber has been linked to an appsflyer_id, which means the app must capture it at login and you must store it against the Recharge customer. Subscribers who never installed the app, or who subscribed on the web long before installing it, have no device to attribute to.

Revenue is the trap. AppsFlyer forwards revenue events to connected ad networks, so posting every Recharge charge under the standard purchase event sends recurring billing to Meta, Google and TikTok as though each renewal were a new in-app purchase. Decide what the networks should optimize on, usually the first subscription, and post renewals under a different event name that is not mapped to any postback. On iOS, users attributed only through SKAdNetwork cannot have later renewals tied back at all, so subscription value per campaign will always be partial.

Post Recharge cancellations as their own event so cohort reports show churn by media source. Minimal setup for an app-plus-web brand: link appsflyer_id to the Shopify customer at app login, store it on the subscription, post subscription start and cancellation, and keep renewals out of network postbacks.

Recharge → AppsFlyer · what breaks

Why this join usually fails — Recharge → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Recharge

    The identifier has to live on the subscription rather than the order. Every renewal creates a new order, so an identifier stored only on the first one can never be tied to any renewal — and renewals are where most of the revenue is.

  2. 02

    Renewals happen with no browser present

    Charges run on a schedule with no customer there. Nothing that fires from a page can see them, and stores routinely report only acquisition and undercount total revenue by whatever their retention is worth.

  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.

Recharge → AppsFlyer · the fix

What working looks like — Recharge → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every subscription

  • 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

Recharge → AppsFlyer · architecture

How Recharge and AppsFlyer actually connect

  1. 1

    Recharge holds the truth

    Every charge creates a Shopify order, so the two systems should agree. Recharge is authoritative for the recurring relationship; Shopify is authoritative for what the store banked.

  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 Recharge subscription.

  4. 4

    The event source decides reliability

    Send acquisition from subscription created, once, valued at expected lifetime. Renewals fire from charge processed and belong in your reporting rather than automatically in your bidding.

  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.

Recharge → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the subscription

  • Sent from the Recharge subscription and charge webhooks

  • 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

    The identifier has to live on the subscription rather than the order. Every renewal creates a new order, so an identifier stored only on the first one can never be tied to any renewal — and renewals are where most of the revenue is.

  • Sent from the browser

    Charges run on a schedule with no customer there. Nothing that fires from a page can see them, and stores routinely report only acquisition and undercount total revenue by whatever their retention is worth.

  • 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

Recharge → AppsFlyer · diagnose

Diagnostic order — Recharge → AppsFlyer

  1. 01

    Count subscriptions carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether a subscription carries the identifier

    Not the order. If it is on the order only, renewals can never be attributed no matter what you build downstream.

  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.

Recharge → AppsFlyer · prove

How it gets proven — Recharge → AppsFlyer

Source of truth

Recharge's subscription and charge records, cross-checked against the Shopify orders they create.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live subscription.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • A renewal confirmed to land wherever the written policy says it should, and a cancellation confirmed to reverse.

Recharge → AppsFlyer · free audit

What we check in the free audit

  • Count subscriptions carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Check whether a subscription carries the identifier
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Recharge's subscription and charge records, cross-checked against the Shopify orders they create.

Get my free conversion tracking audit

Free30 minutesNo obligation

Recharge → AppsFlyer · when not to buy

When you don't need this — Recharge → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If you sell one-off products with a small subscription tail, the store's native integration may already be adequate. Measure the recurring share first.
  • 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.

Recharge → AppsFlyer · what we deliver

What gets built — Recharge → AppsFlyer

  • Identifier capture into Recharge

    Capture the click identifier on the storefront and write it to the Recharge subscription's metadata at creation, so it is available on every subsequent charge.

  • Event source: the Recharge subscription and charge webhooks

    Send acquisition from subscription created, once, valued at expected lifetime. Renewals fire from charge processed and belong in your reporting rather than automatically in your bidding.

  • 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

    Recharge exposes cancellation, which should reverse the lifetime value you claimed at acquisition. Almost nobody wires this, so reported subscriber value only ever rises.

Written guarantee

95%+ tracking accuracy

Measured against Recharge's subscription and charge records, cross-checked against the Shopify orders they create.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Recharge → AppsFlyer questions, answered

Through the server-to-server events API, with the appsflyer_id you stored when the subscriber logged into the app. Without that stored device ID, AppsFlyer cannot attribute the renewal to anything.

Free · 30 min

Get Recharge and AppsFlyer joined properly

Free30 minutesNo obligation