quot;com.android.vending.INSTALL_REFERRERquot; somehow parameters are lost and changed to (not%20set)(“com.android.vending.INSTALL_REFERRER不知何故参数丢失并更改为 (not%20set))

本文介绍了“com.android.vending.INSTALL_REFERRER"不知何故参数丢失并更改为 (not%20set)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序中的 INSTALL_REFERRER 广播存在问题.

我正在尝试创建一些有关广告系列等的信息,但在大多数设备上我的网址"问候沃伊泰克

解决方案

您很可能已登录到托管帐户(例如工作电子邮件).如果您的个人帐户在 Play 商店中处于活动状态,这并不重要.Play 商店会始终检查您在该手机上登录的所有帐户.如果其中任何一个由企业管理,则 Play 商店会重置引用者令牌.您可以通过删除所述帐户并重试发送令牌来验证这一点.

我无法说明为什么这是预期的行为,但也许来自 Google 的人可以发光.

I have a problem with INSTALL_REFERRER broadcast in my app.

I'm trying to create some information about campaign etc, but on most devices my url "https://play.google.com/store/apps/details?id=com.test.apptest&referrer=utm_source%3Dmy_test_source"

EDIT: the same thing happens with link "market://details?id=com.test.apptest&referrer=utm_source%3Dmy_test_source"

is change to something like

"utm_source=(not%20set)&utm_medium=(not%20set)"

I don't know what is the reason for such a behaviour of google play store app but maybe someone has deal with that ?

EDIT 2: It looks like that it has something to do with google play store app version. on version 12.5.15-all everything works fine and as expected, on devices with version 12.5.30 comes only (not set)

EDIT 3: answering comment from Harry, I have only a email from google developers support. For now I replaced referred link with firebase dynamic links which works ( but not utm_source, need to do your custom link)

regards Wojtek

解决方案

You're most likely logged into a managed account (e.g. a work email). It doesn't matter if you have your personal account active in Play Store. The Play Store consistently checks all accounts that you're signed into on that phone. If any of them are managed by an enterprise then the Play Store resets the referrer token. You can verify this by removing said account and retry sending the token.

I can't speak to why this is the intended behavior but perhaps someone from Google can shine some light.

这篇关于“com.android.vending.INSTALL_REFERRER"不知何故参数丢失并更改为 (not%20set)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!