Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to track UTM tags in App Store URLs

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?

like image 836
Remq Avatar asked Mar 30 '17 09:03

Remq


People also ask

How do I check my UTM clicks?

Google Analytics UTM campaign parameters can be found in the Reports section under Acquisition>Campaigns>All campaigns. Just log into your Google Analytics platform and scroll down to your Acquisition Section.

Can you track downloads from App Store?

App Store performanceYou can measure your app's downloads, including First-Time Downloads, Redownloads, and Total Downloads, as well as your App Store conversion rate. This data provides insight into how your marketing efforts and metadata changes affect downloads.


2 Answers

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/

like image 162
Max Avatar answered Sep 17 '22 14:09

Max


There is a solution for IOS apps to track campaign via Google Analytics. For IOS you do not need to add UTM parameter but you have to make URL as below:

http://click.google-analytics.com/redirect? tid=UA-1234-1 // Google Analytics Tracking ID. &idfa=BBA44F63-E469-42BA-833A-2AC550310CB3 // Identifier for Advertising (IDFA) &aid=com.bundle.myapp // App ID. &cs=network // Campaign source. &cm=cpc // Campaign medium. &cn=campaign_name // Campaign name. &url=https%3A//itunes.apple.com/us/app/myApp/id123%3Fmt%3D8 // Redirect URL to iTunes.

For reference please view the link: https://developers.google.com/analytics/solutions/ios-install-tracking

like image 38
Muhammad Noman Avatar answered Sep 21 '22 14:09

Muhammad Noman