"Link to App Store" widget for mobile website
Asked Answered
B

1

8

For the past months I have found several websites using some kind of "widget".

If I open a website having this widget with my iPhone, it will display a link to the (website related) iPhone app. It looks like a simple div containing appname, rating and link. The widget even "knows" whether I have already installed the app or not.

This thing is always shown on the top of the page and looks always the same. Is there some kind of widget/API offered by Apple or who is the creator of those links? I have found nothing yet in the web about it...

Thanks for your help!

Baryon answered 8/8, 2013 at 16:10 Comment(0)
K
21

You're looking for "Smart App Banners".

http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html

Usage is as simple as adding the following meta tag to your web page's source code, specifying the Apple App Store ID some affiliate data, and even a URL scheme argument.

<meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL">
Kiloton answered 8/8, 2013 at 16:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.