蜜豆视频

Google Analytics and UTM Attribution

It is critical to track user acquisition source to identify the best performing advertising campaigns. This topic explores the Google Analytics source attribution process. In other words, what piece of information is recorded when.

What is attribution?

Attribution is about specifying a referral source of a particular activity. Those activities are typically macro-conversions or micro-conversions, macro being things like purchases, micro being things like registration, email sign-up, blog comment, and so on.

Ideally, each time a conversion event occurs, a referral source is recorded. But how is the source determined?

The reality is that users often come from many sources before they hit/commit a micro or macro conversion. For example, they may come to the site via organic, then leave, then come via paid search, then leave, then come directly to the site itself. This source tracking information is often provided to the site via UTM parameters, but there are more sophisticated systems out there too. For your purposes, focus on .

How does Google Analytics attribute referral sources via UTM parameters?

When the UTM parameters are specified on the URL, these get parsed out and placed into a Google Analytics . If a website does not have Google Analytics, there is no point in having UTMs. Google Analytics has rules for how it deals with a user who hits multiple URLs with UTMs during their lifetime (more on that later). Assuming the website is configured to capture UTM parameters into an external database, when a micro or macro conversion happens, whatever is in the Google Analytics cookie at the time of conversion gets replicated to the database.

First click vs. Last click

Last click attribution

Last click attribution is the most common attribution model employed by Google Analytics. In this case, the Google Analytics cookie represents the UTM parameters for the most recent source before the conversion event, and this is recorded in the database. The Google Analytics cookie only overwrites the previous UTM parameters if the user clicks on a new URL that contains a new set of UTM parameters.

For example, consider a user who first visits a website via Google Analytics paid search, then returns via organic search, and finally comes back to the website directly or via an email link without UTM parameters before the conversion event. In this example, the Google Analytics cookie says the user鈥檚 source is organic, since this represents the last source before the conversion. The path of the user before that final conversion event is ignored. If instead the user visited the website from an email link with UTM, then the Google Analytics cookie would say that the source is 鈥渆mail鈥. Therefore, if there are existing UTM parameters in the cookie, and the user comes in via direct, the Google Analytics cookie shows the UTM parameters rather than 鈥渄irect鈥.

NOTE
A specific user鈥檚 Google Analytics cookie parameters are erased when the cookie , or when a user clears their cookies in the browser.*

First click attribution

Some paid attribution tools allow you to capture 鈥渢he pancake stack鈥 of sources in a user鈥檚 path. In that situation, in the above example, first click attribution would tell us paid search. Alternatively, some websites implement their own cookies that capture a pancake stack and store the first source into their database.

How to analyze attribution?

Google Analytics has some robust functionality in their web interface that lets you perform four different attribution models:

  1. first click
  2. last click
  3. linear (divide revenue equally across all the sources in the path)
  4. weighted (customized attribution)

Now that you understand what is the attribution model for each micro or macro-conversion, the question becomes 鈥淲hat do you do with the totality of a user鈥檚 conversions?鈥. For example, look at the UTMs recorded based on the GA last click logic:

  • User registers under organic
  • User鈥檚 first purchase under paid search $5.00
  • User鈥檚 second purchase under email $50.00
  • User鈥檚 third purchase under organic $10.00

Here is where you ask, 鈥淗ow much revenue did I get from paid search? From email? From organic?鈥. You could say that the answers are 5, 50, and 10 (whatever the last source was), or you could also say that you attribute all revenue to the first source (all 65 goes to organic). You could also apply some weighted analysis or apply the linear model (that is, roughly 22 each).

recommendation-more-help
e1f8a7e8-8cc7-4c99-9697-b1daa1d66dbc