Personalized offers
You can create personalized offers for different user groups. For example, players with a certain level or number of transactions, can receive a discount when purchasing virtual items.
The configuration of personalized offers uses read-only user attributes. For example, use them for the chance to get a bonus, game character key parameters, user categories, etc. The values for this type of attributes are entered and edited on the server side of your application.
To set up personalized offers:
- Set up attributes validation rules in JSON Schema format.
- In your application, implement the logic to pass attribute values to storage. To do this, use the following API methods:
Note
If you implement user authentication via a custom ID in your application, you can pass attribute values when calling the Auth by custom ID API endpoint.
- Set up rules for personalized offers. You can set one or more conditions for personalization of:
- To display a personalized catalog, pass the token received during user authorization to the Store library methods:
getVirtualItems
getAllVirtualItems
getVirtualCurrency
getVirtualCurrencyPackages
getItemsOfGroup
getBundle
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Useful links
Last updated: January 22, 2024Found a typo or other text error? Select the text and press Ctrl+Enter.