gpt4 book ai didi

android - 使用 GoogleAnalytics 忽略多个安装 Activity 时出错

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:57:45 27 4
gpt4 key购买 nike

当我看到以下错误日志时,我正在为我的应用程序测试 Google Play 广告系列归因:

06-19 14:17:55.416  14424-14466/com.myapp.android E/GAv4﹕ Ignoring multiple install campaigns. original, new: utm_source=testSource, utm_source=testSource2

testSourcetestSource2 是我使用以下测试广播方法生成的 utm_source:

adb shell am broadcast -a com.android.vending.INSTALL_REFERRER -n com.myapp.android/com.google.android.gms.analytics.CampaignTrackingReceiver --es "referrer" "utm_source=testSource&utm_medium=testMedium&utm_term=testTerm&utm_content=testContent&utm_campaign=testCampaign"

我在 GoogleAnalytics 网站上只看到 testSource 的匹配。

任何人都可以解释错误是什么意思吗?为什么 testSource2 没有显示在来自不同来源的 GoogleAnalytics 网站上?

最佳答案

出现此错误是因为 Google Play 服务仅在应用下载时广播了一次。

文档说:

When your app is downloaded from Google Play Store, the Play Store app broadcasts an INTENT_REFERRER to your app during installation. This intent contains the value of the referrer parameter of the link used to reach your app's Google Play Store page, if one was present.

我在同一个已安装的 apk 上测试它的另一个来源。测试新来源:

1) Uninstall the apk 

2) Broadcast again.

一段时间后,您一定会在 Google Analytics(分析)网站上看到新来源的命中率。

关于android - 使用 GoogleAnalytics 忽略多个安装 Activity 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30934262/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com