下面是用于跟踪我在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])