How to Integrate with Google Analytics for Mobile Using UTM Parameters

UTM parameters is a method for sending AppsFlyer's attribution data to Google Analytics.
UTM parameters are tags added to a URL — when the AppsFlyer Tracking Link is clicked, the tags are added to the Google Play URL.

However, UTM parameters don't work in most cases. Ad Networks with a server-to-server integration (i.e. Facebook, Twitter, etc.) are currently not supported. Also, if AppsFlyer is not the last party redirecting to Google Play this method does not work.

There are two preferred methods for integration with Google Analytics:

If you are still using UTM parameters it is highly recommended to use one of the preferred methods instead.

UTM parameters Details

NOTES:  

  • To enable UTM parameters to be added to the link, contact your AppsFlyer Customer Success Manager.
  • This article is relevant for Android apps only. For iOS apps, click here.

When enabled, we automatically add two parameters to the click URL when forwarding the traffic to the Google Play Store (as a part of the 'referrer' value):

  • utm_source - set to the media source name (i.e. the value of the 'pid' parameter on the click URL)
  • utm_campaign - set to the campaign name (i.e. the value of the 'c' parameter on the click URL)

In addition, when one of the following parameters explicitly appears on the AppsFlyer tracking link, we add it to the Google Play redirected link:

  • utm_source (overrides the 'pid' value)
  • utm_campaign (overrides the 'c' value)
  • utm_medium
  • utm_term
  • utm_content

There are two ways to retrieve these values from Google Analytics or the Google Play Campaigns Measurement API:

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk