Is it possible to pass url parameters (or "query strings") to google play and track the variable while installing the app in phone?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
If you route the parameters as part of the campaign tracking options in the Analytics SDK, it is possible to pass in custom variables to the installed application if the user follows a provided link.
For example, set the campaign name to a variable.
https://developers.google.com/analytics/devguides/collection/android/v2/campaigns
In my example, I set it to the users email address so when the app loads, the login form is prefilled.
This can be done by using an install referrer and listen to it in the app after install through an InstallReferrerReceiver: https://developers.google.com/android/reference/com/google/android/gms/tagmanager/InstallReferrerReceiver
In your case you can simply put your
franchiseeid
into thereferrer
property:https://play.google.com/store/apps/details?id=com.rovio.angrybirds&referrer=franchiseeid%3DUSAFLO012
This is a little late but might help others.
According to this: https://developers.google.com/analytics/devguides/collection/android/v2/campaigns#google-play-how
How Google Play Campaign Measurement works
Google Play Store Campaign Measurement relies on the use of Campaign Parameters to pass campaign and traffic source information into your app at the time that it is downloaded from the Google Play Store.
The following is an end-to-end description of how Google Play Campaign Measurement works:
A user clicks on a link, from an ad, website, or app, that takes them to your app's Google Play Store page. The link is tagged with Campaign Parameters. After the user downloads and installs your app, the Google Play Store will broadcast an INSTALL_REFERRER intent on the device that includes those same campaign parameters. Your app will then respond to that intent, using the BroadcastReceiver object provided below, reading the campaign parameters and using them to update the Google Analytics campaign information.