Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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)

enter image description here regards Wojtek

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
866 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...