设置项目启用 Unity 服务之后,即可启用 Analytics 服务。
为此,在 Services 窗口中,选择 Analytics__,然后单击 OFF__ 按钮以将其切换为 ON。如果尚未填写项目的 Age Designation 必填字段,则在此阶段需要执行此操作。(同样,您可能已经为其他 Unity 服务(例如 Ads)完成了此操作)。此处指定的年龄将显示在 Services 窗口中。
随后,必须在项目中点击 Play 以验证与 Unity Analytics 的连接情况。 Unity Editor 将充当测试环境来验证 Analytics 集成。启用 Analytics 的状态下,在按 Play 按钮时,Editor 会将数据(“App Start”事件)发送到 Analytics 服务。这意味着您可以直接测试 Analytics,而不必编译和发布游戏。 一旦按下 Play 按钮,就可以通过转到项目的 Analytics Dashboard 来检查该项目是否已通过验证。要访问此控制面板,请在 Services 窗口中单击 Services > Analytics > Go To Dashboard。
Services 窗口的 Analytics 部分中的 Go to Dashboard 按钮将在 Web 浏览器中打开控制面板。此控制面板包含用于 Analytics 数据的可视化、分析和操作工具。请参阅 Analytics Dashboard。
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.