A deprecated Dart package for sending analytics data to Google Analytics from command-line, web, and Flutter apps.
Usage is a deprecated Dart package that acts as a wrapper for Google Analytics, allowing developers to send analytics data from command-line, web, and Flutter applications. It simplifies the integration of Google Analytics by providing a unified API for tracking screen views, events, timings, and exceptions. However, it only supports the older Universal Analytics protocol, which is no longer supported by Google.
Dart and Flutter developers who need to integrate Google Analytics into their applications, including those building command-line tools, web apps, or mobile apps with Flutter.
Developers chose Usage for its cross-platform support and simple API that abstracted the complexities of Google Analytics integration. Its asynchronous data sending and opt-in/opt-out flexibility made it a convenient choice before its deprecation.
A Google Analytics wrapper for command-line, web, and Flutter apps.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Works with command-line apps, web apps, and Flutter applications through specific libraries like usage_io.dart and usage_html.dart, as detailed in the README.
Sends analytics pings asynchronously to avoid blocking execution, with controls like waitForLastPing for CLI tools to manage request completion, ensuring smooth UX.
Allows configuration of analytics collection as either opt-in or opt-out via the Analytics.analyticsOpt field, giving developers control over user privacy preferences.
Supports sending screen views, events, timing information, and exceptions to Google Analytics, covering a wide range of tracking needs out of the box.
The package is no longer maintained and only supports the older Universal Analytics protocol, which stopped processing hits in July 2023, making it obsolete.
Lacks support for the newer Google Analytics 4 protocol, as admitted in the README, forcing developers to seek alternatives for current analytics needs.
Without updates, it may have compatibility issues with newer Dart or Flutter versions, and there's no community or official support for fixes or enhancements.