Mixpanel setup → The right way
Here's the best way to setup Mixpanel to gain insights about user behavior.
An end-to-end Mixpanel setup has 5 steps:
Creating the Event Tracking implementation Spec
Inserting code into the product codebase & ensuring accurate data flow into Mixpanel
Create an analytics strategy
Building out dashboards on Mixpanel
Deep dive to gain insights
Let’s go through each step in detail.
Creating the Event Tracking implementation Spec
An Event tracking plan is a structured document that lists down all the user interactions that need to be tracked, along with the data to be sent with each interaction.
User interactions are called events, & data sent with them are called properties.
Here’s a sample tracking plan for your reference. Feel free to duplicate it, & use it for your product. Refer here for a detailed guide on creating the tracking plan.
💡 Note: Please ensure to use User profile properties & Super properties in your tracking. They will allow you to do deeper analysis.
To read more about what are super properties, & user profile properties, read this article.
Inserting code & ensuring accurate data flow into Mixpanel
Once the tracking plan is ready, ask your Developer to follow the tracking plan & insert code accordingly. Refer to Mixpanel documentation for more details on how to send the code.
Next, fire events from your product, go to Mixpanel, & ensure all events & properties are flowing in the right manner.
If they’re not, talk to the developer & get them fixed.
Create an analytics strategy
The objective of the analytics strategy is to be able to build a story around your product, about how users are using the product.
There are multiple frameworks that you can use to create an analytics strategy. The one, I love the most is using the AAARRR funnel.
Here’s a quick article on how you can use AAARRR funnel to create the analytics strategy.
💡 Make sure you have a north star metric for each piece of the AAARRR funnel, & then KPIs that can inform the north star metric.
Building out dashboards on Mixpanel
A dashboard should tell a story, & should be on point. Hence, it’s very important to structure them in the right way.
Follow the analytics strategy, & build out those metrics on Mixpanel.
While building dashboards, ensure the following:
The dashboard must tell the entire story about the product. For example, if you have a dashboard around Awareness, the dashboard should answer questions like where’s the traffic coming from, what’s the bounce rate, etc.
The dashboards should be pretty easy to read, & understand.
The dashboards should be dynamic. This means easy filtering using properties, user cohorts, etc.
Deeper analysis
The initial setup of dashboards will give you a good overall understanding of what’s happening in your product.
However, it will not help you answer the “Why”, or improve the product.
You can only do this by:
Developing hypothesis from the dashboards/ Identifying weak areas
Running A/B tests/ Deep dive to understand the “WHY” behind
Introducing changes to the product
Measuring impact on the North star
💡 Use analytics as an insight tool, not as an information tool.
If you’re only using Mixpanel to get metrics, you’re doing it wrong. You’re not utilizing it to its fullest. Use it to understand user behavior, run experiments, & drive the product forward.
Hope this was helpful. If you’re looking for any help on the mixpanel setup, feel free to reach out using any of the below methods.
LinkedIn | Email - anshdoesanalytics@gmail.com | Book a slot on my calendar