Newer
Older
move_esophagus_center / Library / PackageCache / com.unity.analytics@3.2.2 / Documentation~ / analytics.md

About the Analytics Package

This Analytics package supports the following Unity Analytics features:

For instructions on using the features in the Analytics package, refer to the Analytics section of the Unity Manual.

The package is supported by Unity 2018.3+ and includes functionality previously included in earlier Unity Asset Store and Package Manager packages. When upgrading existing projects to 2018.3 or later, older, redundant packages should be removed from the project.

Installing the Analytics Package

The Analytics package is built into the Unity Editor and enabled automatically. Use the Unity Package Manager (menu: Window > Package Manager) to disable or enable the package. The Analytics package is listed under the built-in packages.

Using the Analytics Package

For instructions on using the features in the Analytics package, refer to the Unity Manual:

Package contents

The following table indicates the major classes, components, and files included in the Analytics package:

ItemDescription
AnalyticsEvent classThe primary class for sending Standard and Custom analytics events to the Unity Analytics service.
Analytics Event Tracker componentA Unity component that you can use to send Standard and Custom analytics events (without writing code).
DataPrivacy classA utility class that helps applications using Unity Analytics comply with the EU General Data Protection Regulation (GDPR).
Packages/Analytics Library/DataPrivacy/DataPrivacyButtonA Prefab GameObject you can use when building a user interface to allow players to opt out of Analytics data collection.
Packages/Analytics Library/DataPrivacy/DataPrivacyIconAn icon graphic you can use when creating your own opt-out button or control.

Document revision history

DateReason
October 5, 2018Document created. Matches package version 3.2.0.