【问题标题】:Cant validate tracking code for demographic reports using Google Analytics iOS SDK with IDFA无法使用带有 IDFA 的 Google Analytics iOS SDK 验证人口统计报告的跟踪代码
【发布时间】:2016-04-18 20:26:48
【问题描述】:

我正在尝试使用 Google Analytics iOS SDK 为我的 iOS 应用用户收集 Demographics and Interest Reports

我在我的 Google Analytics(分析)仪表板中启用了Demographics and Interest Reports。我还安装了GoogleIDFASupport pod (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."

如何验证跟踪代码?

【问题讨论】:

    标签: ios google-analytics idfa


    【解决方案1】:

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

    【讨论】:

    • 同样的事情发生在我身上。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-10-29
    • 2014-10-04
    • 2018-01-20
    • 1970-01-01
    • 1970-01-01
    • 2014-02-18
    相关资源
    最近更新 更多