Connecting Recurly to AppsFlyer
Recurly is built around keeping subscriptions alive, which means a large share of the revenue it recovers comes from payments that failed and were retried rather than from anything marketing did. 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 Recurly 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
Recurly and AppsFlyer: web-billed subscriptions on an app install
Set your user ID as the AppsFlyer customer user ID and as the Recurly account_code, storing the appsflyer_id against it, so server-to-server events from Recurly webhooks carry a device. Hold web purchases until the user logs into the app, send first paid charge separately from trial start, name renewals separately, and never send recovered payments as revenue.
AppsFlyer attributes to a device; Recurly bills an account. The bridge is your user ID: set it as the AppsFlyer customer user ID in the app at login, use the same value as the Recurly account_code, and store the appsflyer_id against that user. A server-to-server event built from the Recurly webhook can then carry the device identifier AppsFlyer needs to tie revenue to an install.
Many apps sell subscriptions on the web through Recurly specifically to avoid store fees, and that is where the join breaks: the purchase happens in a browser with no appsflyer_id, often before the app is installed. Hold the event until the user logs into the app and the account is linked to a device, or record it as web revenue. Check whether your AppsFlyer contract includes its web-to-app attribution product before building around it.
Map events by meaning, not by money. Trial start and first successful charge are two different events, and the paid one is what ad networks should optimize toward. Renewals can go to AppsFlyer as a separately named event for LTV cohorts, but recovered payments after a declined card should not be revenue at all, because AppsFlyer forwards revenue to the ad networks it postbacks to and they will treat it as return on spend. On iOS, a trial that converts after the first SKAdNetwork measurement window cannot raise that window's conversion value.
Recurly → AppsFlyer · what breaks
Why this join usually fails — Recurly → AppsFlyer
- 01
The AppsFlyer device identifier, appsflyer_id never reaches Recurly
Checkout may run through Recurly's hosted pages, and the renewal that actually matters happens months later with no browser session at all.
- 02
Dunning recovery counted as acquisition
A retried card that succeeds on day three looks identical to a new subscription in most exports. On a mature book that recovery is a meaningful share of monthly revenue and none of it was bought.
- 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.
- 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.
Recurly → AppsFlyer · the fix
What working looks like — Recurly → 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
Recurly → AppsFlyer · architecture
How Recurly and AppsFlyer actually connect
- 1
Recurly holds the truth
Dunning recovery is Recurly's core product. Revenue rescued from a declined card three days after it failed is real money and it is not a conversion — attributing it to whatever campaign is running that week is the standard mistake here.
- 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
The identifier is the bridge
The AppsFlyer device identifier, appsflyer_id, captured at the visit and carried into the Recurly subscription.
- 4
The event source decides reliability
Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.
- 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.
Recurly → AppsFlyer · normal or broken
Working vs. broken, side by side — Recurly → AppsFlyer
Normal, not a fault
The AppsFlyer device identifier, appsflyer_id present on the subscription
Sent from the Recurly subscription webhook
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
Checkout may run through Recurly's hosted pages, and the renewal that actually matters happens months later with no browser session at all.
Sent from the browser
A retried card that succeeds on day three looks identical to a new subscription in most exports. On a mature book that recovery is a meaningful share of monthly revenue and none of it was bought.
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
Recurly → AppsFlyer · diagnose
Diagnostic order — Recurly → AppsFlyer
- 01
Count subscriptions carrying the AppsFlyer device identifier, appsflyer_id
- 02
Follow one real conversion end to end
- 03
Split subscription events into new, renewal and recovered
Three categories, three owners. Until they are separated, no acquisition number is readable.
- 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.
- 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.
Recurly → AppsFlyer · prove
How it gets proven — Recurly → AppsFlyer
Source of truth
Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.
- 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 subscription starts reconciled against imported conversions, with recovered revenue reported separately.
Recurly → 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
- Split subscription events into new, renewal and recovered
- Check what share of your revenue happens in the app at all
- Read the match rate, not the success message
Checked against
Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.
Free30 minutesNo obligation
Recurly → AppsFlyer · when not to buy
When you don't need this — Recurly → AppsFlyer
- Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the AppsFlyer device identifier, appsflyer_id.
- If your churn is mostly voluntary and you run no dunning, this collapses to an ordinary subscription 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.
Recurly → AppsFlyer · what we deliver
What gets built — Recurly → AppsFlyer
Identifier capture into Recurly
Capture on your own domain, persist against the account, and attach to the subscription so a renewal or a recovery can still be traced without being credited as new.
Event source: the Recurly subscription webhook
Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.
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 billing period reverse, and so should subscriptions that never recover from a failed first charge.
Written guarantee
95%+ tracking accuracy
Measured against Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Recurly → AppsFlyer questions, answered
The purchase happened in a browser with no appsflyer_id attached. Link the Recurly account to the device through the customer user ID at app login, then send the event server-to-server with the stored device identifier.
Send them as a distinct event if you want LTV cohorts, but do not map them to the event your ad networks optimize on, and keep dunning recoveries out entirely.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the Recurly subscription. Checkout may run through Recurly's hosted pages, and the renewal that actually matters happens months later with no browser session at all. Measure coverage before debugging the dispatch.
AppsFlyer assigns its own device ID and matches installs to clicks through referrer data on Android and Apple's frameworks on iOS. There is no durable cross-device identifier. On iOS without ATT consent, attribution falls back to SKAdNetwork, which returns aggregated conversion values on a delay with no user-level detail at all — so a share of your installs will be attributable only in aggregate, permanently.
The Recurly subscription webhook. Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.
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.
More on Recurly → AppsFlyer
- Stripe → AppsFlyerConnecting Stripe to AppsFlyer
- PayPal → AppsFlyerConnecting PayPal to AppsFlyer
- Shopify → AppsFlyerConnecting Shopify to AppsFlyer
RELATED GUIDES
Where Recurly → AppsFlyer fits in the rest of your tracking
- Mollie → AppsFlyerConnecting Mollie to AppsFlyer
- Adyen → AppsFlyerConnecting Adyen to AppsFlyer
- Sezzle → AppsFlyerConnecting Sezzle to AppsFlyer
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
- Afterpay → AppsFlyerConnecting Afterpay to AppsFlyer
- Authorize.net → AppsFlyerConnecting Authorize.net to AppsFlyer
- Square → AppsFlyerConnecting Square to AppsFlyer
- Acima → AppsFlyerConnecting Acima to AppsFlyer
Free · 30 min
Get Recurly and AppsFlyer joined properly
Free30 minutesNo obligation
