0

我正在尝试在我的 iOS 应用程序中使用 Google Analytics 自定义变量,但我找不到采用自定义变量的方法。有没有办法使用 Google Analytics 2.0 beta 4 发送自定义变量。

4

1 回答 1

0

自定义变量现在称为自定义维度

请参阅:https ://developers.google.com/analytics/devguides/collection/ios/v2/migration和https://developers.google.com/analytics/devguides/collection/ios/v2/customdimsmets

它们与综合浏览量一起发送。(现在叫sendView:

实质上,您将执行以下操作:

[[GAI sharedInstance].defaultTracker setCustom:1 dimension:@"Some Custom Variable"];
[[GAI sharedInstance].defaultTracker sendView:@"Some View Controller Name"];
于 2013-05-21T21:22:52.623 回答