A Guide to Understand App Tracking in the Mobile Space
Michael Dewhirst , DevzeroG - Mobile Marketing 0 Comments | Add Yours
About The Author:
Michael Dewhirst is a veteran senior IT professional, entrepreneur and a pioneer in the mobile industry having worked in the sector since the early WAP days of 2000. Michael began his career in high tech development roles with British Aerospace, Deutschebank and JP Morgan, and worked on the launch of Vodafone Live! in 2002. Prior to joining StrikeAd, Michael was CTO of The Daily Mail Digital Property Group, driving the development of their real estate portals and apps, including an augmented reality property search mobile app. In 2003 Michael founded DevzeroG, a global advertising software company with clients such as News International, The Guardian and NTT and was sold to Adstream Pty in 2007. At StrikeAd Michael is responsible for all products, systems and integration with third parties.There are numerous problems that still need to be solved in the mobile advertising world: patchy cookie support (and understanding of how they actually work!); device identifiers (or as they’re otherwise known – UDIDs) inconsistency; and the lack of ad tracking information pass-through within the Apple App store, to name just a few.
The good news? There are solutions on the market right now that allow advertisers and agencies to very precisely track and attribute downloads, conversions and even in-app events such as frequent use, purchases, game level completion and much more.
In the first of two articles, Michael Dewhirst, CTO of StrikeAd, the mobile advertising specialist, takes a look at the problems facing the mobile world, and how they can be overcome.
App download tracking and attribution is a reality right now - and the information is usable by media buyers to plug into automated or programmatic buying solutions such as Demand Side Platforms (DSPs) in order to understand and adjust their buying strategy.
The Goal and Benefits of Tracking
By plugging app download tracking data into a DSP, its learning mechanisms can automatically adjust the buying strategy to buy more of the traffic that has the same profile as that which delivered the best results. The DSP effectively finds a “pattern” of the traffic that is most likely to result in a download, by looking at many variables such as device types, versions, location, time of day, day of the week, the site the ads are shown on and much more.
When there are enough statistics for the events that the advertiser wants to buy (such as a download and install), the DSP will find the same recurring set of variable values and make a note of them. It will then bid higher for such traffic and buy more impressions with such a profile – all on an impression-by-impression basis. And we're talking 10 thousand plus impressions per second here. That's 20 billion plus impressions a month.
A typical traffic “profile” might look something like this: iPhone or Samsung Galaxy S, Sunday and Saturday lunch time, on sites from publisher XYZ and apps from game maker ABC and so on.
Think of this as a large number of criteria to distinguish between different people, such as personality, hobbies, height, weight, eye color, hair color and so on, as used on a dating site. The more parameters you use, the more precisely you can identify a person that’s right for you.
The result is then a much more focused buy, which has massively larger yields than that of a blind buy that is done in bulk and not on an impression by impression basis. This way, the advertiser knows exactly who drove the most effective traffic, and can adjust the spend in the right direction accordingly.
What if there is a “Missing Link”?
How does a DSP – or anybody for that matter - track and attribute impressions and clicks to a download or subscription if there is “dead space” between the “entrance” and “exit” of the mobile app advertising workflow? The answer is not a single solution, but a combination of approaches and technical implementations, which together deliver the required result.
UDIDs – Set up to Fail from the Start?
Currently, when a DSP or an ad network buys a mobile banner that runs on a mobile media exchange (or a Supply Side Platform – aka SSP), the latter’s code in the app passes the UDID back, often one way encrypted (aka hashed).
So, many ad networks quickly adopted a “match the ID” approach where they would record the UDID of the click and ask the advertiser to send the UDID of the device which installed the app to their server, where they would check to see if that UDID is in the click records – attributing the download if there was a match.
But there are several problems here right off the bat...
• Typically, an advertiser will use many different banners to advertise an app and the above approach does not precisely pin point which banner drove the download. And no, you can’t always argue that last view or last click won.
• Secondly, the exchange may be sending the UDID hashed using one algorithm (e.g. SHA1) and the advertiser may be sending it hashed using another (e.g. MD5) – so there will never be any match. A bit like trying to match a phone number and a postcode. They’re just never going to match, even if they’re for exactly the same house.
• Thirdly, the Android OS has several IDs available to app developers – AndroidID, IMEI, MEID or ESN. Exchanges and advertisers often will use and send different ones again. Combine that with different hashing algorithms and it’s a right mess!
• Lastly, Apple is deprecating the UDID and it will no longer be available within apps to be pulled out by the SSP SDK so this free ride will end soon. There will be other IDs one can use on the device, such as the MAC address of the WIFI card, etc – but this may not be very reliable either for several reasons.
There is often a lack of clarity when setting up a campaign between the advertisers, agency, media buyer and the exchange and again, the wrong IDs are often compared and therefore never match. Many attributions are missed and don’t go back into the mix – driving up cost of the download and reducing their number too.
There's One More Reason Still to Ditch the UDID
If this is not enough to convince you, the last and one of the main other problems with this approach is that only media that is running inside an app – and not media seen on mobile sites in a mobile web browser – can be bought if UDIDs are to be used for download attribution.
This is because a UDID can only be obtained when you have access to the operating system API, i.e. you are some code running inside an app. If you’re a simple meat and potatoes HTML page or even a fancy one with some JavaScript, you just cannot get the UDID of the device you’re being shown on. It's like arriving in a building blind folded and only being able to go into one room with no windows to the outside world. You won’t be able to work out where you are unless you can peak outside and glance at a street sign!
This is a problem because there are a huge amount of mobile-optimized sites, which could be driving punters to the app store to download that app. 100% more, in fact, in addition to the app traffic.
The net effect is that app inventory becomes more sought after and in turn the price, yield and cost of a download goes up. Yes, this keeps the app developers happy – which isn't necessarily a bad thing – but doesn't benefit anybody else.
“But if the app stores are a dead end where advertising tracking dies, how do you tie an impression to a download without a device ID?!”, you ask.
Surprisingly it is back to the old veteran – the cookie!
Back to the Cookie!
Cookies actually work fine on most mobile devices, especially on all the main ones that have app stores and apps, such as iPhones, iPads, Androids, BlackBerry phones, Nokias etc.
If they didn’t, many sites where you have to log in, such as Gmail, eBay, Facebook etc. would be pretty hard to use as the site would not remember who you were from page to page.
Those that don’t work are some feature phones, where you can’t install apps anyway, so who cares!
So a cookie is a bit like that ultraviolet stamp that a bouncer would put on your hand so they know who you are after you pop out for some fresh air (or a cigarette!) and decide to go back in.
The only issue that exists with cookies is on the Apple Operating system, iOS – but only with the setting – and not reading – of third party cookies.
If you’re not sure what I mean by first and third party cookies, I simply refer to the domain of the page you look and the domain of the server where the tracking cookie was set from.
For example, let’s say you’re looking at a page on amazon.com and there is a tracking pixel pointing to strikead.com, which tries to set a cookie. This strikead.com cookie will be classed as a third party one - as it’s not from the same domain as the page you’re on. Cookies from amazon.com, however, are first party since they’re from the same domain as the page.
Setting a third party cookie in iOS Safari – the iPhone browser, won’t work. The attempt to set a cookie will be blocked by Safari.
However, reading both first and third party cookies is just fine on iOS Safari on the iPhone, iPad and iPod touch.
Getting to Cookies from an iPhone App
That’s all fine and dandy, you say, but how do I read that cookie from inside the app?
The simple answer is – you can’t, since Safari is just another app and apps on iOS cannot share data – for security reasons. The longer answer is – you can, but there are a few “workarounds” to be done.
The problem with reading cookies from inside an app is that they are set in the device’s browser, and only it has access to them. You can, however, launch one app from another. For example, you could launch the device’s web browser, such as Safari, from inside the downloaded app.
When you do so, you tell the server to go to the same tracking page where the cookie was set earlier during the click. You can also pass the server any necessary information for the download to be attributed to the click and this info gets passed to the server. The server then tells the browser to go back to the app it came from and the loop is complete. No more “dead space”.
It may sound like magic, but this is possible and it works very well.
The only negative effect of this process is a brief “flash” of the browser window whilst you are in the app. The StrikeAd SDK does this but only for a very brief moment – a few hundred milliseconds – blink and you definitely will miss it.
Many advertisers are already using this method and have found that it does not affect user experience and only gives them much better insight into the app life. Think back to the desktop computer and the standard browser – pop ups are still common there and nobody really cares about them.
Furthermore, the StrikeAd SDK only does the pop-up once – on first launch. After this, the unique ID from the cookie, which drove the download is passed to the server in the background and completely seamlessly to the user.
What About the Android Market?
Good old Google – being deeply steeped in advertising, understand that certain things need to happen for the advertising machine to keep turning its wheels and provide free app developers with a source of income.
So, the Android Market actually has a mechanism, which allows variables to be passed to it from a click on a banner, and from there – to be passed to the app. The app can then pass this information back to the media buyer for attribution and optimization.
So for those advertisers who really cannot have a pop up in their app – at least on Android – there is a way.
The Technology is Here Now
It's clear that there are solutions out there to make mobile app advertising more successful and cost effective, but it will take the triumvirate of the advertiser, agency and media to adopt them. Without all three parties understanding the options and utilizing them, nothing will happen – or at least not easily and not quickly.
JOIN THE DISCUSSIONRead All Comments | Add Yours
RECENT COMMENTS ON THIS ARTICLE
See all 0 Comments | Add Yours





