Skip to main content
Teachable → AppsFlyerIntegration guide

Connecting Teachable to AppsFlyer

Teachable hosts courses and their checkout, so the sale happens inside the platform and the creator's own site is usually just a front door. 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 Teachable transaction 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

Teachable and AppsFlyer: web sales, no device to attribute

AppsFlyer needs a device ID, and a Teachable transaction webhook carries only an email and amount, so the sale would sit unattributed. Only a business whose own app drives web sales needs it. Otherwise send Teachable sales from the webhook to the ad platforms that sent the traffic, and keep AppsFlyer for installs.

AppsFlyer attributes installs and in-app events to a device ID, and a Teachable sale happens in a browser checkout with no AppsFlyer SDK anywhere near it. A server event built from the Teachable transaction webhook would carry an email and an amount but no device identifier, so AppsFlyer could not tie it to an install and it would sit unattributed or be rejected.

The exception is a business with its own app that drives course sales on the web, for example an app that sends people to a Teachable checkout. Then the question is a web-to-app attribution one: whether the device that installed your app is the person who later paid on the web. That needs your own user ID stored on both sides and a check of what AppsFlyer's web products support; it cannot be inferred from the Teachable transaction alone.

For most course creators the minimal correct setup is simple. Course sales go from the Teachable transaction webhook to the ad platforms that sent the traffic, valued by plan type and reversed on refund. AppsFlyer, if you run an app, keeps measuring installs and in-app events and stays out of the Teachable revenue.

Teachable → AppsFlyer · what breaks

Why this join usually fails — Teachable → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Teachable

    Checkout is hosted on Teachable, so an identifier captured on your own marketing site does not automatically reach the enrolment. It has to be carried through the checkout URL and read back from the transaction.

  2. 02

    A hosted checkout on another domain

    Your marketing site and the checkout are separate origins, so nothing carries across on its own and the enrolment arrives with no trace of the campaign.

  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.

Teachable → AppsFlyer · the fix

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

Teachable → AppsFlyer · architecture

How Teachable and AppsFlyer actually connect

  1. 1

    Teachable holds the truth

    Teachable distinguishes one-time purchases, payment plans and subscriptions. As with any course platform, valuing a payment plan at its first instalment is the standard mistake.

  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 Teachable transaction.

  4. 4

    The event source decides reliability

    Send from the webhook on completed transactions, distinguishing plan types so each carries an appropriate 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.

Teachable → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the enrolment

  • Sent from the Teachable transaction 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 is hosted on Teachable, so an identifier captured on your own marketing site does not automatically reach the enrolment. It has to be carried through the checkout URL and read back from the transaction.

  • Sent from the browser

    Your marketing site and the checkout are separate origins, so nothing carries across on its own and the enrolment arrives with no trace of the campaign.

  • 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

Teachable → AppsFlyer · diagnose

Diagnostic order — Teachable → AppsFlyer

  1. 01

    Count enrolments carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a recent transaction and look for the identifier

    Absent means the checkout URL is not carrying it, which is the usual cause.

  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.

Teachable → AppsFlyer · prove

How it gets proven — Teachable → AppsFlyer

Source of truth

Teachable's transaction records for the same window, net of refunds.

  • 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.
  • An enrolment confirmed to carry both the identifier and the correct plan value.

Teachable → 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
  • Open a recent transaction and look for the identifier
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Teachable's transaction records for the same window, net of refunds.

Get my free conversion tracking audit

Free30 minutesNo obligation

Teachable → AppsFlyer · when not to buy

When you don't need this — Teachable → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • For a single course at modest volume, Teachable's own reporting is adequate.
  • 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.

Teachable → AppsFlyer · what we deliver

What gets built — Teachable → AppsFlyer

  • Identifier capture into Teachable

    Append the identifier to the course checkout URL and verify it is retrievable from the resulting transaction before building anything downstream.

  • Event source: the Teachable transaction webhook

    Send from the webhook on completed transactions, distinguishing plan types so each carries an appropriate 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 are recorded, and course refund windows generate a real volume of them.

Written guarantee

95%+ tracking accuracy

Measured against Teachable's transaction records for the same window, net of refunds.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Teachable → AppsFlyer questions, answered

Not usefully on their own. The transaction has no AppsFlyer device ID, so the sale cannot be tied to an install.

Free · 30 min

Get Teachable and AppsFlyer joined properly

Free30 minutesNo obligation