Unity Analytics 可让您深入了解游戏用户,例如 DAU 和 MAU。
注意:以下文档适用于带有 Unity 5.1 及更高版本的 Unity Analytics。要将 Unity Analytics 与 Unity 的早期版本集成,请参阅 https://analytics.cloud.unity3d.com/docs 上的文档。
具体来说,开箱即用功能包括可通过 Metric Monitor 和 Data Explorer 访问用户参与度和留存数据。您可以利用 20 多个标准细分段自动应用不同用户维度和特征的玩家细分,无需使用任何额外工具。
如需了解关于功能的更多详细信息,请访问 http://unity3d.com/unity/analytics. 参阅 Unity Analytics 主页。
deviceStatsEnabled | 控制是否启用在运行时发送设备统计信息的功能。 |
enabled | 控制是否在运行时启用 Analytics 服务。 |
limitUserTracking | 控制是否在运行时限制用户跟踪功能。 |
CustomEvent | 自定义事件(可选)。 |
FlushEvents | 如有可能,尝试立即把所有排队的分析事件传输到网络和文件系统缓存(可选)。 |
RegisterEvent | 此 API 用于注册运行时 Analytics 事件。注意:此 API 仅供内部使用,未来可能会发生更改。不要在用户代码中使用。 |
SendEvent | 此 API 用于发送运行时 Analytics 事件。注意:此 API 仅供内部使用,未来可能会发生更改。不要在用户代码中使用。 |
SetUserBirthYear | 用户的受众特征(可选)。 |
SetUserGender | 用户的受众特征(可选)。 |
SetUserId | 用户的受众特征(可选)。 |
Transaction | 跟踪变现(可选)。 |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.