Skip to main content
Device Permissions1 min read

App Tracking Transparency (iOS)

When your iOS app needs Apple's App Tracking Transparency prompt, how to turn it on in WebAppStudio, and how to write the tracking purpose text.

Overview

Apple requires apps to ask permission before tracking users across other companies' apps and websites, for example for targeted advertising or sharing data with ad networks. This is the App Tracking Transparency (ATT) prompt. It exists on iOS only.

Do you need it?

You need it if your app, or scripts on your website, track users across other companies' apps or websites: advertising pixels, ad networks or data brokers.

You usually do not need it for first-party analytics of your own app or site that is not shared for advertising. If you are unsure, check Apple's guidance on tracking and your App Store privacy labels: they must match what you declare.

Turn it on

  1. Open Permissions › Device › App Tracking Transparency.
  2. Turn on Enable App Tracking Transparency Prompt.
  3. Enter the tracking purpose shown by iOS, for example "Your data is used to deliver personalized offers."
  4. Save and start a new build.

The native Apple ATT dialog then appears on first launch.

Respecting the answer

If the user declines, iOS blocks the device's advertising identifier for your app. Make sure your website also stops cross-app tracking for users who declined, for example by adjusting the consent settings of your marketing scripts.

For the Firebase Analytics plugin, consent and advertising ID collection are separate settings; see Firebase Analytics.

Next steps