Jan 262013
 
 January 26, 2013  Posted by at 2:34 pm Not So Stupid Questions  Add comments

[To celebrate my first year of programming I will ask a ‘stupid’ questions daily on my blog for a year, to make sure I learn at least 365 new things during my second year as a developer]

Does iOS have metatags for connecting apps to the store like Windows Store Apps?

Does iOS have metatags for connecting apps to the store like Windows Store Apps?

Does iOS have metatags for connecting apps to the store like Windows Store Apps?

An easy question today as I have crazy much work to do, a lot of things to wrap up!

I was surprised to hear from several that they didn’t know about the meta tags you can add to your website to promote your windows store app on your website.
Connecting your website to your Windows Store App with meta tags
I just want to make sure that you know that, if you have an iOS app as well or are planning to make one, a similar concept was introduced in iOS6 called Smart Smart App Banners. Just as we do with Windows Store Apps you just add some meta tags to your website, and if a user is using safari on an iOS6 device the banner will show up. If clicked it will redirect you to the store.

This is how the tag looks like:

[sourcecode language=”html”]
<meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL" />
[/sourcecode]

Let’s have a look at it:
name=”apple-itunes-app”
content=”app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL

Content allows for three parameters:
App-id: This one is required! App’s unique identifier
affiliate-data: This one is optional. If you are an iTunes affiliate
app-argument: Also optional. If the user already has your app this url will let the user go directly to that page in your app. You can use a query string to pass information.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

What is 13 + 7 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)