DTDAnalytics.xcframework
to the project (with Do Not Embed specified)AppTrackingTransparency.framework
AdSupport.framework
didFinishLaunchingWithOptions
method:config
- an object instance of DTDAnalyticsConfiguration
, which is used for specifying additional properties during the initialization.DTDAnalyticsConfiguration
currentLevel
userId
trackingAvailability
DTDTrackingStatus.enable
. SDK stores the previously assigned value. Pass DTDTrackingStatus.disable
if the user opted out of tracking in line with GDPR.logLevel
DTDLogLevel.no
value is used by default. For troubleshooting during integration it is recommended to set it to DTDLogLevel.debug
, and either switch it off DTDLogLevel.no
or use it only for error handling DTDLogLevel.error
in the release version.#import <DTDAnalytics/DTDAnalytics-Swift.h>