Skip to main content
Okta → AppsFlyerIntegration guide

Connecting Okta to AppsFlyer

Okta is enterprise identity, which means the people signing in are employees of a customer that bought through a procurement process nobody advertised into. 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 Okta enterprise identity 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

Okta sign-ins in AppsFlyer: organic is the right answer

Most installs of an Okta-gated app are correctly organic in AppsFlyer. Remove the in-app sign-in event from every network postback, or networks will hunt for existing users. Only if the app has a self-serve or trial path, send the trial start or first paid seat server-to-server with the appsflyer_id stored at first open. Otherwise keep AppsFlyer to install counts.

An enterprise mobile app where users authenticate through their employer's Okta will show most installs in AppsFlyer as organic, and that is accurate rather than broken. The employee arrived because IT assigned the app or a colleague sent a link, not because a network served an ad. Pushing up the attributed share for this traffic usually means crediting onboarding to whatever campaign happened to be running.

The specific hazard is the sign-in event. Teams often map the in-app login to a standard event and let AppsFlyer forward it to every connected network as a conversion. For an Okta-gated app that sends thousands of signals about people who already have accounts, and networks optimizing on it go looking for more existing users. Check which events are mapped for postback to each network and remove sign-in from all of them.

AppsFlyer earns its place here only if the app has its own acquisition path, such as a self-serve tier or trial users who do not come through a customer's Okta. Then the conversion is the trial start or first paid seat, sent server-to-server with the appsflyer_id stored at first open, with the SSO cohort filtered out of campaign reporting. If everyone signs in through Okta, keep AppsFlyer to install counts.

Okta → AppsFlyer · what breaks

Why this join usually fails — Okta → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Okta

    Single sign-on means users arrive already authenticated from their own identity provider, with no acquisition journey at all.

  2. 02

    Product usage mistaken for acquisition signal

    Thousands of SSO logins from an enterprise customer are a usage metric. Feeding them into an ad platform as conversions teaches it to find people who already have accounts.

  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.

Okta → AppsFlyer · the fix

What working looks like — Okta → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every account

  • 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

Okta → AppsFlyer · architecture

How Okta and AppsFlyer actually connect

  1. 1

    Okta holds the truth

    Enterprise identity tells you who is using the product, not who bought it. Those are different people and the purchase happened months before the first login.

  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 Okta enterprise identity.

  4. 4

    The event source decides reliability

    Send contract value at the account level, never per user.

  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.

Okta → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the account

  • Sent from your contract or billing system

  • 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

    Single sign-on means users arrive already authenticated from their own identity provider, with no acquisition journey at all.

  • Sent from the browser

    Thousands of SSO logins from an enterprise customer are a usage metric. Feeding them into an ad platform as conversions teaches it to find people who already have accounts.

  • 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

Okta → AppsFlyer · diagnose

Diagnostic order — Okta → AppsFlyer

  1. 01

    Count accounts carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm no login event reaches an ad platform

    The correct number is zero. Enterprise logins are the least useful acquisition signal available.

  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.

Okta → AppsFlyer · prove

How it gets proven — Okta → AppsFlyer

Source of truth

Your contract or billing system, at the account level.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live account.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • Contract value reconciled at account level against imported conversions, with login events absent.

Okta → AppsFlyer · free audit

What we check in the free audit

  • Count accounts carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Confirm no login event reaches an ad platform
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Your contract or billing system, at the account level.

Get my free conversion tracking audit

Free30 minutesNo obligation

Okta → AppsFlyer · when not to buy

When you don't need this — Okta → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If your product is enterprise-only, conversion tracking answers a small question and the pipeline lives in the CRM.
  • 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.

Okta → AppsFlyer · what we deliver

What gets built — Okta → AppsFlyer

  • Identifier capture into Okta

    Attribute at the account in the CRM. Do not attempt to attribute enterprise logins to campaigns.

  • Event source: your contract or billing system

    Send contract value at the account level, never per user.

  • 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

    Contract terminations reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your contract or billing system, at the account level.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Okta → AppsFlyer questions, answered

Employees install the app when their company assigns it or tells them to, not from an ad. For SSO-only apps a high organic share is accurate.

Free · 30 min

Get Okta and AppsFlyer joined properly

Free30 minutesNo obligation