On this page
What this issue is
An intent filter is a block in your Android app's AndroidManifest.xml that tells the phone which links the app can open. For web links (Android App Links), the filter lists a scheme (https), a host (www.example.com) and a path rule (pathPrefix, pathPattern and so on).
Why it costs you leads or sales
People who already installed your app are your best audience. When a campaign link opens a mobile web page instead, they land in a weaker experience: they must log in again, the cart is empty and the checkout is slower. Some will drop out. You also lose app-side events, so campaign results can look worse in the app than they really are.
- Ad or email tapUser taps https://go.example.com/promo/spring
- Android checks filtersNo filter matches host or path
- App opens on the offerNever happens
- In-app purchase or signupLost
The tap reaches Android, but no intent filter matches the campaign path, so the app never opens.
Example: illustrative numbers only. Installed-app users often finish more often in the app than on a mobile web page.
How to check if your site has it
Copy the exact campaign URL
Use the final URL people tap, including the host and path, such as https://go.example.com/promo/spring?utm_source=email.
Read the manifest
Open
app/src/main/AndroidManifest.xmland find every<intent-filter>withandroid:autoVerify="true". Compare each<data>scheme, host and path rule with your URL.Test with adb
With the app installed on a device or emulator, run the command below. If the app does not open, or a chooser appears, the filter does not match or is not verified.
Check verification status
Run
adb shell pm get-app-links com.example.app(Android 12 and later). Your host should show asverified.
adb shell am start -a android.intent.action.VIEW \
-c android.intent.category.BROWSABLE \
-d "https://go.example.com/promo/spring"
adb shell pm get-app-links com.example.appHow to fix it
The fix is to make the intent filter cover the campaign URL, then ship a new app build. Existing installs only pick up the change after the user updates the app.
<activity android:name=".MainActivity" android:exported="true">
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" />
<data android:host="go.example.com" />
<data android:pathPrefix="/promo" />
</intent-filter>
</activity>Add the missing host
Add a
<data android:host="..." />line for every domain used in campaigns. Subdomains need their own entry.Add the missing path
Use
pathPrefixfor a whole section,pathfor one exact page, orpathPatternfor simple wildcards. Query strings such as UTMs do not need to be listed.Keep the filter complete
It needs the VIEW action, the DEFAULT and BROWSABLE categories, and the
httpsscheme, or Android ignores it.Handle the path in the app
Make sure the activity reads
intent.dataand routes to the right screen, otherwise the app opens on the home screen.Add the host to assetlinks.json
Serve
https://go.example.com/.well-known/assetlinks.jsonwith your package name and signing certificate SHA-256 fingerprint.Release the build
Publish the update through Google Play. Verification runs when the app is installed or updated.
How to confirm it's fixed
- The adb VIEW command opens the app on the right screen, with no chooser.
adb shell pm get-app-links <package>shows the campaign host as verified.- Tapping the real campaign link from an email or messaging app opens the app.
- A device without the app still opens the web page, not an error.
- The link works with UTM and click id parameters attached.
Before
- Filter lists only www.example.com and /product
- Campaign link on go.example.com/promo opens Chrome
- Users land on a mobile web page
After
- Filter lists go.example.com and /promo
- Host verified through assetlinks.json
- Campaign link opens the app on the offer screen
How to prevent it happening again
- Give the app team the list of campaign hosts and paths before each launch.
- Prefer a stable path prefix for campaigns, such as
/promo, so new pages are covered automatically. - Add an adb link test to your release checklist.
- Whenever you add a new domain or subdomain, update both the manifest and its assetlinks.json.
- Keep a web fallback page for every campaign path.
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. The intent filters live inside the compiled app's manifest, and FunnelGuard runs website journeys, not app installs. FunnelGuard does check the domain's assetlinks.json, which is the website half of the setup, but it cannot read your manifest or tell you whether a filter matches the campaign path.
For the manifest side, use a mobile app testing or deep link testing tool: Android Studio's App Links Assistant, adb commands in your CI pipeline, or a mobile device testing service that can run an installed app on real devices.
Questions people ask
Why is my Android app not opening from a campaign link?
Most often no intent filter in AndroidManifest.xml matches the link's host or path, or the host is not verified through assetlinks.json. Check both with the adb VIEW command and adb shell pm get-app-links.
How do I make an Android app open from a specific URL path?
Add an intent filter with the VIEW action, DEFAULT and BROWSABLE categories, the https scheme, your host, and a pathPrefix, path or pathPattern that matches the URL. Set android:autoVerify=\"true\" and publish an update.
Do UTM parameters need to be listed in the intent filter?
No. Intent filters match scheme, host and path only. Query parameters such as utm_source or gclid are passed to the app in the intent data, and your code can read them.
How do I test Android App Links with adb?
Run adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d \"https://your-link\". Then run adb shell pm get-app-links your.package.name to see whether each host is verified.
Do I need to release a new app version after changing the manifest?
Yes. Intent filters are compiled into the app, so users only get the change after they update. Verification is also re-run on install or update.
What is the difference between an intent filter and assetlinks.json?
The intent filter is in the app and says which links it can handle. The assetlinks.json file is on your domain and proves the app is allowed to handle them. Android needs both to open the app without a chooser.
Can FunnelGuard check my Android intent filters?
No. Intent filters live in the app's manifest, which FunnelGuard does not read. FunnelGuard checks the domain's assetlinks.json, and you would use a mobile app or deep link testing tool for the manifest.
Related issues
- APP-013assetlinks.json missing, redirected, wrong content type or malformedFix guide
- APP-014assetlinks.json fingerprint doesn't match the app signing key (or is a SHA-1)Fix guide
- APP-011Campaign URL not covered by the Universal Links rules (path excluded or missing)Fix guide
- APP-015Deep link's web page answers 404 for people without the appFix guide
- APP-018Deferred deep link loses the campaign or destination after installFix guide
- APP-016Attribution link (Adjust, AppsFlyer, Branch, Firebase) broken or sending to the wrong storeFix guide