Stratkit AppsFlyer Plugin¶
This package provides a simple integration with AppsFlyer SDK for Unity. It allows you to track installs and conversions in your game.
To use this package, you need to have an AppsFlyer account and an AppsFlyer SDK key. Provide the SDK key in the AppsFlyerModule
scriptable object along with the app's Apple ID.
GDPR consent handling is done outside of this package. Use the AppsFlyerConsentContainer
to pass consent data acquired elsewhere to the AppsFlyer service.
Collect IDFA with ATTrackingManager on iOS 14 and above¶
For AppsFlyer to collect the IDFA on iOS 14 and above, the user needs to opt in to tracking. This is done by showing a dialog to the user asking for permission to track the user. The dialog requires the "NSUserTrackingUsageDescription" field to be set in the "Info.plist", this is done with support for localization by setting the "User Tracking Usage Description" in "Project Settings" -> "Localization" -> "Metadata" -> "iOS App Info".