usage 0.0.1 copy "usage: ^0.0.1" to clipboard
usage: ^0.0.1 copied to clipboard

discontinued
outdatedDart 1 only

A Google Analytics wrapper for both command-line and web apps.

usage #

usage is a wrapper around Google Analytics for both command-line apps and web apps.

Build Status

For web apps #

In order to use this library as a web app, import the usage_html.dart library and instantiate the AnalyticsHtml class.

For command-line apps #

In order to use this library as a command-line app, import the usage_io.dart library and instantiate the AnalyticsIO class.

Other info #

For both classes, you need to provide a Google Analytics tracking ID, the application name, and the application version.

Your application should provide an opt-in option for the user. If they opt-in, set the [optIn] field to true. This setting will persist across sessions automatically.

For more information, please see the Google Analytics Measurement Protocol Policy.

72
likes
0
pub points
99%
popularity

Publisher

verified publishertools.dart.cn

A Google Analytics wrapper for both command-line and web apps.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

crypto, uuid

More

Packages that depend on usage