Before you start tracking user acquisition campaigns on Android, we recommend that
you validate that your app is passing referrer parameters to the Localytics SDK.
If you're an engineer, refer to the developer guide for instructions on how to test
locally. If your app is already in the Google Play Store, you can verify that your
app is configured correctly by conducting a test install.
-
Construct a testing URL. Start with the following URL.
http://a.localytics.com/android?id=YOUR_ANDROID_PACKAGE&referrer=utm_source%3DAttributionTest%26utm_campaign%3DAttributionTest
Substitute your app's Android Package (e.g. com.localytics.testapp) for
YOUR_ANDROID_PACKAGE.
-
Locate an Android device that has never previously installed your app. Open a
web browser on your Android device and navigate to the testing URL you
constructed. This will redirect you to the Google Play Store.
-
Install and run your app. Then, change apps to trigger the Localytics SDK to
upload a new session from your device.
-
Wait a few minutes. If your app is configured correctly, you should see a new
user in the Attribution Dashboard inLocalytics where acquisition source is
"AttributionTest."
-
If you don't see a new user in the Attribution Dashboard, confirm with your
engineering team that your app is passing referrer parameters to the Localytics
SDK.