UTM tags

UTM tags

A UTM code is a snippet of text you can attach to the end of a URL in order to track a source, medium, and campaign name. When you attach a UTM tag to a URL, Google Analytics will tell you where your visitors are coming from and what campaign brought them to your site.

A typical link looks like this:

https://site.com

If you add UTM tags to this link, it will look like this:

https://site.com?utm_source=direct&utm_medium=cpc&utm_campaign={campaign_id }

There are three generic UTM tags. Google Analytics understands them. Three of them are required - they must always be present in the URL. Here they are:

  • utm_source - defines where the traffic is coming from (advertising platform, website, contractor, etc.)
  • utm_medium - indicates the way of receiving traffic (cost per click, banner, mailing list).
  • utm_campaign - indicates the name of the advertising campaign, product, promotional code, etc.

UTM tags for targeted advertising (Facebook Ads, LinkedIn Ads, etc.) 

UTM tags are useful for tracking social media ad traffic.

Example:

UTM Info Facebook Ads
utm_source Advertising system facebook
utm_medium Traffic channel cpc
utm_campaign Campaign ID {{campaignid}}

Example URL with UTM tags for Facebook Ads:

https://site.com/?utm_source=facebook&utm_medium=cpc&utm_campaign={{campaign_name}}

Creation of UTM tags
You can manually create UTM tags and use them in your ads. For convenience, you can use the UTM tag generator. To do this, you need to enter all the data you need in the form fields and a URL with a UTM tag will be generated for you.