Using INSTALL_REFERRER and our own broadcast receiver, we are able to track installs for a referral program in our app. We are, however, running into certain limitations in the tracking process. Has anyone been able to solve andy of these issues?
When we share a campaign URL with another user, when the second user tries to open the URL, he will encounter two options for opening it, browser and Google Play. The referral tracking is done only if user installs the app through Google Play.
For older versions like 2.1, we were not able to capture the referral tracking. So if the second user has OS 2.1, the app does not track the installation.
In order to load the referrer when sending the link to another user (and in order to avoid the browser/google-play question), the link should not be:
https://play.google.com/store/apps/details?id=com.xxx.appname&referrer=abc
but
market://details?id=com.xxx.appname&referrer=abc
Related
I want to have referral links to get the referral code with in the application (after installation) to provide credits based on the code for both Android and iOS.
I was able to explore these options:
1. Play Install Referrer API
Where the url would look something like: https://play.google.com/store/apps/details?id=com.example.myapp&referrer=utm_source%3Dstaff-referral%26utm_content%3713491235
Where I can get the content 713491235 using the Play Install Referrer API. However the problem here is this is very specific to Android and cannot work for iOS.
2. Firebase deep linking
Where the url would look something like: https://myapp.page.link/?link=https://mywebapp.com/713491235&apn=com.example.myapp
Where I can get the url https://mywebapp.com/713491235 using the Firebase deeplink api. This seems to solve for Android and iOS, but there isn't much information on how long the deeplink is alive, meaning
What happens if I install the app using deeplink but don't open the app for few days. Will it still be available when I open the app later.
What happens if I click on the link, but do not install then are there. Instead install it later by searching on playstore and installing. Will I still be able to get the link once the app is open?
Is there a way to combine both the Play Install Referrer API and Firebase deeplink? like - https://myapp.page.link/?link=https://mywebapp.com&apn=com.example.myapp&afl=https://play.google.com/store/apps/details?id=com.example.myapp&referrer=utm_source%3Dstaff-referral%26utm_content%3713491235 so that if the app is not installed on Android, we can use the Play Install Referrer API(which looks more reliable).
And I am not able to understand the purpose of Play Install Referrer Links, if they are not converted to universal links, because often we don't know which device the url will be used on. Sharing a link specific to playstore doesn't seem to help. What exactly is the usecase of Play Install Referrer?
Because in case of Play Install Referrer API they were clearly mentioning:
Caution: The install referrer information will be available for 90
days and won't change unless the application is reinstalled. To avoid
unnecessary API calls in your app, you should invoke the API only once
during the first execution after install.
I'll answer your questions one by one - I think Firebase Dynamic Links are the better choice for you, based on your requirements.
I couldn't find anything in the documentation for this, but it seems that the link will expire roughly 1 hour from install time (as said here and here).
Android and iOS integration methods are interestingly different in Firebase - if an new iOS user taps the link, it will copy the Dynamic Links URL to the clipboard and read it when the app is opened, whereas Android calls the intent handler for the URL, which in turn calls a Firebase function that extracts the link.
This means that an iOS link, until a user copies something else, should still work - which effectively means a short lifetime, as you can't rely on your users not copying something else. For Android, though, the intent handler is the link - if a user breaks the flow, it'll no longer work.
From a technical view, you could completely create a double-link - I'm not sure whether that would be needed, though, as I'm not sure on how the Play Install Referrer API works and I assume it will use a similar method with them both being developed by Google.
The main use case of the Play Install Referrer API is to track the effectiveness of ad campaigns on a mobile app - the data received from the API is similar to the UTM parameters at the end of a URL (e.g. utm_campaign, utm_source) that tell the website owner where the user comes from. They can be used in situations where the advert knows what your device OS is - for example, an advert inside another app.
I have research little bit in Google and I found that Google analytics campaign allow tracking but it only for develop by me.
I want to track another app.
E.g. if send link of WhatsApp app to my friend and when my friend install app.
I want to track that WhatsApp app install from my link is unic or not.
And also receive some data that I know that install is done.
Basically I am thinking to develop app like wild wallet, earn talk time etc. Which allow user to install unic app and give them rewards.
I think there is no method to do it.
I am adding an install referrer to a Play Store link.
If that link is launched from an Android device then I get the referrer data and everything works well.
But, when using the same link from desktop and choosing Web to Device installation to an Android device, the referrer value is not passed at all.
Is that the expected behavior? If so, Is there any other way to pass a parameter through an Web to Device install?
***** EDIT *****
Ok, it seems like this is the normal behavior according to Google Analytics Docs.
Google Play Campaign Measurement does not currently support web-to-device installs initiated from the web Play Store.
So my updated question is:
Is there any other way or a workaround to make it happen?
One workaround I've seen used is sending the link via SMS. On the desktop, the website visitor sees a "Text Me The App" form where they can enter their phone number and click "Send Link". They receive a link on their phone and open it there.
The link could be an intermediary page that redirects the user either to Google Play or to the iOS app store. So the same link can work on both platforms.
There are of course caveats with this approach: SMS sending fees, infrastructure needed for processing the submitted form data, privacy concerns (user is entering their phone number. Have fun doing this in EU :-) ). User's device needs to have a phone number so it can receive messages.
One commercial offering I've found that does this is https://docs.branch.io/pages/web/text-me-the-app/
Is it possible to redirect the user of my app to my watchface entry in the recently released Pebble store, from my Android app?
Technically, I was wondering if the new 2.0.0 Pebble app catches any URIs or Intents in order to let the user land on an specific entry in the Pebble store, just like we can redirect users to a Play Store entry via market:details?id=xyz or even https://play.google.com/apps/details?id=xyz URIs.
Does it expose similar functionality?
Yes. You can use pebble://appstore/APP_ID where APP_ID is the Pebble appstore ID of your app, which you can find by going the developer portal, going into the details for your app, and it's the last part of the URL.
It doesn't work properly at the moment with the current Android betas, but it will be working by the time app is released.
What are the alternative ways for us to track downloads without installing the FB Android SDK (we prefer not using SDKs due to various reasons)? Ideally, we want to route the click to our tracking server prior to sending the user to the Play Store, but could settle with adding a referrer without routing the user to our tracking server. If the latter is an option, where in the setup do we specify the referrer value?
It would appear you could also use the Google Analytics SDK to capture the Intent containing referral data.
Essentially you'd create a BroadcastReceiver (AnalyticsReceiver/CampaignTrackingReceiver) that listens for the installation event and passes and Intent with referral data after install to the app.
Valuable information regarding this method can be seen in the links below:
How to test android referral tracking?
https://support.google.com/analytics/answer/3389142?hl=en