Google recently implemented a feature into Google Search that allows a user to install your app on the fly if the result can be opened in your app.
Is there any way to detect if this is how your app was opened? Installed and deep linked from a Google Search?
A deep link is a URL link that is generated, when anyone clicks on that link our app will be open with a specific activity or a screen. Using this URL we can send a message to our app with parameters. In WhatsApp, we can generate a deep link to send a message to a phone number with some message in it.
To use the tool, log in to your Adjust dashboard and open the Menu, where you'll see the 'Deeplink Generator' as an option. Click to open, and you'll find a page to input the information required to create your deep link. Then simply copy and paste into whichever campaign you've set up.
Android Studio makes it very easy to test deep links. Click Run > Edit Configurations to edit the configuration of the project. Open the General tab at the top and enter the URI in the Deep Link field in the Launch Options section.
You can query the Intent extra android.intent.extra.REFERRER_NAME
in your Activity to check if your app was deep-linked from Google Search.
From the documentation
The value of the extra will have one of the following formats, depending on the type of referrer:
App referrer — "android-app://{package_id}/{scheme}/{host_path}"
Web referrer — "https://{host_path}"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With