PackageTrack
Sign in Get early access

unified_analytics

A package for logging analytics for all Dart and Flutter related tooling to Google Analytics.

8.0.17 6.7M downloads/mo #95 most downloaded on pub.dev dart-lang/tools

What this package is like to depend on

Last release 4 days ago

19 Aug 2026

Release timing varies

gaps range from 2 weeks to 5 months

Nearly every release is documented

notes for 48 of 52 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

53 releases · first in 2023

7 releases in the last 12 months

see the full history below

Release timeline

53 releases · Mar 2023 to Aug 2026
2024 2025 2026
Release Pre-release

Releases

latest 53
  1. 8.0.17 19 Aug 2026
    Release notes
    • Added optional agentPlugin parameter to the Event.dartMCPEvent constructor to identify agent plugin usage.
    Open source →
    Release notes
    • Added optional agentPlugin parameter to the Event.dartMCPEvent constructor to identify agent plugin usage.
    Open source →
  2. 8.0.16 16 Jul 2026
    Release notes
    • Added Event.packageSkillsEvent to track events from package:skills.
    • Run dart format.
    Open source →
    Release notes
    • Added Event.packageSkillsEvent to track events from package:skills.
    Open source →
  3. 8.0.15 17 Jun 2026
    Release notes
    • Added IDE and plugin information to Event.serverSession.
    • Discard any Exception or Error thrown while reading or writing analytics logs.
    • Added agent parameter to Analytics constructors to track the AI coding assistant/agent executing the tool.
    Open source →
    Release notes
    • Added IDE and plugin information to Event.serverSession.
    • Discard any Exception or Error thrown while reading or writing analytics logs.
    • Added agent parameter to Analytics constructors to track the AI coding assistant/agent executing the tool.
    Open source →
  4. 8.0.14 02 Apr 2026
    Release notes
    • Added HCPP related analytics to Event.commandUsageValues.
    Open source →
  5. 8.0.12 09 Mar 2026
    Release notes
    • Require Dart 3.10
    • Added success indicator and label to Event.flutterTrackAndroidDependencies
    Open source →
  6. 8.0.11 10 Feb 2026
    Release notes
    • Added Event.flutterTrackAndroidDependencies to track android dependencies.
    • Deprecated Event.flutterWasmDryRun in favor of Event.flutterWasmDryRunPackage.
    • Added Event.plugins to track new analyzer plugins
    • Added DashEvent.ideEvent to track IDE reported events.
    Open source →
  7. 8.0.10 13 Dec 2025
    Release notes
    • Added Event.flutterWasmDryRunPackage to track dart2wasm dry run metrics from Flutter including public package information.
    Open source →
  8. 8.0.5 09 Jul 2025
    Release notes
    • Fix Event.flutterWasmDryRun fields.
    Open source →
  9. 8.0.4 09 Jul 2025
    Release notes
    • Changed Event.flutterWasmDryRun to track dart2wasm dry run metrics from Flutter.
    Open source →
  10. 8.0.2 24 Jun 2025
    Release notes
    • Added Event.dartMCPEvent for events from the dart mcp-server command.
    Open source →
  11. 8.0.1 11 Apr 2025
    Release notes
    • Added Event.flutterInjectDarwinPlugins event for plugins injected into an iOS/macOS project.
    Open source →
  12. 7.0.2 04 Apr 2025
    Release notes
    • Allow LogStatsFile to contain more granular event types (specifically property_editor events).
    Open source →
  13. 7.0.1 27 Nov 2024
    Release notes
    • Fixed UnsupportedError thrown when Event.exception is called without providing a value for args.
    Open source →
  14. 7.0.0 08 Nov 2024
    Release notes
    • Added a required parameter screen to the Event.devtoolsEvent constructor.
    • Added an optional parameter additionalMetrics to the Event.devtoolsEvent constructor.
    • Added CustomMetrics class for unified_analytics clients to define custom event metrics.
    • Removed parameters uiDurationMicros, rasterDurationMicros, shaderCompilationDurationMicros, traceEventCount, cpuSampleCount, cpuStackDepth, heapDiffObjectsBefore, heapDiffObjectsAfter, heapObjectsTotal, rootSetCount, rowCount, inspectorTreeControllerId, androidAppId, iosBundleId from the Event.devtoolsEvent constructor.
    Open source →
  15. 6.1.6 21 Nov 2024

    Nothing published for this version

  16. 6.1.5 07 Nov 2024
    Release notes
    • Remove any data entries with a null value in the Event.exception constructor.
    Open source →
  17. 6.1.4 02 Oct 2024
    Release notes
    • Fix formatting and remove dependency on package:intl.
    • Remove direct usage of package:path in favor of package:file.
    • Added androidAppId and iosBundleId to the Event.devtoolsEvent constructor.
    Open source →
  18. 6.1.3 10 Sep 2024
    Release notes
    • Require Dart 3.4.
    • Added isWasm parameter to the Event.devtoolsEvent constructor.
    • Added an optional parameter data to the Event.exception constructor.
    Open source →
  19. 6.1.2 26 Jun 2024
    Release notes
    • Avoid opening large telemetry log files to prevent out of memory errors.
    Open source →
  20. 6.1.1 05 Jun 2024
    Release notes
    • Fixed bug where calling Analytics.send could result in a FileSystemException when unable to write to a log file.
    Open source →
  21. 6.1.0 22 Apr 2024
    Release notes
    • Added new event constructor Event.devtoolsEvent for the single devtools event with a new enum value DashEvent.devtoolsEvent
    Open source →
  22. 6.0.0 02 Apr 2024
    Release notes
    • Consolidate Session functionality into UserProperty to prevent race condition crash where session logic crashed before initializing UserProperty
    • Get rid of late variables throughout implementation class, AnalyticsImpl
    • Any error events (Event.analyticsException) encountered within package will be sent when invoking Analytics.close; replacing ErrorHandler functionality
    • Exposing new method for FakeAnalytics.sendPendingErrorEvents to send error events on command
    • Added Event.fromJson static method to generate instance of Event from JSON
    • Remove unused parameters measurementId and apiSecret from the Analytics.test constructor
    • Remove Analytics.test factory constructor in favor of Analytics.fake static method to return a FakeAnalytics instance
    • Remove FakeAnalytics default constructor in favor of Analytics.fake
    Open source →
  23. 5.8.8 15 Mar 2024
    Release notes
    • Bug fix rewrite the other call site for the session file
    Open source →
  24. 5.8.8+1 17 Apr 2024

    Nothing published for this version

  25. 5.8.8+2 27 Jun 2024

    Nothing published for this version

  26. 5.8.7 14 Mar 2024
    Release notes
    • Bug fix to rewrite the last_ping key into the session json file
    Open source →
  27. 5.8.6 14 Mar 2024
    Release notes
    • Refactored session handler class to use the last modified timestamp as the last ping value to prevent writing to file with each send
    • Bumping intl package to 0.19.0 to fix version solving issue with flutter_tools
    Open source →
  28. 5.8.5 28 Feb 2024
    Release notes
    • Fix late initialization error for Analytics.userProperty bug
    Open source →
  29. 5.8.4 26 Feb 2024
    Release notes
    • Exporting all enums from enums.dart through lib/testing.dart
    Open source →
  30. 5.8.3 21 Feb 2024
    Release notes
    • Fix bug when parsing session json file
    Open source →
  31. 5.8.2 16 Feb 2024
    Release notes
    • Added new event Event.analyticsException to track internal errors for this package
    • Redirecting the Analytics.test factory to return an instance of FakeAnalytics
    • Exposing new helper function that can be used to parse the Dart SDK version
    Open source →
  32. 5.8.1 29 Jan 2024
    Release notes
    • Refactor logic for okToSend and shouldShowMessage
    • Check devtools config file for legacy opt out status
    Open source →
  33. 5.8.0 11 Dec 2023
    Release notes
    • Fix template string for consent message
    • Add enabledFeatures to constructor to collect features enabled for each dash tool
    Open source →
  34. 5.8.0+1 21 Feb 2024

    Nothing published for this version

  35. 5.7.0 05 Dec 2023
    Release notes
    • Added the Event.commandUsageValues constructor
    Open source →
  36. 5.6.0 26 Nov 2023
    Release notes
    • Added the Event.timing constructor
    Open source →
  37. 5.5.0 20 Nov 2023
    Release notes
    • Edit to the Event.flutterCommandResult constructor to add commandHasTerminal
    • Added timeout for Analytics.setTelemetry to prevent the clients from hanging
    • Added the Event.appleUsageEvent constructor
    • Added the Event.exception constructor
    Open source →
  38. 5.4.0 13 Nov 2023
    Release notes
    • Added the Event.codeSizeAnalysis constructor
    Open source →
  39. 5.3.0 09 Nov 2023
    Release notes
    • User property "host_os_version" added to provide detail version information about the host
    • User property "locale" added to provide language related information
    • User property "client_ide" (optional) added to provide the IDE used by the Dash tool using this package, if applicable
    • Added the Event.flutterCommandResult constructor
    Open source →
  40. 5.2.0 03 Nov 2023
    Release notes
    • Added the Event.hotRunnerInfo constructor
    Open source →
  41. 5.1.0 31 Oct 2023
    Release notes
    • Added the Event.flutterBuildInfo constructor
    Open source →
  42. 5.0.0 24 Oct 2023
    Release notes
    • Update to the latest version of package:dart_flutter_team_lints
    • Using internal futures list to store send events
    • Added the Event.doctorValidatorResult constructor
    Open source →
  43. 4.0.1 28 Sep 2023
    Release notes
    • Adding constant for the NoOpAnalytics instance client ID to enable clients to reference it in tests
    Open source →
  44. 4.0.0 19 Sep 2023
    Release notes
    • Enhanced LogFileStats data to include information about flutter channel counts and tool counts
    • Added new method to suppress telemetry collection temporarily for current invocation via analytics.suppressTelemetry()
    • Added SurveyHandler feature to Analytics instance to fetch available surveys from remote endpoint to display to users along with functionality to dismiss them
    • Surveys will be disabled for any users that have been opted out
    • Shipping FakeAnalytics for clients of this tool that need to ensure workflows are sending events in tests
    • Adding getter to Analytics instance to fetch the client ID being sent to GA4
    Open source →
  45. 3.0.0 23 Jun 2023
    Release notes
    • Adds discovery API to find both a configuration and its location:
      findPackageConfigAndFile and findPackageConfigAndUri.
    • Removes support for the .packages file.
      The Dart SDK no longer supports that file, and no new .packages files
      will be generated.
      Since the SDK requirement for this package is above 3.0.0,
      no supporting SDK can use or generate .packages.
    • Simplifies API that no longer needs to support two separate files.
      • Renamed readAnyConfigFile to readConfigFile, and removed
        the preferNewest parameter.
      • Same for readAnyConfigFileUri which becomes readConfigFileUri.
      • Old functions still exists as deprecated, forwarding to the new
        functions without the preferNewest argument.
        Makes PackageConfig, Package and LanguageVersion @sealed classes,
        in preparation for making them final in a future update.
    • Adds PackageConfig.minVersion to complement .maxVersion.
      Currently both are 2.
    Open source →
    Release notes
    • Allow latest package versions for file and http
    • Introducing new Event class that will standardize what event data can be sent with each event
    • Deprecating the sendEvent method in favor of the send method
    Open source →
  46. 2.0.0 01 Jun 2023
    Release notes
    • Refactoring dateStamp utility function to be defined in utils.dart instead of having static methods in Initializer and ConfigHandler
    • Remove the pddFlag now that the revisions to the PDD have been finalized to persist data in the log file and session json file
    • Opting out will now delete the contents of the CLIENT ID, session json, and log files; opting back in will regenerate them as events send
    • enableAsserts parameter added to constructors for Analytics to check body of POST request for Google Analytics 4 limitations
    • Now checking if write permissions are enabled for user's home directory, if not allowed, NoOpAnalytics returned by Analytics factory constructor
    Open source →
  47. 1.1.0 17 Apr 2023
    Release notes
    • Added a okToSend getter so that clients can easily and accurately check the state of the consent mechanism.
    • Initialize the config file with user opted out if user was opted out in legacy Flutter and Dart analytics
    Open source →
  48. 1.0.1 04 Apr 2023
    Release notes
    • Error handling on the analytics.sendEvent(...) method to silently error out and return a 500 http status code to let tools using this package know Google Analytics did not receive the event (all successful requests will have a status code of 2xx provided by Google Analytics)
    Open source →
  49. 1.0.0 31 Mar 2023
    Release notes
    • Error handling functionality added to prevent malformed session json data from causing a crash
    • Creating a new analytics constructor to point to a test instance of Google Analytics for developers
    • Align supported tool list with PDD
    • Exposing a new instance method that will need to be invoked when a client has successfully shown the consent message to the user clientShowedMessage()
    • Adding and incrementing a tool's version will automatically use the current consent message version instead of incrementing by 1
    • Default constructor has disabled the usage of local log file and session json file until revisions have landed to the privacy document
    Open source →
  50. 0.1.2 15 Mar 2023
    Release notes
    • Implemented fake Google Analytics Client for Analytics.test(...) constructor; marked with visible for testing annotation
    Open source →
  51. 0.1.1 10 Mar 2023
    Release notes
    • Bumping intl package to 0.18.0 to fix version solving issue with flutter_tools
    • LogFileStats includes more information about how many events are persisted and total count of how many times each event was sent
    Open source →
  52. 0.1.0 07 Mar 2023
    Release notes
    • Initial version
    Open source →
  53. 0.1.0-dev 07 Mar 2023 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive