iOS App Tracking Transparency
Last updated
Last updated
For iOS 14.5+, Apps must take Tracking Consent from user if your app collects data about end users and shares it with other companies for purposes of tracking across apps and web sites.
To use AppTrackingTransparency you will need to enable Request Tracking Authorization from App permission tab.
There are two ways apps can prompt user for permission
On App load: if Request Tracking consent on load is enabled then app will prompt user for Tracking consent on app launch
Manually: If Request Tracking consent on load is disabled, you can call below javascript interface manually to ask for Tracking consent
To check whether Tracking consent was given (either through the manual prompt or automatic prompt), you can call following method:
Note :
The result object will be { granted: true|false } based on the user's response to the consent prompt.
For iOS 14.4 and lower, result object will always be { granted: true}