User attributes are user-specific information that you can pass through your mobile application. They can be used to segment your user base, thanks to our Target Audience feature. There are two types of user attributes in the Purchasely console
Built-in user attributes
The value of these attributes are received by Purchasely system by default. Please find below the list of Purchasely's built-in attributes:
Name | Key | Datatype |
Anonymous id |
| String |
App version |
| String |
Device manufacturer |
| String |
Device model |
| String |
Device type |
| String |
Is logged in |
| Bool |
Language |
| String |
Store Country |
| String |
OS name |
| String |
OS version |
| String |
SDK version |
| String |
User id |
| String |
⚠️Please note that the built-in attributes can be neither deleted nor edited.
Custom Attributes
You can collect and store custom user attributes in addition to built-in attributes. Regardless the type of attributes, You can create as many of themuser attributes as you need.
How to create Custom Attributes
You can create user attributes from the User attributes
under Settings
Click on New User Attribute in the top right corner
Name
: The name of your user attribute can be alphanumeric, and you can't give the same name to another attribute
Key
: Key is the ID your developer can use to send the right value through the SDK
Data type
: Data types can be either one of the following: string, bool, date, int (used for the whole number), and float(used for the decimal numbers)
⚠️You can neither edit nor delete the user attribute once an audience is created using them.
Refer to this article on how to create an audience.