Hello,
I am trying to implement InstallReferrerReceiver in an Android App published in PlayStore. So that we can send referral data (utm_source...) via the PlayStore link and get that data after the App gets installed on the device.
If anyone has already made it possible via Cordova, please let me know.
Thank you.
連結已複製
4 回應
You can use the https://github.com/danwilson/google-analytics-plugin Cordova Plugin to track installs of your application.
Elroy Ashtian Jr (Intel) wrote:
You can use the https://github.com/danwilson/google-analytics-plugin Cordova Plugin to track installs of your application.
Hello,
I have installed this plugin and while testing locally by broadcasting the below intent, it works fine and i get the referral data printed in the log ("utm_source=test"), is it possible to save the data received and store it in a local JavaScript variable.
Like, var referrer = "utm_source=test";
adb shell am broadcast -a com.android.vending.INSTALL_REFERRER -n com.example.app/com.google.android.gms.analytics.CampaignTrackingReceiver --es referrer "utm_source=test"
Thank you.