Installation
1
Add to manifest
Add to Or specify a version:
./Packages/manifest.json:2
Configure in Unity
- Open Edit → Project Settings → Mixpanel
- Enter your project token
- Click Save
3
Import and use
Supports Unity 2018.3+ with .NET 4.x or higher.
Track Events
Timing Events
Flush Events
Identify Users
Reset on Logout
User Profiles
- SetOnce()
- Increment()
- Append()
- Union()
Super Properties
Group Analytics
Privacy Controls
Opt Out
EU/India Data Residency
Configure in Edit → Project Settings → Mixpanel:- EU: Set API Host Address to
https://api-eu.mixpanel.com/ - India: Set API Host Address to
https://api-in.mixpanel.com/
Debug Mode
Enable in Unity Project Settings → Mixpanel or:Platform Considerations
- Works on all Unity platforms (iOS, Android, WebGL, Desktop)
- Events flush every 60 seconds (configurable)
- Super properties persist in local storage
- Supports both 2D and 3D games
- Compatible with Unity’s IL2CPP backend
For manual initialization, select “Manual Initialization” in settings and call
Mixpanel.Init().