Early Access

Meta Tags

apple-itunes-app

Learn how to use the apple-itunes-app meta tag to improve your site.

Promotes an iOS app on Apple’s App Store directly within the Safari browser. When added to a web page, it triggers a banner suggesting users to install the app.

Code Examples

<meta name="apple-itunes-app" content="app-id=123456789" />
Correctly specifies the App Store ID for the app, directing users to the exact app in the store.
<meta name="apple-itunes-app" content="app-id=123456789, affiliate-data=partnerId=123456, app-argument=myapp://content/1234" />
Specifies the App Store ID along with affiliate data for commission on sales and an app argument for deep linking into the app once installed.
<meta name="apple-itunes-app" content="app-id=" />
Specifies an empty app-id, which would result in no app being promoted.
<meta name="apple-itunes-app" content="affiliate-data=partnerId=123456" />
Only includes affiliate data with no app-id specified, leading to a configuration that does nothing.

Recommendations

  • Avoid Spammy Experience
    Use sparingly to not overwhelm users or detract from the primary content of the page.
  • Combine with Smart App Banners
    Apple’s JavaScript-based Smart App Banners offer a more uniform, integrated experience over using the meta tag alone; consider using them for deeper integration.

Related Documentation

Related Meta Tags

Promotes an iOS app on Apple’s App Store directly within the Safari browser. When added to a web page, it triggers a banner suggesting users to install the app.

<meta name="apple-itunes-app" content="app-id=123456789">
Correctly specifies the App Store ID for the app, directing users to the exact app in the store.

Specifies whether a web application runs in full-screen mode when added to the homescreen of an Apple device.

<meta name="apple-mobile-web-app-capable" content="yes">
Enables full-screen mode when the web app is added to the homescreen, providing a more app-like experience.

Specifies the style of the status bar for a web application when added to the homescreen of an iOS device. This meta tag influences the appearance of the status bar to either match the web app design or maintain the default iOS style.

<meta name="apple-mobile-web-app-status-bar-style" content="default">
Sets the status bar to the default iOS style, providing a consistent look with other applications on the device.

Provides a custom title for a web application when added to the home screen on Apple iOS devices. This title appears below the app icon, offering more control over branding and user interface.

<meta name="apple-mobile-web-app-title" content="MyApp">
Specifying a concise and descriptive name such as "MyApp" ensures the title is readable at a glance and is easily recognizable by users.

Indicates to mobile browsers that the website can be run as a standalone application when added to the user’s home screen, offering a more app-like user experience.

<meta name="mobile-web-app-capable" content="yes">
Tells the mobile browser to make the website available in a standalone mode.