Skip to content
pubscout

ambilytics

1.2.0, released 11 months ago by saplin.blogspot.com

Google Analytics wrapper for all Flutter platforms including Windows and Linux

WASM-ready
$ flutter pub add ambilytics
Source repository

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.

  • clevertap_plugin

    CleverTap Flutter SDK for mobile customer engagement, analytics, and retention solutions.

  • airbridge_flutter_sdk

    Official Airbridge Flutter SDK for mobile attribution, campaign tracking, deep linking, and analytics. Measure app performance across iOS and Android platforms.

  • telemetrydecksdk

    Flutter SDK for TelemetryDeck, a privacy-conscious analytics service for apps and websites

Works with

Packages commonly used together with ambilytics: ones it builds on, ones built on it, and its own family.