On this page
What this issue is
The smart app banner is the strip Safari on iPhone and iPad shows at the top of a page when it finds this tag in the page head: <meta name="apple-itunes-app" content="app-id=123456789">. The number is the App Store ID of the app it promotes.
Why it costs you leads or sales
Visitors on iPhone see the banner first. If it opens an old, unrelated or wrong app, they install the wrong thing or leave confused. Others scroll to your button and land on a different listing than the banner showed. Installs get split, and your reports no longer tell you which app a campaign drove.
- Ad clickVisitor lands on your page on iPhone
- Smart bannerShows app ID 111 (old app)
- Store buttonLinks to app ID 222
- InstallWrong or no install
The banner and the button lead to different apps, so the visitor never reaches the app you meant.
How to check if your site has it
Find the banner ID
Open the page, view source and search for
apple-itunes-app. Note the number afterapp-id=.Find the store links
Search the source for
apps.apple.com,itunes.apple.comandplay.google.com. Note theidnumber in each App Store link and theid=package name in each Google Play link.Compare
The App Store ID in the banner must equal the ID in every App Store link. The Google Play package should be the Android version of the same app.
Open the listings
Visit each link on a phone or in a browser and check the app name, developer and icon are what you expect.
Check other pages
Banners are often set in a site-wide template, so check the home page, landing pages and blog posts too.
<meta name="apple-itunes-app" content="app-id=111111111">
<a href="https://apps.apple.com/us/app/your-app/id222222222">Download on the App Store</a>How to fix it
First decide which app is correct. Find its ID in App Store Connect (App Information, Apple ID) or in the number after id in its public App Store URL. Then make the banner and all links use it.
Find where the tag is added
Check your theme header, a header and footer scripts plugin, or an SEO or app banner plugin. Search the theme files for
apple-itunes-app.Update the ID
Change the app-id value, then update the button links in your pages, widgets and menus.
Edit theme.liquid
In Online Store, Themes, Edit code, open
layout/theme.liquidand search forapple-itunes-app. Fix the ID.Fix button links
Update store badges in theme sections, the footer and page content.
Look for a Custom HTML tag
If the meta tag is injected by GTM, open the Custom HTML tag that adds it and correct the app-id.
Publish
Preview the container, then submit and publish.
Check custom code
In Site settings, Custom code, Head code, and in each page's settings, look for the meta tag and fix the ID.
Fix links and publish
Update badge links on the Designer canvas, then publish.
Update shared templates
Change the meta tag in your layout or head partial so all pages inherit one value.
Use one config value
Store the app ID in one variable and reuse it for the banner and the links.
<meta name="apple-itunes-app" content="app-id=222222222">
<a href="https://apps.apple.com/us/app/your-app/id222222222">Download on the App Store</a>Mismatched
- Banner shows app ID 111111111
- Buttons open app ID 222222222
- Installs split across two listings
Aligned
- Banner and buttons use app ID 222222222
- One clear app for every visitor
- Installs land on one listing
How to confirm it's fixed
- View source on several pages: the
apple-itunes-appID matches every App Store link - Open the page in Safari on an iPhone and check the banner shows the right app name
- Tap each store button and confirm it opens the same app
- Clear caches or purge your CDN so old HTML is not served
- Check the Google Play link points to the Android version of the same app
How to prevent it happening again
Keep the app ID in one place, such as a theme setting or config file, and reuse it. Add a step to your launch checklist for any app rename, new listing or rebrand: update the banner and every store link in the same release. Re-check after theme or template changes.
How FunnelGuard handles this
FunnelGuard detects this today. Its app store link check reads the store links and the smart app banner on your pages and flags links that disagree. It runs on a schedule, so a mismatch introduced by a theme edit or a rebrand is caught without you looking. You get one alert with a screenshot and a likely cause. The check compares what is on the page; it does not install your app. A free plan covers 1 site and 2 journeys with daily checks, and paid plans have a 3-day free trial.
Questions people ask
Why does my smart app banner show a different app than my download button?
The apple-itunes-app meta tag and your store link use different App Store IDs. This often follows a rebrand, a new app listing or a copied template. Change them so both use the same ID.
How do I find the app ID for the smart app banner?
Open your app's App Store URL and copy the number after id, or find the Apple ID under App Information in App Store Connect. Use that number as app-id in the meta tag.
How do I add a smart app banner to my website?
Add <meta name="apple-itunes-app" content="app-id=YOUR_ID"> inside the head of your pages. Safari on iOS then shows the banner. It does not appear in other browsers.
Does the smart app banner work on Android?
No. The apple-itunes-app tag is read by Safari on iOS and iPadOS. For Android, link to Google Play with normal buttons or use your own banner.
Can a mismatched banner affect my install numbers?
Yes. Visitors may install the wrong app or abandon the page, and installs are spread across two listings. That makes campaign results harder to read.
How can I check my banner against my links automatically?
FunnelGuard's app store link check compares the store links and banner on your pages and flags links that disagree. It runs on a schedule and sends an alert when it finds a mismatch.
Related issues
- APP-001App Store or Google Play link opens the wrong or an old appFix guide
- APP-006iPhone visitors sent to Google Play (or Android visitors to the App Store)Fix guide
- APP-004Store link has no campaign (no Play referrer, no App Store campaign token) so installs aren't attributedFix guide
- APP-016Attribution link (Adjust, AppsFlyer, Branch, Firebase) broken or sending to the wrong storeFix guide
- APP-002App removed from the store (listing not found) while the site still links to itFix guide
- APP-003App not available in the visitor's countryFix guide