I have developed an application where user can refer other users and can earn incentives. I am getting the expected UTM_SOURCE and UTM_MEDIUM values in 85% of cases but in rest of the cases i am getting utm_source=(not%20set)&utm_medium=(not%20set).
I have used latest Play Install Referrer Library from here and traditional campaignReceiver in parallel.
I have spent days looking for the reason and have gone through the available answers but none of them provides the clarity. As everywhere major reason of this is mentioned as
For a deep link into Google Play where the referrer parameter is not present or empty, the referrer value provided is:
utm_source=(not%20set)&utm_medium=(not%20set)
This can not be our reason as we have created the link from here and final link looks like
https://play.google.com/store/apps/details?id=com.abc&referrer=utm_source%3DCheck%26utm_medium%3DTest
From @najm 's answer from this answer pointed out by @daaniaal, it's because of enterprise accounts logged into the Play Store: