Is it possible to track click throughs from iPhone Smart Banner
html, ios, iphone, javascript
Solution
Here's an update to this. To answer the original question: Yes you can track clicks on smartapp banners on the website. Here's how.
Firstly Linkshare affiliate is history. Sign up for PHG affiliate here
Once you sign up you'll get a affiliate id. Enter your affiliate ID in the Smartapp Meta Tag as shown below
<meta name="apple-itunes-app" content="app-id=311507490, affiliate-data=at=11m7as&ct=website_smartapp"/>
Where at=(Your affiliate ID) and ct=[campaign type(enter any text here for your reference)]
at and ct values with number of clicks will be shown on your PHG dashboard
Hope this helps
Problem
We want to be able to track, using Google Analytics, any click throughs from the iPhone Smart Banner that we have added to our website. The meta code used to add the smart banner is: `<meta name="apple-itunes-app" content="app-id=myAppStoreID">` So far I've tried dumping the page DOM using javascript to see if there is any associated HTML, but it seems the smart banner is outside of the DOM and possibly at the safari or browser app level? Ideally we would like to use the standard browser based javascript google analytics tracking code, as modifying our app itself to accept parameters being parsed through is not currently an option. Does anyone know how we could track click throughs from the smart banner to open or install the app?