On this page
What this issue is
Your site has a "Get the app" or "Download" button. It should open the App Store for iPhone and iPad visitors and Google Play for Android visitors. When it fails, an iPhone user lands on a Google Play page they cannot use, or an Android user lands on an App Store page.
Why it costs you leads or sales
The visitor already wanted the app. A wrong-store page is a dead end: the install button is missing or says the app is not compatible, so most people give up. You pay for the click, but get no install.
- Ad clickiPhone user lands on your page
- Get the app buttonTapped on Safari
- Store routingSends the iPhone to Google Play
- InstallNot possible
- First app openNever reached
The break happens at the store routing step, so the install never happens.
Example: an iPhone-heavy audience whose button sends everyone to Google Play. Numbers are illustrative.
How to check if your site has it
Test on an iPhone in Safari
Open your landing page and tap the app button. You should reach the App Store listing (apps.apple.com) for the right app.
Test on an Android phone in Chrome
Tap the same button. You should reach Google Play (play.google.com) for the right app.
Test on a desktop
You should see a page or buttons for both stores, or a QR code, not a single store.
Scan your QR codes
Scan printed and on-page QR codes with both phones. They often point to one store only.
Check an iPad
iPadOS can report itself as a Mac in Safari. Make sure it still reaches the App Store.
How to fix it
Pick one of two approaches. The simplest and most robust is two buttons: one for the App Store and one for Google Play. No detection is needed, so nothing can misroute. If you want a single button, route by device, as below.
<a href="https://apps.apple.com/app/idYOUR_APP_ID">Download on the App Store</a>
<a href="https://play.google.com/store/apps/details?id=com.example.app">Get it on Google Play</a>const ua = navigator.userAgent;
const isIOS = /iPhone|iPad|iPod/.test(ua) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);
const isAndroid = /Android/.test(ua);
const btn = document.querySelector('#get-app');
if (isIOS) {
btn.href = 'https://apps.apple.com/app/idYOUR_APP_ID';
} else if (isAndroid) {
btn.href = 'https://play.google.com/store/apps/details?id=com.example.app';
} else {
btn.href = '/app'; // a page showing both stores
}Find the button
Edit the page in your page builder or the block editor and check the button's link. Also check any plugin or theme widget that adds app buttons.
Use two buttons or the script
Replace a single-store link with two buttons, or add the script above with a Custom HTML block or a header and footer plugin.
Edit the section
In Online Store > Themes > Customize, open the section holding the app button and check its link field.
Add both badges
Add two buttons, or put the script in a Custom Liquid block or theme.liquid, depending on your theme.
Check for redirect tags
Look for Custom HTML tags that rewrite app button links or redirect by user agent. Fix the logic or pause the tag.
Preview on phones
Use Preview mode on an iPhone and an Android phone to confirm the right link is set.
Replace the single link
Select the button and check its Link settings. Use two buttons, or add the script in Page settings > Custom code (before body end tag).
Publish and retest
Publish the site and test on real phones.
Check the button link
Open the funnel or website step, select the button and review its URL.
Add both buttons or custom code
Use two buttons, or add the script in the step's custom code area.
Edit the button link
Select the button, open the link settings and check the URL.
Use two buttons
Wix has no simple per-device link, so add one button per store. You can also use custom code if your plan allows it.
Edit the button block
Check the link on the button block.
Use two buttons or code injection
Add two buttons, or add the script with a Code block or Settings > Advanced > Code Injection if your plan includes it.
Prefer server-side or two links
Either show both links or redirect on the server by user agent, with a fallback page for desktop.
Keep campaign parameters
If you redirect, make sure UTMs and click ids are not lost on the way to the store link.
How to confirm it's fixed
- iPhone in Safari reaches the correct App Store listing
- Android in Chrome reaches the correct Google Play listing
- iPad reaches the App Store
- Desktop shows both stores or a QR code
- QR codes work with both phones
- Links also work inside in-app browsers such as Instagram or Facebook, if you run social ads
How to prevent it happening again
This usually returns after a redesign, a new landing page copied from an old one, a new QR code or a script change. Add the two-phone test to your launch checklist for every page with an app button. Keep one list of the official store URLs so nobody pastes an old link.
Day 1
A new landing page is cloned with only the Google Play link.
Day 3
iPhone visitors from ads bounce at a Play Store page. Installs from iPhone stay near zero.
Day 10
Someone taps the button on an iPhone and spots the problem.
Day 10
Two buttons are added, and both phones are tested.
How FunnelGuard handles this
FunnelGuard detects this issue. On a schedule, a robot visitor runs your page as an iPhone in Safari and as an Android phone in Chrome, follows the app button on each and checks that it ends up in the matching store. If an iPhone run lands on Google Play, or an Android run on the App Store, the failure is re-checked from a second region, then you get one alert with a screenshot and a likely cause.
Questions people ask
Why is my app button sending iPhone users to Google Play?
Most often the button links to a single Google Play URL, or a redirect script checks the device wrongly. Open the button's link in your page editor, then test on a real iPhone in Safari. Switch to two store buttons or correct device routing.
How do I send iPhone users to the App Store and Android users to Google Play from one link?
Check the visitor's user agent and set the link to the App Store for iPhone, iPad and iPod, and to Google Play for Android. Give everyone else a page or buttons for both stores. A redirect service or your own server can do the same.
Why does my QR code open the wrong app store?
The QR code probably encodes a single store URL. Use one QR code that points to a page doing device routing, or print two separate codes labelled for each store. Scan both with real phones before printing.
Why do iPads go to the wrong place on my app link?
Newer iPads can report themselves as a Mac in Safari, so a script looking only for iPad in the user agent misses them. Also check touch support, as in the code above, to treat them as iOS.
Is it better to use two store buttons or one smart button?
Two buttons are simpler and cannot misroute, since the visitor picks their store. One smart button looks cleaner but depends on detection that can break. If you use one, keep a fallback for desktop and unknown devices.
How can I test which store my app link opens?
Tap the link on a real iPhone in Safari and a real Android phone in Chrome, and also open it on desktop. Emulation in browser developer tools helps with script bugs but not full store hand-off. A monitoring tool can repeat this on a schedule.
Can FunnelGuard detect when my app button goes to the wrong store?
Yes. It runs the app button as an iPhone in Safari and an Android phone in Chrome and checks each reaches the matching store. If one does not, you get an alert with a screenshot and a likely cause.
Related issues
- APP-001App Store or Google Play link opens the wrong or an old appFix guide
- APP-005Landing page UTMs or click ids not passed into the store linkFix guide
- APP-007Get the app button leads to a 404, a loop or a dead page instead of the storeFix guide
- APP-008Smart app banner points to a different app than the store linksFix guide
- APP-016Attribution link (Adjust, AppsFlyer, Branch, Firebase) broken or sending to the wrong storeFix guide
- APP-004Store link has no campaign (no Play referrer, no App Store campaign token) so installs aren't attributedFix guide