App Store Link widget for mobile site

In recent months, I have found several sites using some kind of "widget".

If I open a website with these widgets with my iPhone, it will display a link to the iPhone application (associated with the website). It looks like a simple div containing the application name, rating and link. The widget even β€œknows” whether I installed the application or not.

This thing is always displayed at the top of the page and always looks the same. Is there any widgets / APIs offered by Apple, or who is the creator of these links? I did not find anything on the Internet about this ...

Thanks for your help!

+4
source share
1 answer

You are looking for "Smart App Banners".

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

Using is as simple as adding the following meta tag to the source code of your web page, specifying the Apple App Store identifier for some of the affiliate data and even the URL scheme argument.

<meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL"> 
+12
source

Source: https://habr.com/ru/post/1495996/


All Articles