snowplow_flutter_tracker 0.11.0 copy "snowplow_flutter_tracker: ^0.11.0" to clipboard
snowplow_flutter_tracker: ^0.11.0 copied to clipboard

outdated

Snowplow event tracker for Flutter. Add analytics to your Flutter apps and games

Flutter for Snowplow #

Thank you to Patrik Szabó for his initial work on this library!

Overview #

A Flutter plugin that provides analysis to your Dart software with the Snowplow event tracker for Flutter.

With this tracker you can collect event data from your Flutter applications, games or frameworks.

Versions #

Snowplow Android Tracker v1.7.1

Snowplow iOS Tracker v1.6.2

Docs #

Basics on Android: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/android-tracker/

Basics on iOS: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/objective-c-tracker/

Android SDK: https://github.com/snowplow/snowplow-android-tracker

iOS SDK: https://github.com/snowplow/snowplow-objc-tracker

Getting started #

Initialize it then call the relevant tracking method:

import 'package:snowplow_flutter_tracker/snowplow_flutter_tracker.dart';

// Initialize it
final emitter = Emitter(uri: 'your-collector-endpoint-url');
final tracker = Tracker(
    emitter: emitter,
    namespace: 'your-namespace',
    appId: 'your-appId',
);
var _tracker = SnowplowFlutterTracker();
_tracker.initialize(tracker);

// Usage
final selfDescribingJson = SelfDescribingJson(
    schema: 'iglu:com.acme/event/jsonschema/1-0-0',
    payload: <String, Object>{'message': 'hello world'},
);
final selfDescribing = SelfDescribing(selfDescribingJson);
_tracker.track(selfDescribing);
7
likes
0
points
48
downloads

Publisher

verified publisherhomex.com

Weekly Downloads

Snowplow event tracker for Flutter. Add analytics to your Flutter apps and games

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on snowplow_flutter_tracker