The Google Play `com.android.vending.INSTALL_REFERRER` Intent is broadcast when an Android app is installed from the Google Play Store.
Questions tagged [install-referrer]
94 questions
82
votes
6 answers
Testing Google Play Install Referrer Library
I'm looking to migrate from listening to the Play Store's INSTALL_REFERRER intent, to using the new Google Play Install Referrer Library.
I am struggling to find a way to test this new library without first having to add my app to the Play Store.…

Bart Kerfeld
- 945
- 1
- 6
- 7
27
votes
1 answer
Why Google play services dependency automatically added com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE permission
Recently i have updated google play services dependency version to 15.0.0 it automatically added the below permission.
i don't no wheather i need this Google Play Referrer API permission or not

Sarath Kumar
- 1,922
- 3
- 19
- 43
21
votes
1 answer
Android install referrer : pcampaignid=APPU_2
I'm using com.android.installreferrer:installreferrer:1.0 lib to track installation referrer, work fine,
but I'm getting a lot of pcampaignid=APPU_2_.........
What does this mean?

Yessine Mahdouani
- 1,225
- 12
- 24
18
votes
4 answers
How to test google play referrer api before publishing in Google play store?
Google announced their Google Play Referrer API at 20 November 2017 as new way to track app installs. My question is: Is there any way to test the function before my app is released in Google play?

ju duan
- 305
- 2
- 8
18
votes
4 answers
When will the application receive a install_referrer with content utm_source=(not%20set)&utm_medium=(not%20set)?
I'm using instll_referrrer tracking the user installation. Recently, I found a lot of user send the refer utm_source=(not%20set)&utm_medium=(not%20set) to my server.
I searched this on Google, and find a artical…

bixiaopeng
- 383
- 2
- 11
15
votes
3 answers
Properly tracking install referrals on Play Store
I have a simple task: I want to track the referral id of an app install and pass it to backend.
What I did: I created a link with an extra parameter referrer and appended it to the invite link. When it is opened, the javascript detects if the…

Amit Tiwari
- 3,684
- 6
- 33
- 75
14
votes
0 answers
Google Play Install Referrer missing campaignid in some responses
We are using Google Play Install Referrer library for Install Attribution.
The working referrer value we get from this is…

binaryKarmic
- 978
- 7
- 22
13
votes
3 answers
How to get iOS app install referral link in appstore?
I am building eCommerce platform.This includes website,android app and iOS app.
I already implemented for Android by using Google Play Install Referrer API.For Android,when users install from a referral link,we will get referral link and other data…

codewiz
- 493
- 1
- 7
- 20
12
votes
3 answers
How to test install referrer with Google's installreferrer library?
There are lots of examples how to test "default" way of detecting install referrer, but there is not example how to test com.android.installreferrer:installreferrer library.
Examples like
adb shell am broadcast -a…

artem
- 16,382
- 34
- 113
- 189
11
votes
5 answers
Install referrer not working in some redmi devices
I need to track install referrals for my android app. It's working fine in most of the devices. But in Redmi device, the broadcast is not getting triggered. I tested it with Redmi Note 4
I have tested it both from via ADB as well as play store. Both…

Sachin
- 111
- 5
10
votes
3 answers
com.android.vending.INSTALL_REFERRER isn't working
I originally asked this question, about passing parameters through a market link into my app on install.
Everyone seems to be saying to create a BroadcastListener with the intent-filter action of com.android.vending.INSTALL_REFERRER. All the…

xbakesx
- 13,202
- 6
- 48
- 76
9
votes
0 answers
Failed resolution of: Lcom/google/android/aidl/BaseStub;
I updated the
implementation 'com.android.installreferrer:installreferrer:X'
from 1.1.2 to 2.0
then started getting this error:
Process: com.tomatedigital.lottogram, PID: 13424
java.lang.NoClassDefFoundError: Failed resolution of:…

Rafael Lima
- 3,079
- 3
- 41
- 105
9
votes
1 answer
install_referrer intent deprecation and update libraries
I have received email from google:
We recently announced that we’ll be deprecating the install_referrer intent broadcast mechanism. Because one or more of your apps uses this intent to track referrals, we wanted to ensure you make the switch before…
user12426457
9
votes
2 answers
Install Referrer Library v1.1 adds permissions
Updating the Install Referrer Library from v1.0 to v1.1 added the following permissions:
WRITE_EXTERNAL_STORAGE
READ_EXTERNAL_STORAGE
READ_PHONE_STATE
Those permissions are not present in the Install Referrer Library manifest.xml:

sagis
- 2,162
- 18
- 24