com.unity.services.analytics 2.0.7-pre.7

Preview

com.unity.services.analytics

Source docs
Notes: processedReleased October 20, 2021

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 2019.4

Features

  • projectID parameter to all events

Bug Fixes

  • GameStart event `idLocalProject` having a nonsense value
  • Heartbeat cadence being affected by Time Scale
  • Failing to compile for WebGL with error " The type or namespace name 'DllImportAttribute' could not be found"

Improvements

  • User opt-out of data collection. Developers must expose this mechanism to users in an appropriate way:
  • - Give users access to the privacy policy, the URL for which is stored in the `Events.PrivacyUrl` property
  • - Disable analytics if requested using the `Events.OptOut()` method

API Changes

  • Deprecated Transaction event `isInitiator` parameter
  • Deprecated previous opt-out mechanism (DataPrivacy and DataPrivacyButton)