# \[iOS\]- Can we use 'Allow App Tracking(App Tracking Transparency Framework)' for Dynatrace user opt-in?

**URL:** <https://community.dynatrace.com/t/ios-can-we-use-allow-app-tracking-app-tracking-transparency-framework-for-dynatrace-user-opt-in/52680>\
**Category:** Real User Monitoring\
**Tags:** mobile-monitoring, ios\
**Created:** [July 29, 2025, 2:29am UTC](https://community.dynatrace.com/t/ios-can-we-use-allow-app-tracking-app-tracking-transparency-framework-for-dynatrace-user-opt-in/52680 "2025-07-29T02:29:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lbgtolentino](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@lbgtolentino](https://community.dynatrace.com/u/lbgtolentino)\
**Post date:** [July 29, 2025, 2:29am UTC](https://community.dynatrace.com/t/ios-can-we-use-allow-app-tracking-app-tracking-transparency-framework-for-dynatrace-user-opt-in/52680/1 "2025-07-29T02:29:17Z")

</div>

For iOS, we are thinking of not adding more prompt to users and just use the native “Allow App Tracking” prompt for user opt-in in dynatrace, this also allows users to disable enable in device settings whenever they want to opt-in or not.  
Any advice against using this? Thank you.

 ![tracking device settings.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/e/8e28460c6a88f390b824f102bfa21a2c652a07de.png)

 ![app tracking prompt.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/7/d753ff2c7509fd5eb46df2327ba92079fb732200.jpeg)

---

<div class="post-metadata">

**Author:** ![Patrick\_H](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/patrick_h/32/37540_2.png) [@Patrick\_H](https://community.dynatrace.com/u/Patrick_H)\
**Post date:** [August 11, 2025, 7:37am UTC](https://community.dynatrace.com/t/ios-can-we-use-allow-app-tracking-app-tracking-transparency-framework-for-dynatrace-user-opt-in/52680/2 "2025-08-11T07:37:32Z")

</div>

It _could_ be used, but developers have to take care to reflect the tracking status set there and set it to Dynatrace if it changes. We did not yet research this as it is more intended for cross-venoder data sharing (e.g. like some cookies) and tracking &nbsp;users over different systems and not for monitoring data - so using it would be a bit of a misuse of what is was intended for.  
If it is used developer needs to take care to set chosen state to Dynatre on first config and also later poll for changes in [ATTrackingManager.AuthorizationStatus](https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/authorizationstatus)&nbsp;as there is no callback on when the user changes its choice in settings. Also there is no way in re-showing the initial teackin dialog if you e.g. want do ask users if they want to opt in/out in bew features of Dynatrace you activated like session replay - I strongly advice for a separate setup here.
