class in UnityEngine.Analytics
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Unity Analytics provides insight into your game users e.g. DAU, MAU.
Note: The documentation that follows is for usage of Unity Analytics with Unity 5.1 and above. To integrate Unity Analytics with earlier versions of Unity, refer to the documentation at https://analytics.cloud.unity3d.com/docs
Specifically, out-of-the-box features include access to user engagement and retention data through Metric Monitor and Data Explorer. Segmentation of players across various user dimensions and characteristics is automatically applied, with more than 20 standard segments available without any additional instrumentation.
For more detail around features, refer to the Unity Analytics homepage at http://unity3d.com/unity/analytics.
|deviceStatsEnabled||Controls whether the sending of device stats at runtime is enabled.|
|enabled||Controls whether the Analytics service is enabled at runtime.|
|initializeOnStartup||Reports whether Unity is set to initialize Analytics on startup.|
|limitUserTracking||Controls whether to limit user tracking at runtime.|
|playerOptedOut||Reports whether the player has opted out of data collection.|
|CustomEvent||Custom Events (optional).|
|FlushEvents||Attempts to flush immediately all queued analytics events to the network and filesystem cache if possible (optional).|
|RegisterEvent||This API is used for registering a Runtime Analytics event. It is meant for internal use only and is likely to change in the future. User code should never use this API.|
|ResumeInitialization||Resume Analytics initialization.|
|SendEvent||This API is used to send a Runtime Analytics event. It is meant for internal use only and is likely to change in the future. User code should never use this API.|
|SetUserBirthYear||User Demographics (optional).|
|SetUserGender||User Demographics (optional).|
|SetUserId||User Demographics (optional).|
|Transaction||Tracking Monetization (optional).|
Did you find this page useful? Please give it a rating: