I want to use the following code to track referrer to my application. Is it possible to track app referrer without using Google Analytics SDK in my app?
Also if i use the below code what would referrerString return? Will it show me search query via which user came to my app's link or would show me some tags or keywords which were searched for my app? <receiver android:name="com.mycompany.myReceiver" android:exported="true" > <intent-filter> <action android:name="com.android.vending.INSTALL_REFERRER" /> </intent-filter> </receiver> public class Receiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { Bundle extras = intent.getExtras(); String referrerString = extras.getString("referrer"); Log.w("TEST", "Referrer is: " + referrerString); } What does this "referrerString" return? Thanks in advance... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en