Redirect mysite.webflow.com/app to an iTunes Store link

Hello Everyone!

I wondered how I could make this URL : http://mysite.webflow.com/app
redirect to a iTunes Store link (i.e. http://itunes.apple.com/us/app/appname/idxxxxxxxxx) ?

I need Google Analytics to be able to track these, so I need to setup a /app page where the UA code sits, and I need to be able to send sms text such as “Check out this app! http://mysite.webflow.com/app”, that would redirect to the iTunes Store App page whether on Mobile or Desktop.

PS : @bartekkustra told me there’s some tweaks to do in the AppDelegate / Info.plist within the iOS App itself, but that’s another subject that I’ll be working on aswell.

Thank you !

http://stackoverflow.com/questions/1108693/is-it-possible-to-register-a-httpdomain-based-url-scheme-for-iphone-apps-like/1109200#1109200

Thanks @bartekkustra,

Looks like it’s the solution I’ve been looking for!

In the meanwhile, I’ve applied this on the /app page on Webflow:

  1. I left this page blank, I just added a “Custom Code”

  2. In this custom code, I’ve put this Javascript code:

And it works perfectly. Now I have to find out how to integrate this StackOverflow tweak, and on the homepage, when browsing from an iPhone, making sure there’s this little header popup with the app icon and the “install/open” button:

1 Like