Search packages, repositories and app categories

Package detailsv1.1.13

segment_analytics

The hassle-free way to add Segment analytics to your Flutter app.

AndroidiOSWebmacOS
30-day downloads
63.6K
Likes
11
Pub points
120

Install package

flutter pub add segment_analytics

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that simplifies the integration of Segment analytics into mobile and web applications. It enables seamless tracking of user events, screen views, and user properties across platforms with minimal setup. The package supports Android, iOS, Web, and macOS, ensuring consistent analytics data collection regardless of the target environment. With a clean API and automatic handling of common analytics workflows, it reduces development overhead while maintaining reliability and performance.

Use cases

  • Tracking user interactions in mobile apps
  • Monitoring user journeys across web and mobile
  • Sending event data to multiple analytics destinations
  • Integrating analytics into cross-platform Flutter apps
  • Enabling real-time insights from user behavior

Key features

  • Cross-platform support for Android, iOS, Web, and macOS
  • Easy integration with Segment's analytics infrastructure
  • Automatic event batching and error handling
  • Support for user identification and property tracking
  • Built-in support for screen view tracking

Suitable for

  • Developers building cross-platform apps with Flutter
  • Teams using Segment for analytics and marketing automation
  • Projects requiring reliable event tracking across multiple platforms
  • Startups wanting fast analytics implementation
  • Apps needing compliance with data privacy standards

Considerations

  • Requires a Segment account and source setup
  • May increase app size due to included analytics SDKs
  • Depends on network connectivity for data transmission
  • Privacy regulations may require user consent before tracking
  • Limited customization compared to direct SDK integration

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

@segment/analytics-flutter

Warning This project is currently only available in Beta phase and is covered by Segment's First Access & Beta Preview Terms. We encourage you to try out this new library. Please provide feedback via Github issues/PRs, and feel free to submit pull requests.

The hassle-free way to add Segment analytics to your Flutter[^1] app.

This is a monorepo containing all Segment packages

Core (segment_analytics)

The main segment_analytics package.

Pub.dev

Docs

Changelog

Plugins

Adjust (segment_analytics_plugin_adjust)

Pub.dev

Docs

AdvertisingID (segment_analytics_plugin_advertising_id)

Pub.dev

Docs

AppsFlyer (segment_analytics_plugin_appsflyer)

Pub.dev

Docs

Firebase (segment_analytics_plugin_firebase)

Pub.dev

Docs

IDFA (segment_analytics_plugin_idfa)

Pub.dev

Docs

Platform Support

Supports the following platforms:

  • Android
  • iOS
  • MacOS
  • Web

Some destination plugins might not support all platform functionality. Refer to their own Platform SDKs for more details.

Example App

See the example app to check a full test app of how to integrate Analytics-Flutter into your own Flutter app.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

Code of Conduct

Before contributing, please also see our code of conduct.

License

MIT

[^1]: The Flutter name and logo are trademarks owned by Google.

Categories

Dependencies

Dependency list 10 items

Source repository

Projects using this package

No data available yet.

Rankings