0

我正在尝试为Demographics and Interest Reports使用Google Analytics iOS SDK.

我已Demographics and Interest Reports在我的 Google Analytics(分析)仪表板中启用。我还安装了GoogleIDFASupportpod (Cocoapods),并在我的应用程序委托中设置了以下代码:

#if DEBUG
#else
    let gAnalytics = GAI.sharedInstance()
    gAnalytics.defaultTracker.allowIDFACollection = true
#endif

我已经多次测试该应用程序,并在我的 iPhone 上以 Release 方案运行,该应用程序目前也在 App Store 中等待审核。

当我登录到 Google Analytics 仪表板并转到该Demographics and Interest Reports部分时,它会告诉我我已启用它,但还会显示一个显示“验证跟踪代码”的按钮。如果我单击按钮,页面就会刷新并告诉我"Your Analytics tracking code does not include the necessary support for the Demographics and Interest reports."

如何验证跟踪代码?

4

1 回答 1

1

我最终只是忽略了警告并跳过了验证。人口统计数据显示得很好。

于 2016-05-11T03:26:32.697 回答