Skip to main content
WooCommerce Subscriptions → AppsFlyerIntegration guide

Connecting WooCommerce Subscriptions to AppsFlyer

WooCommerce Subscriptions turns a store into a recurring business, and every renewal creates a real WooCommerce order — which is exactly why renewals get counted as sales. 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 WooCommerce 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

WooCommerce Subscriptions to AppsFlyer: renewals as LTV, not installs

AppsFlyer fits only if subscribers use your mobile app. Write the pairing of WordPress user ID and appsflyer_id back to the user record at app sign-in, then post renewals server-to-server under a distinct event name with device ID and amount for LTV cohorts. Web-first subscribers predate any appsflyer_id unless your plan includes web-to-app attribution.

AppsFlyer only earns its place for a WooCommerce Subscriptions store that also runs a mobile app that subscribers get access to. The join is the logged-in user: when someone signs into the app with the account Woo Subscriptions made them create at checkout, the app holds both the WordPress user ID and the appsflyer_id, and that pairing should be written back to the user's record. Without it, a server event about a web subscriber has no device to land on and AppsFlyer cannot attribute it.

Once the pairing exists, this is the rare destination where renewal orders are useful rather than harmful. AppsFlyer's cohort and LTV reports are built to show revenue accruing after install, so a renewal posted through the server-to-server events API, with the device ID and the renewal amount, shows which install campaigns produced subscribers who stayed. Give renewals a different event name from the first subscription purchase, so the ad networks AppsFlyer forwards to are not told a new customer converted every month.

The usual break is the order of events. Most of these customers subscribe on the web first and install later, so the first purchase happened before any appsflyer_id existed and cannot be credited to an install. Check whether your AppsFlyer plan includes its web-to-app attribution features before promising that; otherwise report web-first subscribers as web acquisitions and use AppsFlyer for app-first ones only.

WooCommerce Subscriptions → AppsFlyer · what breaks

Why this join usually fails — WooCommerce Subscriptions → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches WooCommerce Subscriptions

    Renewal orders are created by a scheduled task with no browser, no referrer and no session.

  2. 02

    Renewal orders indistinguishable from new sales

    This is the single most common WooCommerce Subscriptions error. Renewals are real orders in the same table, so a default order-based integration counts every one, and the conversion count inflates by exactly your retention rate.

  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.

WooCommerce Subscriptions → AppsFlyer · the fix

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

WooCommerce Subscriptions → AppsFlyer · architecture

How WooCommerce Subscriptions and AppsFlyer actually connect

  1. 1

    WooCommerce Subscriptions holds the truth

    A renewal is a full order in the orders table, indistinguishable from a new purchase unless you check the parent subscription. That is the trap.

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

  4. 4

    The event source decides reliability

    Send the initial order of a new subscription at a defensible subscription value; renewals carry no acquisition value.

  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.

WooCommerce Subscriptions → AppsFlyer · normal or broken

Working vs. broken, side by side — WooCommerce Subscriptions → AppsFlyer

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the subscription

  • Sent from the WooCommerce subscription record

  • 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

    Renewal orders are created by a scheduled task with no browser, no referrer and no session.

  • Sent from the browser

    This is the single most common WooCommerce Subscriptions error. Renewals are real orders in the same table, so a default order-based integration counts every one, and the conversion count inflates by exactly your retention rate.

  • 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

WooCommerce Subscriptions → AppsFlyer · diagnose

Diagnostic order — WooCommerce Subscriptions → AppsFlyer

  1. 01

    Count subscriptions carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare order count against new subscription count

    If orders substantially exceed new subscriptions, renewals are in your conversion feed.

  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.

WooCommerce Subscriptions → AppsFlyer · prove

How it gets proven — WooCommerce Subscriptions → AppsFlyer

Source of truth

New subscriptions by start date, held apart from the renewal orders they generate.

  • 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.
  • New subscriptions reconciled against imported conversions, with renewal orders demonstrably excluded.

WooCommerce Subscriptions → 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
  • Compare order count against new subscription count
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

New subscriptions by start date, held apart from the renewal orders they generate.

Get my free conversion tracking audit

Free30 minutesNo obligation

WooCommerce Subscriptions → AppsFlyer · when not to buy

When you don't need this — WooCommerce Subscriptions → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • Stores selling only one-time products do not generate renewal orders and are unaffected.
  • 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.

WooCommerce Subscriptions → AppsFlyer · what we deliver

What gets built — WooCommerce Subscriptions → AppsFlyer

  • Identifier capture into WooCommerce Subscriptions

    Capture on the original purchase and store on the subscription, then filter renewals out of the conversion feed by parent subscription.

  • Event source: the WooCommerce subscription record

    Send the initial order of a new subscription at a defensible subscription value; renewals carry no acquisition value.

  • 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

    Cancellations inside the first period reverse.

Written guarantee

95%+ tracking accuracy

Measured against New subscriptions by start date, held apart from the renewal orders they generate.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

WooCommerce Subscriptions → AppsFlyer questions, answered

Yes, if the subscriber has a linked app install, as a separate revenue event from the first purchase. That feeds AppsFlyer's LTV cohorts without telling forwarded ad networks a new customer converted.

Free · 30 min

Get WooCommerce Subscriptions and AppsFlyer joined properly

Free30 minutesNo obligation