ambilytics
1.2.0, released 11 months ago by saplin.blogspot.com
Google Analytics wrapper for all Flutter platforms including Windows and Linux
What it does
Ambilytics provides a unified analytics interface across Android, iOS, macOS, Web, Windows, and Linux. It uses Firebase Analytics for supported platforms and the GA4 Measurement Protocol for Windows and Linux.
AI-written summary of version 1.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need Google Analytics across all six Flutter platforms, including desktop.
- You want a unified event tracking and navigation observation interface.
Skip it when
- You require full automatic geo, demographic, and language data collection on Windows and Linux.
- You only need mobile or web analytics and can use standard Firebase plugins directly.
Strengths
- Brings Google Analytics support to Windows and Linux via Measurement Protocol.
- Provides a unified API wrapping different backends.
- Includes navigation observers and automatic app start tracking.
Weaknesses
- Measurement Protocol on Windows and Linux does not support standard events like screen_view out-of-the-box.
- Requires manual configuration of both Firebase and GA4 Measurement Protocol API secrets.
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 5
Requires running flutterfire configure, editing macOS entitlements, and setting up a GA4 Web stream and API secret.
void main() async {
await ambilytics.initAnalytics(
measurementId: 'G-6R363DDKTZ',
apiSecret: 'uzUv6h_iRS6hEt_sIVtTTA',
firebaseOptions: DefaultFirebaseOptions.currentPlatform);
runApp(const MyApp());
}Alternatives
Packages that do the same job and could replace ambilytics.
- mixpanel_flutter
Official Mixpanel tracking SDK for Flutter analytics.
82Compare - clevertap_plugin
CleverTap Flutter SDK for mobile customer engagement, analytics, and retention solutions.
80Compare - 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 - telemetrydecksdk
Flutter SDK for TelemetryDeck, a privacy-conscious analytics service for apps and websites
73Compare
Works with
Packages commonly used together with ambilytics: ones it builds on, ones built on it, and its own family.
- uuidambilytics depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- shared_preferencesambilytics depends on itFlutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.
- firebase_coreambilytics depends on itFlutter plugin that initializes Firebase and allows multiple Firebase app connections.
- firebase_analyticsambilytics depends on itFlutter plugin for Google Analytics for Firebase.