SDKs: Send Data from Your Application
Our SDKs allow you to implement Mixpanel in a wide range of environments. Visit our Github repo to see the library source code. If you do not see an SDK in your preferred language, leverage our HTTP APIs directly.Client-Side SDKs
Client-side SDKs run in the user’s browser or on their mobile device, making it easy to track user interactions and automatically capture device information.Javascript
Track events in web browsers with autocapture and session replay
React Native
Cross-platform mobile tracking for React Native apps
Android
Native Android SDK with replay and feature flags
iOS (Objective-C)
Legacy iOS SDK for Objective-C apps
iOS (Swift)
Modern Swift SDK with replay and feature flags
Flutter
Cross-platform tracking for Flutter applications
Unity
Game analytics for Unity game engine
JavaScript SDK Quick Start
The easiest way to get started with web tracking:Server-Side SDKs
Server-side SDKs are designed for backend environments where you have full control over the tracking logic. These SDKs are more reliable and not affected by ad-blockers.Python
Server-side tracking for Python applications
Node.js
Async JavaScript tracking for Node.js servers
Ruby
Server-side tracking for Ruby applications
PHP
Server-side tracking for PHP applications
Go
High-performance tracking for Go applications
Java
Enterprise-grade tracking for Java applications
Python SDK Quick Start
Node.js SDK Quick Start
Session Replay SDKs
Capture user sessions with video-like replay capabilities to understand exactly how users interact with your product.Android Replay
Record and replay Android user sessions
Swift Replay
Record and replay iOS user sessions
JavaScript Replay
Record and replay web user sessions
React Native Replay
Record and replay React Native sessions
SDK Features
Event Tracking
Event Tracking
All SDKs support tracking custom events with properties. Events capture user actions and important moments in your product.
User Profiles
User Profiles
Store demographic and behavioral data about your users with profile properties.
Identity Management
Identity Management
Link anonymous users to identified users as they sign up or log in.
Group Analytics
Group Analytics
Analyze behavior at the account or company level with group analytics.
Autocapture (Web & Mobile)
Autocapture (Web & Mobile)
Automatically track clicks, page views, and form submissions without writing code.
API Endpoints by Data Residency
Ensure you configure your SDK to use the correct API host based on your project’s data residency:Utility Libraries
mixpanel-utils
Python utilities for data import, export, and transformation
Next Steps
View All SDK Docs
Detailed documentation for each SDK
Best Practices
Learn how to implement tracking correctly