Can you explain the differences between User and Event properties?
Hi Jorge C., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> 👋
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
Certainly! In Mixpanel, User Properties and Event Properties serve different purposes and are handled differently:
Event Properties
- Definition: Event properties are attributes that describe the specifics of an event—an action a user takes in your product. - Examples: For a "Page Viewed" event, properties might include "Page URL" or "Referrer". For a "Purchase" event, properties could be "Item Name" or "Price". - Immutability: Once an event is tracked, its properties are immutable—they reflect the value at the time the event occurred and cannot be changed later. - Usage: Event properties are used to provide context for analysis, such as filtering or breaking down events by property values (e.g., "How many purchases were made for each item?") Events: Capture behaviors and actions.
User Properties
- Definition: User properties (also called profile properties) are attributes that describe the current state or demographics of a user, such as their name, email, or subscription status. - Examples: "Name", "Email", "Country", "Subscription Type". - Mutability: User properties are mutable—Mixpanel always stores and joins the latest value of each property to events at query time, not at the time the event was recorded. - Usage: User properties are useful for cohorting users or filtering events by the user's current attributes (e.g., "Show events for users whose current country is Singapore") User Profile: Demographic attributes for your users.
Key Differences
- Timing: Event properties capture the value at the moment the event happened; user properties always reflect the latest value. - Data Model: Events and user profiles are stored in separate tables and joined at query time using the user's distinct ID Data Model: How Mixpanel data is organized. - Use Cases: Use event properties for details that change over time and are important for historical analysis. Use user properties for current demographic or state information.> If you want to analyze how a user's attribute changed over time (e.g., subscription plan), track it as an event property. If you only care about the current value, use a user property User Profile: Demographic attributes for your users - FAQ.Let me know if you need examples or further clarification!
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
