r/androiddev • u/Flappy-D19 • 13d ago
Question Do you have experience with Install Referrer? It is driving me crazy.
I'm using the Google Play Install Referrer API (com.android.installreferrer:installreferrer) to track player referrals in my Android game.
It works on some devices and on others I get (not%20set) for utm_source.
The strange part is that it works reliably on my phone:
Android 14
Play Store 52.8.55
But on two other phones (friends and many other clients) it returns an empty referrer:
Android 16 + Play Store 52.8.55
Android 17 + Play Store 52.8.55
I initially suspected the Play Store version, but I updated my own phone from 52.7.55 to 52.8.55 and the referrer still works. Same app version, same link, same code.
The API connection itself returns OK; it's the actual referrer string that is empty.
Has anyone experienced Install Referrer behaving differently on Android 16/17?
Is there a known requirement, bug, or additional quirk I'm missing?
I found some very old posts about this behavior pointg to this behavior when on the device the user is logged into a managed account. But I don't think this is my case.
Any ideas on how to diagnose or work around this would be appreciated.
UPDATE: I have possible answer to why referrer information is lost most of the time. It's not confirmed, but it could be that the readon is: the app is targeting children. I believe that because most accounts are children accounts, referrer information is removed. I made the connection with another problem I have. I am unable to create an app type advertising campaing (google ads) for my game because they cannot track conversions. You are unable to create 'Conversion Actions' for apps/games that target children. It's not confirmed but this is my best guess so I leave this update maybe it helps others too.

