This repository contains a sample application demonstrating how you can use Mixpanel in your Android apps.
The sample application can be build using Android Studio.
Integration in Android Studio is very simple.
- Clone this git repository (the instructions are at the top of the page)
- Within Android Studio, go to "File > Import Project"
- Select the directory you just cloned.
- When the gradle popup shows up, choose "use gradle default wrapper (recommended)" and click OK
You should now be able to run the sample application
You will also need to add your Mixpanel API token
- Create your 👉https://www.mixpanel.com👈 Account and setup Project in Mixpanel.
- Setup Project in MixPanel. In "ORGANIZATION SETTINGS", click Projects.
- Click Create Project. The "Create New Project" box appears.
- Enter a name for the project and click Create Project. The new project appears in the list of projects. Congratulations 🎊🎉🍾🎈
- Copy mixpanel token and past in " MainActivity.java " file and " EventLogger.java " file.
- Note📝📝📝: Now can also create your Singleton instacne. This is just a demo code.
For more about Mixpanel implementation or documentation please go to the office link: https://developer.mixpanel.com/docs/android