Search packages, repositories and app categories

Package detailsv5.60.1

posthog_flutter

Flutter implementation of PostHog client for iOS, Android and Web

AndroidiOSWebmacOS
30-day downloads
442K
Likes
99
Pub points
140

Install package

flutter pub add posthog_flutter

Package Overview

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

PostHog Flutter is a client library that enables analytics and user insights collection in Flutter applications across Android, iOS, Web, and macOS. It allows developers to track events, feature flags, and user properties seamlessly. The package integrates with PostHog's cloud platform for real-time data analysis and product experimentation. With minimal setup, it supports both mobile and web environments, making it ideal for cross-platform apps needing behavioral analytics. The SDK is open-source and actively maintained by PostHog.

Use cases

  • Tracking user interactions
  • A/B testing features
  • Monitoring app performance
  • Analyzing user journeys
  • Implementing feature flags

Key features

  • Cross-platform support
  • Event tracking
  • Feature flag management
  • User property tracking
  • Real-time analytics

Suitable for

  • Cross-platform Flutter apps
  • Product teams needing analytics
  • Startups building MVPs
  • Apps requiring A/B testing
  • Teams using PostHog for insights

Considerations

  • Requires PostHog project setup
  • Privacy compliance needed for data collection
  • Network dependency for event sending
  • Limited offline event buffering
  • Depends on external PostHog backend

Original README

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

Package on pub.dev

PostHog Flutter

Please see the main PostHog docs.

Specifically, the Flutter docs details.

Questions?

Check out our community page.

Categories

Dependencies

Dependency list 7 items

  • meta^1.3.0
  • path_provider_linux^2.2.1
  • path_provider_platform_interface^2.1.2
  • path_provider_windows^2.3.0
  • plugin_platform_interface^2.0.2
  • stack_trace^1.12.0
  • web^1.1.0

Source repository

Projects using this package