Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Referrer after updating app from Android Market

In my application, I implemented a Broadcast Receiver that catches com.android.vending.INSTALL_REFERRER intents launched by Android after an app is installed from the Market.

I am following the details here: http://code.google.com/mobile/analytics/docs/android/#referrals

Does this referrer catch updates too? In other words, can the user open the Google Play store with the referrer and update application?

like image 544
Roman Barzyczak Avatar asked May 18 '15 10:05

Roman Barzyczak


People also ask

What is Android referrer?

An install referrer, otherwise known as a Google install referrer, is an identifier unique to Android devices which enables marketers to attribute ad activity to media sources for Google Play Store apps (also supported for some other stores, such as the Huawei Store).

How does Google install referrer work?

The Google Install Referrer is an Android-specific measurement technology that attributes clicks on Google Play Store app pages to the correlating app download. Google's Install Referrer framework sends an install referrer (or unique code string) to the Google Play store when an ad click has occurred.

Is Play install referrer API permission safe?

The Google Play Referrer is a standard and highly reliable and accurate method to attribute conversions through Google Play (but not Android out of store). It enables the attribution provider to send attribution parameters to the store, which then passes them back to the source when the app is downloaded.

What is Google Play referrer?

What is a Google Play install referrer? A Google Play install referrer is a string of numbers that is used to measure mobile app install ad performance on Android devices. If you're a web marketer, think of it like UTM parameters for mobile app installs.


1 Answers

No, Google Play Store doesn't send com.android.vending.INSTALL_REFERRER intent when the app is already installed.

If your app's package name is com.example.android your URL will be something like this.

https://play.google.com/store/apps/details?id=com.example.android&referrer=testReferrer

When you open the URL while the app isn't installed you can see in the logcat this debug log from Play Store:

1857-1857/com.android.vending D/Finsky﹕ [1] 1.run: Capture referrer for com.example.android

When you open the same URL while the app is already installed you can see this log instead:

1857-1857/com.android.vending D/Finsky﹕ [1] 1.run: Dropped referrer for com.example.android because already-installed

like image 142
Mattia Maestrini Avatar answered Nov 14 '22 07:11

Mattia Maestrini