UTM codes is meta data coded in a URL so that your Analytics software (typically Google Analytics) can attribute the source of the traffic properly. Good examples of this are email and Post Cards. Without a UTM code - when a person clicks on a link in an email it is attributed in the traffic channel 'Direct Traffic' (see
Traffic Channels Explained ).
https://company.com/?utm_source=mailchimp&utm_medium=email&utm_campaign=welcome
The UTM code in the example above is this part:
?utm_source=mailchimp&utm_medium=email&utm_campaign=welcome
A Valid UTM codes must contain these parts:
It's easy, just determine the values for utm_source, utm_medium, and utm_campaign
Typically utm_source and utm_medium are already defined and it is the name of the campaign where you put thought into how you want to measure it.
Email sent from Constant Contact with a link to a product in the shopping cart:
https://company.com/shop/productid?utm_source=constantcontact&utm_medium=email&utm_campaign=buynow
UTM Code in Facebook
https://company.com/?utm_source=facebook&utm_medium=cpc&utm_campaign=fallsale
UTM Code in abandoned cart email native to WooCommerce:
https://company.com/cart?utm_source=woocomm&utm_medium=email&utm_campaign=abandonedcart
Yes - the source name is for you to know where the email came from and abbreviations are fine
No, we do not recommend the use of spaces in UTM codes. Rather us the hyphen or underscore. Also do not use single quotes nor double-quotes
Without a UTM code in your Facebook advertising, your analytics will confuse the traffic you get from social media posts with the traffic from Facebook paid ads. The only way to differentiate them is with UTM codes in the links used on the Facebook ads.
UTM Code Generators: