How to track UTM tags in App Store URLs
Asked Answered
H

3

20

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?

Hormonal answered 30/3, 2017 at 9:49 Comment(1)
were you able to track UTM tags on Play Store?Cicerone
D
27

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/

Dialectologist answered 1/4, 2017 at 9:16 Comment(2)
Thank you for clearing this up! I was afraid this would be the case but you've given me something to start working on.Hormonal
Some people have been working on getting the data out there: github.com/fastlane/fastlane/issues/3682Dialectologist
R
11

App Store Connect gives you the possibility to create Campaign Link that you can use to track Install. I can't remember when it was release but you can find it in :

App analysis -> Sources -> Campaigns -> Generate Campaign Link.

Of course, this is not a classic UTM to track it in Google Analytics, but it can help

Roband answered 25/7, 2018 at 15:34 Comment(0)
P
3

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

Principle answered 19/7, 2018 at 18:19 Comment(1)
may I know how to get the IDFA? I have tried to search but as far as I know I can only get the IDFA only after the user install our appFeinberg

© 2022 - 2024 — McMap. All rights reserved.