mixpanel_flutter
3.2.0, released 3 weeks ago by an unverified publisher
Official Mixpanel tracking SDK for Flutter analytics.
What it does
Provides tracking and analytics capabilities for Flutter applications using the Mixpanel API. Supports manual tracking, user properties, automatic events, and autocapture for clicks, rage clicks, and dead clicks.
AI-written summary of version 3.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to integrate Mixpanel analytics into your Flutter application
- You want to track user events, properties, and automatic mobile analytics
Skip it when
- You need a backend-agnostic logging framework like logger or sentry
- Your app targets iOS versions below 15.0 or macOS below 12.0 when using v3.x
Strengths
- Official SDK developed and maintained by Mixpanel
- Supports web, android, ios, and macos platforms
- Includes autocapture features for clicks, rage clicks, and dead clicks
Weaknesses
- Requires minimum iOS 15.0 and macOS 12.0 for version 3.x
- Web setup requires inserting a script tag into web/index.html
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Requires adding the dependency to pubspec.yaml, initializing Mixpanel with your project token in Dart code, setting platform deployment targets for iOS and macOS, and adding a script tag to web/index.html for Flutter Web support.
Future<void> initMixpanel() async {
Mixpanel mixpanel = await Mixpanel.init("Your Mixpanel Token", trackAutomaticEvents: false);
mixpanel.track('Sent Message');
}Alternatives
Packages that do the same job and could replace mixpanel_flutter.
- appsflyer_sdk
Flutter plugin for the AppsFlyer mobile attribution and analytics SDK.
88Compare - singular_flutter_sdk
A Flutter plugin for the Singular SDK to track events, revenue, and deep links.
66Compare - airbridge_flutter_sdk
Official Airbridge Flutter SDK for mobile attribution, campaign tracking, deep linking, and analytics. Measure app performance across iOS and Android platforms.
73Compare - repro_flutter
A plugin for using the Repro Android/iOS SDK in Flutter applications.
65Compare