Skip to content

Instantly share code, notes, and snippets.

@shreeshga
Created June 5, 2013 18:07
Show Gist options
  • Save shreeshga/5715902 to your computer and use it in GitHub Desktop.
Save shreeshga/5715902 to your computer and use it in GitHub Desktop.
Broadcast INSTALL_REFERRER command with Android adb
am broadcast -a com.android.vending.INSTALL_REFERRER -n com.kayak.android/com.google.analytics.tracking.android.CampaignTrackingReceiver --es "referrer" "utm_source=test_source&utm_medium=test_medium&utm_term=test_term&utm_content=test_content&utm_campaign=test_name"
@shreeshga
Copy link
Author

adb shell am broadcast -a com.android.vending.INSTALL_REFERRER -n com.kayak.android.checkfelix/com.kayak.android.KayakInstallReceiver --es "referrer" "utm_source=test_source&utm_medium=test_medium&utm_term=test_term&utm_content=test_content&utm_campaign=test_name"

@luongvo
Copy link

luongvo commented Oct 31, 2017

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment