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.
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 UTM.
When the UTM parameters are specified on the URL, these get parsed out and placed into a Google Analytics cookie. 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.
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’s 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 “email”. 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 “direct”.
A specific user’s Google Analytics cookie parameters are erased when the cookie expires, or when a user clears their cookies in the browser.*
Some paid attribution tools allow you to capture “the pancake stack” of sources in a user’s 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.
Google Analytics has some robust functionality in their web interface that lets you perform four different attribution models:
Now that you understand what is the attribution model for each micro or macro-conversion, the question becomes “What do you do with the totality of a user’s conversions?”. For example, look at the UTMs recorded based on the GA last click logic:
Here is where you ask, “How 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).