Connecting LearnDash to AppsFlyer
LearnDash runs courses inside WordPress, which means enrolment can happen through a purchase, a membership, a manual grant or a coupon — and only one of those is revenue. 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 LearnDash enrolment 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
LearnDash and AppsFlyer: count the app, not the web checkout
AppsFlyer touches LearnDash only where courses are delivered through a mobile app. Send installs, app logins linked to the WordPress user, first lesson opened and in-app completion through the SDK, not every web enrollment as a purchase. Keep web-paid revenue in web destinations, and pick one source per event so SDK and server-to-server posts don't double count.
AppsFlyer measures app installs and in-app events, so it touches LearnDash only where courses are delivered through a mobile app as well as the WordPress site. The tempting mistake is to post every LearnDash enrollment to AppsFlyer as a purchase. Most course sales happen on the web checkout, with no AppsFlyer device ID, and those events either fail to attribute or appear as organic, which makes the app look better or worse than it is.
Map the events you can actually attribute. An install from a campaign, an app login that links the device to the WordPress user, the first lesson opened in the app and course completion in the app all belong in AppsFlyer, sent by the SDK. If a learner's enrollment is paid on the web and then used in the app, record the revenue in your web destinations, and in AppsFlyer only an unvalued event at most.
The double count to watch: an app that reports a course started through the SDK while your server posts the same activity from LearnDash to AppsFlyer's server-to-server API. Pick one source per event. For in-app purchases of course access, Apple and Google take their store fees, so decide whether you report gross or net revenue and keep it consistent with your web numbers.
LearnDash → AppsFlyer · what breaks
Why this join usually fails — LearnDash → AppsFlyer
- 01
The AppsFlyer device identifier, appsflyer_id never reaches LearnDash
Checkout runs through whichever WooCommerce or membership plugin is attached, so the identifier has to survive an extra handoff.
- 02
Granted access counted as sales
An admin enrolling a cohort, a membership granting bundled access and a coupon at one hundred percent all produce enrolment records identical to a paid one. Counting them inflates revenue by whatever your free access volume is.
- 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.
LearnDash → AppsFlyer · the fix
What working looks like — LearnDash → AppsFlyer
The AppsFlyer device identifier, appsflyer_id on every enrolment
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
LearnDash → AppsFlyer · architecture
How LearnDash and AppsFlyer actually connect
- 1
LearnDash holds the truth
LearnDash enrols users from several sources. Course access granted by a membership plugin or by an admin is not a sale and must not be counted as one.
- 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 LearnDash enrolment.
- 4
The event source decides reliability
Send paid enrolments at the amount charged. Free and granted enrolments carry no value.
- 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.
LearnDash → AppsFlyer · normal or broken
Working vs. broken, side by side — LearnDash → AppsFlyer
Normal, not a fault
The AppsFlyer device identifier, appsflyer_id present on the enrolment
Sent from the payment record joined to the enrolment
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 runs through whichever WooCommerce or membership plugin is attached, so the identifier has to survive an extra handoff.
Sent from the browser
An admin enrolling a cohort, a membership granting bundled access and a coupon at one hundred percent all produce enrolment records identical to a paid one. Counting them inflates revenue by whatever your free access volume is.
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
LearnDash → AppsFlyer · diagnose
Diagnostic order — LearnDash → AppsFlyer
- 01
Count enrolments carrying the AppsFlyer device identifier, appsflyer_id
- 02
Follow one real conversion end to end
- 03
Split enrolments by how access was granted
One field, and on established course sites the free share is usually larger than expected.
- 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.
LearnDash → AppsFlyer · prove
How it gets proven — LearnDash → AppsFlyer
Source of truth
Paid enrolments from your payment system, held apart from free and granted access.
- The AppsFlyer device identifier, appsflyer_id confirmed present on a live enrolment.
- In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
- Paid enrolments reconciled at charged amounts against imported conversions.
LearnDash → AppsFlyer · free audit
What we check in the free audit
- Count enrolments carrying the AppsFlyer device identifier, appsflyer_id
- Follow one real conversion end to end
- Split enrolments by how access was granted
- Check what share of your revenue happens in the app at all
- Read the match rate, not the success message
Checked against
Paid enrolments from your payment system, held apart from free and granted access.
Free30 minutesNo obligation
LearnDash → AppsFlyer · when not to buy
When you don't need this — LearnDash → AppsFlyer
- Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the AppsFlyer device identifier, appsflyer_id.
- If every enrolment is a direct purchase, one conversion action is correct and simpler.
- 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.
LearnDash → AppsFlyer · what we deliver
What gets built — LearnDash → AppsFlyer
Identifier capture into LearnDash
Capture on landing and pass through the purchase flow to the enrolment record.
Event source: the payment record joined to the enrolment
Send paid enrolments at the amount charged. Free and granted enrolments carry no 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
Refunds reverse and should revoke access.
Written guarantee
95%+ tracking accuracy
Measured against Paid enrolments from your payment system, held apart from free and granted access.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
LearnDash → AppsFlyer questions, answered
Generally no. A web enrollment has no AppsFlyer device ID or install behind it. Send in-app activity from the SDK and keep web revenue in your web ad platforms.
Set the WordPress user ID as the customer user ID in the AppsFlyer SDK when the learner signs into the app. Then server events about that user can be tied to the device.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the LearnDash enrolment. Checkout runs through whichever WooCommerce or membership plugin is attached, so the identifier has to survive an extra handoff. 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 payment record joined to the enrolment. Send paid enrolments at the amount charged. Free and granted enrolments carry no value.
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 LearnDash → AppsFlyer
- Stripe → AppsFlyerConnecting Stripe to AppsFlyer
- PayPal → AppsFlyerConnecting PayPal to AppsFlyer
- Shopify → AppsFlyerConnecting Shopify to AppsFlyer
RELATED GUIDES
Where LearnDash → AppsFlyer fits in the rest of your tracking
- Moodle → AppsFlyerConnecting Moodle to AppsFlyer
- Absorb → AppsFlyerConnecting Absorb LMS to AppsFlyer
- iSpring → AppsFlyerConnecting iSpring Learn to AppsFlyer
- EducationConversion tracking for education providers, measured in enrollments
- Restrict Content Pro → AppsFlyerConnecting Restrict Content Pro to AppsFlyer
- 360Learning → AppsFlyerConnecting 360Learning to AppsFlyer
- Docebo → AppsFlyerConnecting Docebo to AppsFlyer
- Tutor LMS → AppsFlyerConnecting Tutor LMS to AppsFlyer
Free · 30 min
Get LearnDash and AppsFlyer joined properly
Free30 minutesNo obligation
