: Is utm_source really mandatory in Google Analytics? According to the Google URL Builder document, utm_source, utm_medium and utm_campain are mandatory. What happens in Google Analytics when you
According to the Google URL Builder document, utm_source, utm_medium and utm_campain are mandatory.
What happens in Google Analytics when you only fill out the latter two, for example:
example.com/utm_medium=text_link&utm_campaign=sponsoring123
More posts by @Gloria169
4 Comments
Sorted by latest first Latest Oldest Best
George answered yours question best.
But why do you want to leave utm_source blank? Looking at yours example link I think that you would like to dynamically fill it with referrer.
Lunametric's posted about that: www.lunametrics.com/blog/2014/06/11/campaign-tracking-dynamic-source/
According to that article you can do it in a two different ways: using GTM or modifying a GA code. Here I paste the second one.
1. tag your links
example.com/?utm_source=dynamic&utm_medium=text_link&utm_campaign=sponsoring123
2. add js code before your GA tracking code
3. modify a GA code
utm_source is definitely required for the other parameters to be recorded.
You can find the information you want by looking at the following chart. It shows how each session's campaign & traffic source is processed in the servers of Google.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.