Set user data
Our SDK provides the transfer of user data for better ad targeting and higher eCPM. All parameters are optional.
To obtain reference to the user settings, please call this before the SDK initialization:
2. Set user's id
For data privacy and GDPR-compliance reasons, you may NOT use email address, phone number, real name or any other personally identifiable information in the user ID you set with this call.
3. Set the age of the userAge must be a positive integer value.
4. Specify gender of the userPossible values:
5. Track in-app purchases
Tracks in-app purchase information and sends info to Appodeal servers for analytics. It allows to group users by the fact of purchasing in-apps. This will help you to adjust the ads for such users or simply turn it off, if needed. To make this setting work correctly, please submit the purchase info via the Appodeal SDK.Example: