bloc_analytics 0.2.0

Dart native js
Flutter Android iOS web

Easy integrate you app with multiple analytics tracker, integrate with Firebase Analytics, Crashlytics and others

Flutter Bloc Analytics #

Use multiple analytics and other trackers in your Application easily

Supported trackers: #

  • Firebase

Usages instructions #

Registering your trackers #

Firebase

final firebaseTracker =  FirebaseAnalytics();

Registering multiple trackers #

MultipleTracker tracker =  MultipleTracker([firebase, crashlytics]);

Starting Tracking #

After all trackers are registered you can just use the multiple tracker to track all events at once

Tracking event

tracker.logEvent(myEvent);

Tracking page view

tracker.logPageView("page name");

Logging user properties

Avaibles for : Firebase

tracker.setUserProperty(Constants.USER_PROPERTY_EMAIL, "example@gmail.com");

Creating custom tracker #

In oder to create a custom tracker you just need to implement the Tracker interface.

0
likes
105
pub points
25%
popularity

Easy integrate you app with multiple analytics tracker, integrate with Firebase Analytics, Crashlytics and others

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

guilherme.torres.castro@gmail.com

License

MIT (LICENSE)

Dependencies

meta

More

Packages that depend on bloc_analytics