Smart App Banner vs web-to-app banner: what each does on iPhone and Android
Apple's Smart App Banner is one meta tag, but it only shows in Safari on iPhone and iPad. What it does, where it doesn't appear, what Android offers instead, and when a web-to-app banner of your own is the better choice.
· DL2App · 6 min read
If your app has a website, some visitors arrive on their phone and would be better off in the app. A banner at the top of the page, "Open in the app", is the usual way to move them across. There are two kinds: Apple's built-in Smart App Banner, and a banner your own site draws, usually called a web-to-app banner.
This post explains what each does, where each one shows up, and which to use.
The short answer
- Apple's Smart App Banner is one meta tag, free, and looks native, but it only appears in Safari on iPhone and iPad.
- Android has no equivalent. Chrome can be asked to suggest your Play Store app, but it rarely shows.
- A web-to-app banner is drawn by your page, so it works in every browser, including Chrome on iPhone, Android, and in-app browsers like Instagram's. You choose its text, look and where it sends people.
- Many sites use both: Apple's banner in Safari, their own everywhere else.
Apple's Smart App Banner
Add one tag to your page's <head>:
<meta name="apple-itunes-app" content="app-id=123456789, app-argument=https://example.com/products/42">
app-idis your App Store ID, the number in your App Store link afterid. Our app lookup finds it from the app's name.app-argumentis optional. When the app is installed and someone taps Open, iOS passes this URL to the app, so it can show the same product instead of its home screen.
Safari then draws a strip at the top of the page with the app's name, icon and rating from the App Store. It says Open if the app is installed and View if not, which goes to the App Store.
Our Smart App Banner generator writes the tag and shows what Safari will display.
Where it doesn't appear
This is what catches most teams out. The Smart App Banner does not appear in:
- Chrome, Firefox, Edge or any other browser on iPhone;
- in-app browsers: pages opened inside Instagram, TikTok, Facebook, LinkedIn or Gmail;
- any browser on Android;
- computers, and Safari's private browsing.
And once someone closes it, Safari stops showing it to them on that site. You can't change its wording, colours or position, and you don't get any count of how often it was shown or tapped.
If much of your traffic comes from social apps, which open links in their own browsers, many of your phone visitors will never see it. Our in-app browser detector shows what a visitor's browser is.
What Android offers
Android has no meta tag like Apple's. The nearest thing is in your web app manifest:
{
"related_applications": [{ "platform": "play", "id": "com.example.app" }],
"prefer_related_applications": true
}
This asks Chrome to offer your Play Store app instead of installing your website as an app. Chrome decides when, if ever, to show it, and in practice it shows far less reliably than Apple's banner. For a dependable "open in app" prompt on Android, you need your own banner.
A web-to-app banner
A web-to-app banner is part of your page: a strip, card or button your own code draws. Because it's yours:
- It works everywhere: Safari, Chrome on iPhone, Android, and inside Instagram and TikTok.
- You choose its text and look, and whether it shows on every page or only some.
- You can count it: how often it was seen and tapped, and how many taps led to installs.
- It can open the same page in the app, if its button is a link the app is set up to open.
What it needs to work well:
- The button should be a Universal Link or App Link on a domain your app is set up for, so it opens the app when installed and goes to the store when not. A plain
myapp://scheme link shows an error to people without the app. - On iPhone, the link should be on a different domain from the page. iOS only opens an app from a link that crosses domains. A button on
example.compointing toexample.com/products/42stays in Safari. Point it at a link domain such asgo.example.cominstead. - It should carry the page through an install. Someone who installs from the banner should land on the product they were looking at, not the home screen. That's deferred deep linking.
- It should be easy to close, and stay closed. A banner that covers the page and can't be dismissed is annoying, and Google discourages pages that hide content behind interstitials on mobile.
Which should you use?
| Smart App Banner | Web-to-app banner | |
|---|---|---|
| Effort | One meta tag | A script or your own code |
| Safari on iPhone | Yes | Yes |
| Chrome on iPhone, Android | No | Yes |
| Instagram, TikTok and other in-app browsers | No | Yes |
| Your own text and design | No | Yes |
| View and tap counts | No | Yes, if you track them |
| Opens the same page in the app | With app-argument |
If the button is a deep link |
| Carries the page through an install | No | If the link supports deferred deep linking |
If you only want a quick win in Safari, add Apple's tag today. If most of your phone traffic comes from social apps or Android, a web-to-app banner is the one that reaches it.
DL2App's banner
DL2App includes a web-to-app banner on every plan. Paste one script tag into your site, then set its title, button, colours, position and destination in the dashboard; changes reach your site within five minutes. On phones it opens the same page in the app, or the right store if the app isn't installed. On computers it can show a card with a QR code instead. The dashboard shows how often it was seen and tapped, and taps appear in your campaign figures.
The banner's button points at your link domain, not your website, so iOS opens the app rather than staying in Safari. To start, paste your App Store or Google Play link at portal.dl2.app. See the web SDK docs and pricing.
Questions people ask
What is a Smart App Banner?
Apple's built-in banner for websites with an iOS app. You add the apple-itunes-app meta tag, and Safari on iPhone and iPad shows a strip with your app's name and an Open or View button.
Why isn't my Smart App Banner showing?
It only appears in Safari on iPhone and iPad, not in Chrome, in-app browsers or private browsing. If you closed it once, Safari hides it for that site. Check that the tag is in the page's <head> and that the App Store ID is right.
Is there a Smart App Banner for Android?
Not an equivalent one. The related_applications manifest keys ask Chrome to suggest your Play Store app, but they show rarely. Use a web-to-app banner for Android.
Can I change the text of Apple's Smart App Banner? No. Its name, icon and rating come from the App Store. To choose your own text, use a web-to-app banner.
Will a banner hurt my SEO? A small banner that's easy to close is fine. Google discourages full-screen pop-ups on mobile that hide the page's content, so avoid covering the page.
Start with one link
The free plan has no time limit and needs no card. Create a project, add your app, and send yourself the link.