We are developping an Android application. And we want to track our compaigns. Basically, we want to know from where our users arrives to Google play, by putting a word in the Google Play URL with our parteners and retrieve that word in the application and then send it to our server.
We have already installed Google Analytics to our application, we are able to track what the user does in the application on the Google statistics board. But how can we use it to achieve what we really want ? We really need to link our users data base with that word.
I heard about INSTALL_REFERER, but I really don't know how to use it.
Try a Play Install Referrer Library.
https://android-developers.googleblog.com/2017/11/google-play-referrer-api-track-and.html
(source: https://www.adjust.com/blog/eliminating-click-injections-with-google-play-referrer-api/)
Example:
Add the following line to the dependencies section of the
build.gradle
file for your app:You are looking for Campaign Measurement. In the documentation, it discusses how using
INSTALL_REFERRER
will help you determine which source is sending users to your App in the Google Play Store.It's as simple as placing a
receiver
in your AndroidManifest and modifying your App's Google Play URLs.From the docs:
Also, see this similar post.