How to track UTM tags in App Store URLs

Remq picture Remq · Mar 30, 2017 · Viewed 15.2k times · Source

I'm working on implementing my own analytics system. One part of it consists of tracking where users originated from. I use UTM tags for this. Reading UTM tags from the query parameters is quite easy in Android, iOS and web. However, I also want to track app installs.

I want to be able to share URLs to the Play/App store with UTM tags and mark the user's first session in the app with those tags. Android has a great solution for this: pass the referrer query parameter containing the UTM tags to the Play Store URL and after installation, the UTM tags will be available. (source: https://developers.google.com/analytics/devguides/collection/android/v4/campaigns)

However, the App store doesn't support this kind of tracking. I'm trying to figure out what the industry standard is for tracking app installs. I've seen the following solution:

  1. Share a URL to your own domain. (e.g. myredirectdomain.com?utm_campaign=test)
  2. Save the client ip, screen resolution and UTM tags in a DB table if the client is an iOS device
  3. Redirect the user to the App Store
  4. Once the user installs the app, the app will send the client ip and screen resolution to your server which checks if those are recently added in the DB.
  5. If so, the corresponding UTM tags are returned and the user's session will be marked with those.

Of course, this will most definitely result in some false positives. I've been trying to figure how other companies do this. I've stumbled upon Google Analytics' implementation which utilizes the iPhones IDFA (source: https://developers.google.com/analytics/solutions/ios-install-tracking). However, the IDFA doesn't seem to be available to the mobile browser.

Do you know what the industry standard is for tracking app install campaigns?

Answer

Max picture Max · Apr 1, 2017

Short answer: there is no industry standard in attribution tracking for iOS. Just google the term "app attribution tracking" and see how many service providers show up. They all use some kind of device fingerprinting and call it their "secret sauce". I've used different services in parallel in the past and results were most of the time very different. (Localytics, Flurry, Tapstream)

The "official" recommended way from Apple is to use their own App Analytics attribution tracking. For that you add a provider token(pt=) and a campaign token (ct=) to your store links. You can get your provider token directly in iTunes Connect. You can nicely combine this with the App Store Affiliate program. The only downside is getting the information out of Apple's App Analytics/iTunes Connect. There are no official APIs to get your hands automatically on the raw data.

enter image description here

Sources: https://developer.apple.com/app-store/user-acquisition-marketing/ https://developer.apple.com/app-store/app-analytics/