This may be old news to some of you, but I haven't found a place that collects this in one spot.
One of the most offensive experience I have when surfing a site on my mobile devices is being forced to click through an advertisement for the site's app in the iTunes store (even moreso when I am surfing on a non-iOS device). There is a fair number of sites I have tapped away from because of this (I also don't expect to be served the page I came to see, but instead shunted to the mobile home page).
If yours is one of those sites, whether promoting your entire user experience or just a product, there is a less offensive way to present your pitch to users on iOS and Windows Phone.
Safari on iOS 6 and later devices can promote your app with a standardized banner. Essentially you stuff a custom
meta tag into your page that references your App Store ID. If the user already has the app installed, then the ad becomes a launcher instead.
The code is pretty simple:
<meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL">
app-idis required and references your app's identifier.
affiliate-datais optional and uses your iTunes affiliate string.
app-argumentis also optional and can allow users who have your app installed to jump to a specific place in your app.
More details at Apple's developer site: Promoting Apps with Smart App Banners
Microsoft offers a similar feature for users of Windows 8 in non-desktop mode who are also using Internet Explorer. I have not tried it, so I cannot explain how this works as the user changes modes nor how it works with the "charms" feature of Windows 8.
This code is relatively simple as well, though it requires two
meta tags and supports up to five:
msApplication-IDis required and references your app's identifier.
msApplication-PackageFamilyNameis required and contains the package family name created by Visual Studio.
msApplication-Argumentsis optional and lets you pass arguments to your app.
msApplication-MinVersionis optional and can direct users with an old version to the Windows Store.
msApplication-OptOut< is optional and allows pages to opt out of installing the app, switching to the app, or both./li>
More details at Microsoft Developer Network: Connect your website to your Windows Store app (Windows)
Google Play, BlackBerry App World, Etc.
In addition to Google Play, BlackBerry App World, I looked for similar features for the Firefox OS and Ubuntu Mobile stores. I know there are other mobile platforms out there for which I did not look.
If you know of other apps tores that offer similar features, please let me know so I can update this post.
There are other places where custom
meta tags are used to display targeted content. One example is used for Twitter Cards and another example is used with Google News. While you can build support for them, neither Twitter nor Google is going to use them unless you have been vetted in advance.
Updated: January 29, 2013
I wrote a version of this post with an example at the Algonquin Studios blog. I'm pasting the example in here...
One of our spin-off companies, SWRemote, has an app available for iPads. There is value in promoting the app to visitors of the site but not in blocking their access to the site content with a splash page or an extra click, especially if they are not on iPads. The SWRemote web site is powered by QuantumCMS (yes, I am promoting our web content management system), which makes it about 30 seconds of effort to add the necessary
meta tag to the site.
If you are already a client of ours on QuantumCMS, all you have to do is choose Site Configuration from the Settings menu and pop into the Marketing tab. This is the screen that allows you to add custom
meta tags. Press the Advanced button and you are off to the races. In the Name field, for this example, I just entered “apple-itunes-app” and in the Content field I provided the custom ID for the app appended to “app-id=.” As soon as I hit Save the web site was showing the app bar to visitors:
Oddly, even though the app runs on the iPad Mini, which is running iOS6, the app bar never appeared on the site when viewed on the iPad Mini. On an iPhone 5, the app bar started to appear and then disappeared — probably as the device recognized that there is no iPhone version of the app.
If/when there is an app available for Windows Phone, the process to add this feature will be the same, allowing the site to promote both apps dependent on the audience. QuantumCMS helps make the process easier, with no need to code any changes to your site templates.
Update, March 8, 2013
What he said:
I think "Download our app!" is the new "Skip intro…"— Jeffrey Veen (@veen) March 8, 2013
Update, April 24, 2013
There is a recap of recent rants over at .net Magazine in the article "Devs rally against mobile web doorslams."
Update: June 12, 2013
Google has just announced that it may penalize sites that promote apps with those awful interstitials. Yet Google offers no solution (as you see above) for Android apps through the Google Play store. You can get more detail in my post "Google Needs to Provide Android App Interstitial Alternative."