Is it possible to pass url parameters to google pl

2020-02-26 05:17发布

Is it possible to pass url parameters (or "query strings") to google play and track the variable while installing the app in phone?

3条回答
▲ chillily
2楼-- · 2020-02-26 05:50

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.

查看更多
Ridiculous、
3楼-- · 2020-02-26 05:58

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 the referrer property:

https://play.google.com/store/apps/details?id=com.rovio.angrybirds&referrer=franchiseeid%3DUSAFLO012

This is a little late but might help others.

查看更多
Evening l夕情丶
4楼-- · 2020-02-26 06:12

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.

查看更多
登录 后发表回答