屏幕发送不适用于 GoogleAnalytics iOS SDK 3.11

Screen sending is not working with GoogleAnalytics iOS SDK 3.11

我正在尝试在 iOS 上使用其 SDK (3.11) 向 Google Analytics 发送屏幕,但即使在 24 小时后,GA 控制台也没有任何反应。

我仔细检查了这个 UA-xxxxxxx-x 的标识符。

这是我用来设置 SDK 的代码:

有什么想法吗?

您已选择退出分析数据跟踪..

[GAI sharedInstance].optOut = YES;

optOut 的评论 属性 明确指出..

When this is true, no tracking information will be gathered; tracking calls will effectively become no-ops.

因此要么将其设置为 false optOut = NO,要么将该行注释掉并重试。