Investigate referral code being added from the playstore install
See original GitHub issueDescription
Historically we’ve accepted that referral codes do not get captured from our google paid digital advertising into our internal analytics system. More specifically we are missing out on referral data from the Google Playstore install, we’d like to investigate the reason for this because it looks like we have the proper code in place getInstallReferrer()
to extract this data.
A couple places to leading thoughts:
- Is the referral code captured and added to the usage ping before the user sends their first usage ping?
- Is there any other information in the
getInstallReferrer
response that we can use? (campaign name, id, ref url)? - We are calling
getInstallReferrer()
docs. Is this being called at the correct time and added to the users local-state so that it is included in the usage ping? And does it persist for 90 days? - Is referral link being passed through to install and do we have a valid refcodes in campaign setups, format XXX123? ?
cc @anthonypkeane @laurentiugruia
Issue reproduces how often
- Seems to be almost all the time
Version/Channel Information:
- Can you reproduce this issue with the current Play Store version? Yes
- Can you reproduce this issue with the current Play Store Beta version? Yes
- Can you reproduce this issue with the current Play Store Nightly version? Yes
Device details
- All android core it seems
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Is there method to get referral code from google play store in ...
Follow the app sharing/app invite guide. The application gets the share url when launched after an successful invite install. Query the url for ......
Read more >Google Play Install Referrer - Android Developers
You can use the Google Play Store's Install Referrer API to securely retrieve referral content from Google Play, such as:.
Read more >Measure and analyze your app's acquisition - Google Support
The acquisitions reports measure how well your store listing acquires users, rather than installs, meaning conversion performance is calculated based on users ...
Read more >How to Use Google Play Install Referrer API in Android?
Go to the MainActivity.java file and refer to the following code. Below is the code for the MainActivity.java file. Comments are added inside ......
Read more >How to Design Your Mobile App for Referral (Part 2) - Extole
1. If the app is already installed on the friend's phone, the friend is taken to the app. They're treated to the normal...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Test plan: Case 1:
brave://local-state
.UAC001
.Case 2:
brave://local-state
.BRV001
.Case 3:
brave://local-state
.Verification PASSED on
Pixel 6
runningAndroid 13
using the following build(s):Test Case #1
As per https://github.com/brave/brave-browser/issues/25265#issuecomment-1267633910, this was verified on
BETA
as per https://github.com/brave/brave-browser/issues/25265#issuecomment-1269051612.Test Case #2
Brave Browser
from GPS via the internal test channel"promo_code": "BRV001"
viabrave://local-state
Test Case #3
Chrome
and clicked onProduction GPS WWK708
Brave Browser
from GPS"promo_code": "WWK708"
viabrave://local-state
Verification PASSED on
Samsung Tab S8 Ultra
runningAndroid 12
using the following build(s):Because of https://github.com/brave/brave-browser/issues/25931, used the
apk
method on the tablet.Test Case #1
As per https://github.com/brave/brave-browser/issues/25265#issuecomment-1267633910, this was verified on
BETA
as per https://github.com/brave/brave-browser/issues/25265#issuecomment-1269051612.Test Case #2
Brave Browser
via the APK"promo_code": "BRV001"
viabrave://local-state
Test Case #3
Chrome
and clicked onProduction GPS WWK708
1.44.112 Chromium: 106.0.5249.119
via theAPK
Open
via GPS"promo_code": "WWK708"
viabrave://local-state