AppsFlyer SDK
A third-party SDK that attributes installs, runs deep links, and sends events to ad networks.
In one line
Can link your install to an ad and watch what you do in the app
A third-party SDK that attributes installs, runs deep links, and sends events to ad networks.
Sees device IDs, IP, user agent, in-app events for every customer app, and uses fraud and cohort tools. OneLink handles deferred deep links.
What it can and can't do
What the user does: Nothing. It starts when the app opens, after you tapped an ad and installed
It can
- Match an install to an ad using the install referrer and Google ad ID
- Collect device IDs, IP address and app events across its customers' apps
- Open the right screen after install with a link
- Send events to ad networks
It cannot
- Use the iPhone ad ID until you allow tracking
- Skip Apple's delayed reports for people who said no
- See what you do in apps that do not use its tool
How it differs between platforms: Android uses the install referrer and ad ID. iPhone uses Apple's reports and the ID only if allowed.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Supported |
| First version | Not available | Not available |
| Permission or entitlement | INTERNET, ACCESS_NETWORK_STATE; AD_ID for GAID; Install Referrer library | NSUserTrackingUsageDescription if IDFA used; privacy manifest from SDK |
| Protection level | normal | prompt |
| How access is granted | install | prompt |
| What the user sees | Not listed | Not listed |
| How long it lasts | Not listed | Not listed |
| How to take it back | Not listed | Not listed |
| Store policy | Data safety must list SDK data; Families: certified ad SDK rules | Privacy manifest and signature required for listed SDKs; ATT 5.1.2(i) |
| API | MMP SDK + Play Install Referrer + GAID | MMP SDK + SKAdNetwork/AdAttributionKit + ATT |
| Notes | Uses Install Referrer and GAID; collects IP and OS data. | Uses SKAN, AAK and IDFA when allowed; on iOS can run probabilistic modeling per vendor docs for some users. |
Data you get
What comes back: Install, session and event records tied to an MMP ID
Shape: object
How often: continuous via SDK
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
device ID | string | None | GAID, IDFA or IDFV, MMP-specific ID | Not listed |
attribution source | string | None | Not listed | Not listed |
Technical limits
- Data flows to the vendor's cloud
- Needs ATT for IDFA matching on iOS
- Privacy manifest and required reasons apply
The story
What it is
A popular install tracking SDK that credits installs to ads, runs deep links and shares events with ad networks.
For you
You never see it. If you clicked an ad, it quietly tells the app company which one, and it can take you to the right page after install.
For makers
AppsFlyer sees device IDs, IP, user agent and in app events across thousands of apps, and offers fraud and cohort tools. Its OneLink product handles links that survive an install.
Where you see it
| Type | Example | Apps |
|---|---|---|
| games | A mobile game sees which TikTok ad brought the most spenders and moves its budget there. | Playtika, Moon Active |
| shopping | A shopping app uses OneLink so a shared link opens a product, even after install. | Shein, Temu |
| ads | An ad network sends events to AppsFlyer so the advertiser can compare it with others. | Meta, Google Ads |
| security | Its fraud suite blocks fake installs and bot clicks before the advertiser pays. | None named |
| rideshare | A ride app credits a first ride to the referral link that a friend shared. | Bolt |
| analytics | A team builds groups of users who bought in week one and sends them to ad networks. | None named |
Risks
- Sees activity across many customer apps
- Shares events with ad networks
Android and iPhone in short
- Android: Reads the Google advertising ID and the Play install referrer.
- iPhone: Uses SKAN, AdAttributionKit and the IDFA only with consent.
Good uses and abuse
Legitimate uses
- Attribution, fraud detection, deep links, ROAS
Known abuse
- Cross-customer device graph
- Fingerprint-style matching on non-consenting iOS
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 4 of 5 | How revealing the data is |
| Utility | 5 of 5 | How useful it is to honest apps |
| Friction | 1 of 5 | How much the user has to do |
| Fingerprint bits | 12 | Rough identifying entropy, when known |
History
- 2021-04, iPhone iOS 14.5: MMPs shift to SKAN and consent-gated IDFA for iOS
- 2024-05, iPhone iOS 17.5: Privacy manifests and signatures required for the SDK
- 2025-10, Android Android 16: Privacy Sandbox wind-down: Install Referrer plus GAID remain the Android core
Related capabilities
Related
- Probabilistic install matching (IP plus user agent). Can guess which ad led to your install by matching your IP, phone model and timing
- Install referrer. Can learn which ad or link led to your install, for 90 days after
- SKAdNetwork 4 (postbacks). Can tell an ad network an ad led to an install, in a delayed report
- Third-party SDK data sharing. Can share anything the app can see with its add on tools, who send it on
Same idea on the web
- Ad click IDs (gclid, fbclid, msclkid and more). Can tag your ad click so a later purchase links back to that exact ad
Sources
How well checked: Based on official documentation.