DEV Community

Emre
Emre

Posted on Originally published at storeok.dev

App Tracking Transparency: when your app needs the ATT prompt

Since iOS 14.5, an app must get permission through the App Tracking Transparency (ATT) framework before it tracks users or reads the device's advertising identifier (IDFA). The question is whether what your app — or an SDK inside it — does counts as tracking.

What Apple calls tracking

Linking user or device data from your app with data from other companies' apps, websites or offline properties, for targeted advertising or advertising measurement. Sharing user or device data with a data broker counts too. Apple's examples:

  • showing ads in your app targeted with data collected from other companies' apps and websites;
  • sharing location data or email lists with a data broker;
  • sending emails, advertising IDs or other IDs to an ad network for retargeting or lookalike audiences;
  • including an SDK that combines your app's data with other developers' data for ad targeting or measurement — "even if you don't use the SDK for these purposes".

What isn't tracking

  • Linking data only on the device, without sending it off in an identifying way.
  • Sharing with a data broker solely for fraud detection, fraud prevention or security.
  • Using a consumer reporting agency for credit purposes.

The identifier for vendor (IDFV) can be used for analytics across your own apps without ATT, but not combined with other data to track users across other companies' apps and websites.

What happens without permission

  • The IDFA comes back as all zeros.
  • You can't track with another identifier instead, such as a hashed email or phone number.
  • Fingerprinting — deriving device data to uniquely identify it — isn't allowed, with or without ATT.

Rules for the prompt

  • You choose when to show it. You can explain why first, as long as you're transparent.
  • You can't lock features or rewards behind granting permission.
  • Add NSUserTrackingUsageDescription to Info.plist with a clear reason; that's the text in the system prompt.

Do you need it?

  • Ad SDKs serving personalized ads (AdMob, AppLovin, Unity Ads, Meta Audience Network…): yes, in practice.
  • Attribution SDKs (AppsFlyer, Adjust, Branch) used for ad measurement: usually yes.
  • Analytics and crash reporting only, without ad features: usually no.

Whatever you decide, keep it consistent: the "Used to Track You" part of your App Privacy label, the NSPrivacyTracking key in your privacy manifest, and your privacy policy should all say the same thing.


Originally published on StoreOK. Checked against the official Apple / Google pages on 2026-11-27 — store rules change, so verify before you rely on it. Not legal advice.

Want to see what your own app needs to declare? Scan your dependency file — it runs in your browser, no signup.

Top comments (1)

Collapse
 
userxnom profile image
Abdullah Naseer •

This is the ATT explainer I wish I had read before shipping my first app with an ad SDK in it. The distinction most indie devs get wrong is the one you put front and centre: the question is not whether your app tracks, it is whether anything inside it — an SDK included — links your user's data with someone else's. That reframes the whole decision from "do I show a scary prompt" to "what is actually inside my binary".

Two details I am keeping: first, that the IDFV covers analytics across your own apps without ATT, which is the answer for most solo builders who only need to know how their own apps are used. Second, that a denied IDFA is all zeros and you cannot swap in a hashed email or phone number instead — the workaround people reach for first is the one Apple explicitly bans, and fingerprinting is banned with or without ATT.

The consistency triad at the end is the real checklist: the "Used to Track You" label, the NSPrivacyTracking key in the privacy manifest, and the privacy policy all saying the same thing. That is where rejections actually come from, not the prompt itself.

One question: you say you can explain why first before showing the prompt — in practice, when do you show it? At first launch, or after the user has seen value, say after the first session? I have heard both argued, and I am curious which timing you have seen work without pushing the allow rate into the floor.