Search code examples
google-analyticsutm-tracking

How UTM paramters reach to Google Analystics Website


I am bit confused, and need little help regarding UTM tracking parameters.

Standard syntax of UTM url is:

http://www.example.com/?utm_source=adsite&utm_campaign=adcampaign.

Lets say I embed this url as a link in my page. User clicks this link. Link is pointing to my website.

All utm parameters would reach to my website. How do they will reach to Google analytics website.

My guess is, Analytics code and js intercept all link clicks and extract UTM params and then let user defined click handler work with the click.

Could someone with right expertise would help me?.

Thank you very much for your time, really appreciated.


Solution

  • The UTM require following mandatory parameters:

    http://www.example.com/?utm_source=adsite&utm_medium=admedium
    

    utm_source and utm_medium are mandatory.

    utm_campaign is not mandatory even if the documentation says otherwise.

    Google Analytics automatically collects these parameters and automatically removes them from the URL so in Google Analytics you will see the URLs without parameters and the source / medium of the UTM.