public final class InstallReferrerReceiver

The Google Play Intent is broadcast when an app is installed from the Google Play Store. This BroadcastReceiver listens for that Intent, passing the install referrer data to GTM for Mobile Apps and Google Analytics.

To enable this receiver, add the following to your AndroidManifest.xml file:

 <!-- Used for install referrer tracking-->
 <service android:name=""/>
         <action android:name="" />
This receiver will automatically invoke the Google Analytics receiver to set the Campaign data. If both the Google Analytics SDK and Google Tag Manager SDKs are in use, only this receiver needs to be enabled.

Public Constructor Summary

Public Method Summary

onReceive(Context context, Intent intent)

Public Constructors

public InstallReferrerReceiver ()

Public Methods

public void onReceive (Context context, Intent intent)