如何跟踪用户ID应用:谷歌Analytics(分析) [英] How to track app by user id : Google Analytics
问题描述
我是新来的谷歌分析。
我想,以跟踪唯一用户ID我的申请。
我使用谷歌分析SDK为Android V3
。
我对在onStart这个code()
。我了解的用户ID并创建一个新视图用户跟踪。
I am new to Google Analytics.
I want to track my application by unique user id.
I am using Google Analytics SDK for Android v3
.
I have this code on onStart()
.I read about user id and created a new view for user tracking.
Tracker tracker = GoogleAnalytics.getInstance(this).getTracker("UA-xxx-2");
tracker.set(Fields.SCREEN_NAME, "Main Acitivty");
tracker.set("&uid", id);
tracker.send(MapBuilder.createAppView().build());
但我没有得到我怎么能在我的谷歌Analytics控制台得到这个UID,
我想其USER_ID跟踪用户,这样我就可以得到特定用户的完整报告。
我能够得到总的活动用户,屏幕数和命中事件。
但我没有得到得到同样的报表用户明智的成功。
我也试着创建自定义维度和指标,但这些都是还没有account.I反映不知道我在哪里可以检查此字段。
But I am not getting how can I get this uid in my Google Analytics Console, I am trying to track user by their user_id , so I can get complete report of particular user. I am able to get count of the total active user , screens and hit events. But I didn't get any success on getting the same report user-wise. I also tried to create custom dimension and metrics but those are also not reflecting on account.I have no idea Where can I check this field.
有关自定义变量:
easyTracker.send(MapBuilder
.createAppView()
.set(Fields.customDimension(1), "premiumUser")
.build()
);
我已搜查,但我没有找到任何这很好的教程。
I have searched , but I didn’t find any good tutorial on this.
任何帮助,建议,参考链接将是极大的AP preciated。
谢谢你。
Any help, suggestion , reference link would be greatly appreciated. Thanks.
推荐答案
用户ID只能内部使用,以确保从一个用户会话跟踪在一起 - 它只是使你的统计更加准确,并且支持跨设备分析数据。
User Id is only used internally to make sure that the sessions from one user are tracked together - it just makes your stats more accurate, and enables cross device analytics.
您不能存取权限,虽然在用户名:
You cannot acces the userId though:
限制
用户ID值不能作为查询在Web界面或API的
The User ID value can not be queried as a dimension in reports in either the web interface or the APIs
此外,一定不要发送任何用户ID,如姓名或电子邮件地址:
Also be sure not to send any user id like name or email:
您不会上传,让谷歌来识别个人身份的任何资料(如姓名,社会保障号码,电子邮件地址,或任何类似的数据)
You will not upload any data that allows Google to personally identify an individual (such as certain names, social security numbers, email addresses, or any similar data)
这篇关于如何跟踪用户ID应用:谷歌Analytics(分析)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!