Implementation Mixpanel in Android — Part 1

taimur tanveer
2 min readOct 27, 2019

Mixpanel is the most advanced analytics platform which is used to track user interaction with the web and mobile apps. First, let’s talk about some theory stuff then we will move on implementation.

Mixpanel gives us so many amazing features like funnels, Flows, Insights, A/B testing, Email message, SMS messages, Push notification, In-app messages and so many more features. Note that Mixpanel is not free, it’s a paid tool and a little bit expensive but these days Mixpanel is a powerful tool for reporting as compared to Firebase.

Events:
Mixpanel can help to increase user engagement through event tracking. Event is some action that is performed by users like ‘Login Button Clicked’. You can easily extract how many users clicked on the Login button by implementing the aforementioned event.

Mixpanel fires some default events like First App Open, App Update, App Crashed and App Session etc but you can also create your custom events easily as well, which I’ll talk about in the next article in this series.

Please check the below link for further details of default events.
https://help.mixpanel.com/hc/en-us/articles/115004596186-Default-Mobile-Events-Collection

Funnel:
Funnel calculates and displays the users that convert from one event to another event. In simple words extracting data from user steps, you can easily check the drop off percentage of users. For example, how many users visit the Splash Screen, clicked the Login button and then Successfully Logged in. So, by using Funnel you can easily track how many users faced an issue during Login.

MixPanel Funnel Sample
Mixpanel Funnel Sample by MixPanel

Insights:
Insights will show you the top events that are performed by the user. You can easily check total events or unique user events from the filters that are available on Mixpanel. More interesting things are that you can easily check MAU(Monthly active users), DAU(Daily active users) or WAU(Weekly active users) from your custom events or default events. For better reports please use your custom events to check DAU or any kind of reports.

Insights Sample Image

Mixpanel helps you to create user profiles with custom properties like phone no, address and whatever else you want and most importantly you can check the User behavior from their profile in Mixpanel.

Note: You must implement events in android for extracting data.

--

--