A Mixpanel User profile reflects the most recent information about a user.
Mixpanel builds profiles by connecting information about a user to a distinct_id, which creates a location that collects current information about a user.
User profiles enable you to:
- Analyze how users navigate an application.
- Store and update additional information about your users.
- Use the Messages and Journeys feature.
Mixpanel User profile properties contain properties that describe a user and the activity feed that displays events the user performed.
You can use the Explore report to aggregate and organize a collection of User profiles.
User Profile Properties
A user profile property can be a static value, such as first name, or a dynamic value that changes, such as the date of last login or the number of times the user purchases a song.
Mixpanel requires two methods to capture User profile properties and build profiles:
- Identify users with Mixpanel’s identify call: mixpanel.identify();
Mixpanel associates all future events sent from the library with the distinct_id ‘Sofia’.
- Set user profiles with Mixpanel’s people set call: mixpanel.people.set();
Mixpanel adds the user name and address to the user’s profile.
You must use the identify call with the people set call to get User profile properties and set a user’s profile.
In Mixpanel, you can change User profile properties, such as a phone number or age, at any time. As a result User profiles reflect the most current information about a user. Conversely, you cannot change event properties. Properties that are sent with an event never change. You can change properties in that event, but those changes won’t affect the previous instance of that event.
Mixpanel provides five data types to set a user’s properties: string, numeric, boolean, date, and list type. You can use those data types to set your own user profile properties. For example, you could set user profile properties such as: date of last purchase, number of purchases, subscription status, or total amount spent.
To learn more about event and User profile properties, see Event Properties, Super Properties, User Profile Properties.
The Activity Feed displays all the events an individual user performs. The distinct ID connects the events to the User profile.
This image shows an example of a user’s activity feed. In this view, you can see the seven events that share the same distinct ID with the user, Shayan.
User Profiles and Messaging
To create targeted messages or build a journey, you need relevant user information for the notification you chose. Mixpanel has reserved user profile properties you can use to target users in messaging. Then you can use those User profile properties to filter messages. For example, if your app sells shoes, you could filter your properties to target an email to users who bought a particular brand, style, and size.