com.google.analytics.tracking.android
Class AnalyticsReceiver

java.lang.Object
  extended by BroadcastReceiver
      extended by com.google.analytics.tracking.android.AnalyticsReceiver

public class AnalyticsReceiver
extends BroadcastReceiver

Broadcast receiver that listens for the Google Play install with referrer broadcast intent and stores it locally to be dispatched when the app is run.

The Google Play com.android.vending.INSTALL_REFERRER intent is raised when an app is installed from Google Play and has campaign data available (the app was installed from a link to Google Play).


Constructor Summary
AnalyticsReceiver()
           
 
Method Summary
 void onReceive(Context ctx, Intent intent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalyticsReceiver

public AnalyticsReceiver()
Method Detail

onReceive

public void onReceive(Context ctx,
                      Intent intent)