User profile attributes
Custom attributes define the characteristics of the user such as gender, age, type of subscription, number of levels, etc. They are displayed in the reports and profiles can be used to segment other reports. To collect custom attributes, you should configure sending in the AppMetrica SDK. For more information, see Configuring the sending of attributes.
AppMetrica has predefined and custom attributes.
Predefined attributes
Attributes that are specific to users of any application and already defined to the AppMetrica SDK:
- ProfileId
-
User profile ID. Takes the value of an arbitrary string.
Alert
AppMetrica doesn't display predefined attributes in the web interface if
ProfieId
sending isn't configured. - Gender
-
Gender of the user profile. Possible values:
male
|female
|other
. - Age
-
Date of birth or age of the user profile.
- Notifications enabled
-
Status of user profile notifications. It indicates whether the user has enabled notifications.
- Name
-
The name of the user profile.
Note
AppMetrica also has a system Gender and Age attributes, which are detected automatically using the [Crypta] technology(https://yandex.ru/company/technologies/crypta).
To collect predefined profile attributes, you should configure their sending in the AppMetrica SDK. For more information, see Configuring the sending of attributes.
Custom attributes
Attributes that are not defined in the SDK and may differ for different types of applications. The name and type of custom attributes are set manually in the application settings.
AppMetrica lets you configure sending of up to 100 custom attributes of the following types:
- String
- Takes the value of an arbitrary string.
For example:
Subscription type: Free | Trial | Premium
. - Number
- Takes a numeric value.
For example:
Number of widgets on the screen: 1 | 2 | 3 | 4
. - Bool
- Takes the value of binary logic.
For example:
Paid subscription: true | false
. - Counter
- Performs the adding or subtracting operation.
For example:
Number of completed levels: +1
.
To collect your own custom profile attributes, you must add them in the app settings and configure sending in the AppMetrica SDK. For more information, see Configuring the sending of attributes.
See also
If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.