下面是我在iOS项目中设置的跟踪userId的代码,但是我在Google Analytics界面中找不到userId这个词。如何查看我上传到 Google Analytics(分析)界面的 userId(“my_user_id”)?
guard let tracker = GAI.sharedInstance().defaultTracker else { return }
tracker.set(kGAIUserId, value: “my_user_id”)
guard let builder = GAIDictionaryBuilder.createEvent(withCategory: “UX”,
action: “User Sign In”,
label: nil,
value: nil) else { return }
tracker.send(builder.build() as [NSObject : AnyObject])
最佳答案
注意:此报告仅在启用了用户 ID 的属性中以及未启用用户 ID 的该属性的 View 中可见。
The User-ID Coverage report is an overview of the distribution of assigned User IDs among all of your traffic. You can use this report to see the total number of sessions and compare the proportion in which users are assigned a User ID to the proportion in which users aren’t assigned a User ID.
相关article这可能会有帮助
还有一点需要注意:source
the userId field is not available as a dimension in reports and can not be exported from Analytics.
关于ios - 如何在Google Analytics界面查看userID?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54233414/