User profile

A user profile describes an individual application user as a set of attributes, such as name, gender, age, and so on. AppMetrica lets you collect this information and analyze it in profile reports, or use profile attributes to segment other reports.

Why do I see multiple profiles for a single user?

Most likely, you didn't provide the user profile ID when initializing the library. In this case, the AppMetrica SDK creates a technical profile with an ID of appmetrica_device_id. Calling the setUserProfileID method with the new ID creates a new profile, yet the technical profile still remains.

To prevent the creation of a technical profile, tweak how you send the ID when initializing the library using the extended config. On Android, you can do that by calling the withUserProfileID method; on iOS, edit the userProfileID property.

Alert

Unlike event attributes, a profile attribute can take only one value. When you send a new attribute value, the old value is overwritten.

There are two types of attributes in AppMetrica:

  • System attributes: The attributes that the AppMetrica SDK detects automatically, such as the information about a device, app, and location or other data.

  • Custom attributes: The attributes that define user characteristics, such as their gender, age, subscription type, number of levels completed, and so on. To collect this data, you need to configure sending attributes in the AppMetrica SDK. For more information, see User profile attributes.

System and custom attributes are displayed in the profile card and available for grouping data in profile reports.

Set up sending profile attributes

You can configure the AppMetrica SDK to send predefined and custom profile attributes. Predefined attributes are already defined in the SDK and have a special format of sending. To send your own custom attributes, you must add the attribute in the application settings.

Alert

Do not pass personal or confidential user information in profile attributes.

This section explains the steps for setting up AppMetrica to send attributes:

Step 1. Add an attribute in the app settings

  1. In the AppMetrica interface, go to the app settings from the menu on the left.
  2. Open the Profile attributes tab.
  3. In the Custom section enter the name of the new attribute in the corresponding field.
  4. Select a variable type from the drop-down list and click Add.

There is a list of all attributes of the app and their status in the Profile attributes settings section. To stop collecting an attribute and remove it from reports, click Archive.

Step 2. Setting up the attribute values sending in AppMetrica SDK

Alert

AppMetrica doesn't display predefined attributes in the web interface if ProfieId sending isn't configured.

Examples of sending profile attributes on various platforms:

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.

Contact support