Meta tags

apple-itunes-app

Adds Apple’s Smart App Banner in Safari. The banner opens the installed app or its App Store page.

Code examples

Good example
<meta name="apple-itunes-app" content="app-id=123456789">
The required parameter with a numeric App Store ID.
Good example
<meta name="apple-itunes-app" content="app-id=123456789, app-argument=https://example.com/articles/1234">
Adds a valid URL that lets the installed app open the matching content.
Avoid this example
<meta name="apple-itunes-app" content="app-id=">
The required app ID is empty.
Avoid this example
<meta name="apple-itunes-app" content="app-argument=https://example.com/articles/1234">
Missing the required app-id parameter.

Recommendations

  • 01
    Provide the App ID
    The app-id parameter is required. Use the numeric App Store ID without the id prefix.
  • 02
    Add Page Context
    Use app-argument with a valid URL when the installed app can open the matching content.
  • 03
    Test in Safari
    Smart App Banners do not appear inside a frame or in the iOS simulator.

Related documentation

Related meta tags

Adds Apple’s Smart App Banner in Safari. The banner opens the installed app or its App Store page.

<meta name="apple-itunes-app" content="app-id=123456789">
The required parameter with a numeric App Store ID.

Legacy Apple extension that makes a Home Screen web app open without Safari controls when set to yes. Prefer a web app manifest for a modern PWA.

<meta name="apple-mobile-web-app-capable" content="yes">
The only value that enables this legacy standalone mode.

Legacy Apple extension that sets the iOS status bar style for a Home Screen web app. It only works when apple-mobile-web-app-capable enables standalone mode.

<meta name="apple-mobile-web-app-status-bar-style" content="default">
Uses the normal status bar. This is also the default value.

Legacy Apple extension that sets the title shown for a Home Screen web app. Without it, iOS uses the page title.

<meta name="apple-mobile-web-app-title" content="MyApp">
A short Home Screen title.

Deprecated pre-manifest hint once used by Chrome for Android to launch a Home Screen site without browser controls. Use a web app manifest today.

<meta name="mobile-web-app-capable" content="yes">
The historical value that requested standalone app mode.