ios - 如何在Google Analytics界面查看userID?

标签 ios google-analytics userid tracker

下面是我在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])

最佳答案

您可以查看User-ID Coverage report

注意:此报告仅在启用了用户 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/

相关文章:

ios - 迦太基,Xcode 9。 "xcodebuild timed out while trying to read *.xcodeproj"错误

objective-c - iOS:CFRunLoopRun() 函数困惑

javascript - 使用 Google 跟踪代码管理器在域之间传递变量值

ruby-on-rails - 找不到 id=#<ActiveRecord::Relation::ActiveRecord_Relation_User:0x2eb9b58> 的用户

ios - Swift:如何使用 cocoapods 安装 SwiftyJson?

cookies - 在 Google Analytics 中禁用 Cookie - gtag.js

ios - 如何在 iOS 分析 SDK 中使用 Google 的用户计时功能

从字符串转换为 uniqueidentifier 时 ASP.NET 转换失败

api - Instagram 从用户名获取用户 ID

ios - 自定义标签栏按钮不起作用