What are events & properties in Mixpanel?
In Mixpanel, data about how users interact with your product is captured through events and properties.
In Mixpanel, data about how users interact with your product is captured through events and properties. Let’s break these down into simple terms.
Event: Think of an event as an action a user takes on your product. For example, if a user signs up, you can record an event named "user signed up.”
Properties: Properties are additional pieces of information you attach to an event to give it more context. Using our sign-up example, properties could include the user's email or the sign-up method.
To make it simple, Events are tables & properties are column names.
While events are straightforward, properties are of major 3 types - event, profile & super.
Before deep-diving into each of them, let me set up a scenario to make the understanding easier.
Imagine you run a product with a freemium model. A user, currently on a free plan, decides to upgrade to a premium plan (out of premium vs pro). This action triggers an event called "user_upgraded", along with a property “plan_type” containing value “premium”.
And, you’ve set “plan_type” as a super & profile property too, apart from just an event property.
Event Properties
“Plan_type” directly attached to the event “user_upgraded” is the event property. It helps analyze specific details about the event, like what plans users prefer when they upgrade.
Profile properties
Profile properties differ from event properties in that they are tied to the user, not the event.
When the "user_upgraded" event occurs, and we set "plan_type" as a profile property, it gets attached to the user.
It’s valuable to segment users & understands behaviour based on plan types (free vs premium vs pro).
Profile properties always show the current state of the user. Hence, if the user changes plans again, this property updates, losing the previous value.
This means you can’t backtrack the user’s plan when they perform a certain event. And, that’s where super properties come into play.
Super properties
When “plan_type” is set as a super property, it gets attached to every subsequent event, post the “user_upgraded” event.
Now, if the user changes their plan, the super property will update and the new value will start flowing for all subsequent events from that moment.
However, there will be no change to the value attached to the previous events. Now, you have a simple way of knowing what the “plan_type” value of a user was, when they performed a specific event.
Refer here to read about all the steps involved in a Mixpanel setup.
Hope this was helpful. If you’re looking for any help with Mixpanel, feel free to reach out using any of the below methods.
LinkedIn | Email - anshdoesanalytics@gmail.com | Book a slot on my calendar