1. Initialization

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 the Appodeal Set User Id action.

ะก++

UE4 set user id
UAppodealComponent::setUserSettingsUserId(FString UserId);

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.

2. Set the age of the user

Use the Appodeal Set User Age action to set user age. Age must be a positive integer value.

C++

UE4 set the age of the user
UAppodealComponent::setUserSettingsAge(int age);


3. Specify gender of the user

Use the Set User Gender action to specify the gender of the user.

Available parameters: 

  • FEMALE;
  • MALE;
  • OTHER.

C++

UE4 gender of the user
UAppodealComponent::setUserSettingsGender(Gender gender);
Available parameters: Gender::FEMALE, Gender::MALE, Gender::OTHER.

4. Track in-app purchases

Appodeal Track In App Purchase action 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 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 Appodeal SDK. 

The amount accepts float value and currency is a string.

C++

UE4 track in-app purchases
UAppodealComponent::trackInAppPurchase(float amount, FString currencyName);