snowplow_tracker
0.11.3, released 4 days ago by snowplowanalytics.com
Flutter package for sending Snowplow analytics events on Android, iOS, and Web.
What it does
Provides a wrapper around Snowplow native trackers to manually or automatically track screen views, custom events, and context data. Supports multiple trackers, session handling, GDPR, and media tracking across platforms.
AI-written summary of version 0.11.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need Snowplow analytics in a Flutter app
- You want a single API for Android, iOS, and Web tracking
Skip it when
- You prefer a different analytics platform
- You need a pure Dart/HTTP‑only solution without native plugins
Strengths
- Full feature parity with Snowplow native SDKs
- Cross‑platform support (Android, iOS, Web)
- Automatic view tracking and session management
Weaknesses
- Requires native setup for each platform
- Limited to Snowplow ecosystem
- No code‑generation helpers
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Add the package, configure native iOS/Android trackers, and for Web include the Snowplow JS tracker in index.html. No extra permissions beyond network access are needed.
import 'package:snowplow_tracker/snowplow_tracker.dart';
Future<void> main() async {
SnowplowTracker tracker = await Snowplow.createTracker(
namespace: 'myApp',
endpoint: 'https://collector.example.com',
);
tracker.track(ScreenView(id: '123', name: 'home', type: 'full', transitionType: 'none'));
}Alternatives
Packages that do the same job and could replace snowplow_tracker.
- ffi_leak_tracker
Tracks and detects native memory leaks in Dart FFI allocations.
81Compare - isolated_object
Wraps an object in a dedicated isolate and forwards method calls to it
79Compare - timing
Measures duration of synchronous and asynchronous actions with optional JSON serialization.
73Compare - swiss_knife
Collection of Dart utility tools for collections, math, date, URI, JSON, events, and resources.
72Compare
Works with
Packages commonly used together with snowplow_tracker: ones it builds on, ones built on it, and its own family.