Skip to content
pubscout

firebase_analytics

13.1.0, released 4 days ago by firebase.google.com

Flutter plugin for Google Analytics for Firebase.

WASM-ready
$ flutter pub add firebase_analytics
Source repository

What it does

Provides an app measurement solution that gives insight into app usage and user engagement on Android, iOS, web, and macOS. Connects your Flutter application to the Firebase Analytics API.

AI-written summary of version 13.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to track user engagement and app usage statistics.
  • Your project already utilizes Firebase services.

Skip it when

  • You require self-hosted or offline-only analytics without Google services.
  • Your project does not use Firebase.

Strengths

  • Official Firebase plugin supporting multiple platforms including web and macOS.
  • Integrates seamlessly with other Firebase products.

Weaknesses

  • Requires proper Firebase project configuration and initialization.
  • Tied strictly to Google Firebase ecosystem.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
4

Requires setting up a Firebase project and configuring the app for Android, iOS, web, or macOS following the Firebase documentation.

import 'package:firebase_analytics/firebase_analytics.h';

Alternatives

Packages that do the same job and could replace firebase_analytics.

  • clevertap_plugin

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

  • gtm

    Flutter plugin for Google Tag Manager on iOS, Android, and Web.

Works with

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