How To Use UTM Parameters In Google Analytics 5

In our recent post about finding out what online marketing strategy drives the best traffic to your website, you learned how to use Advanced Segments to see your traffic from social media, local search, and other methods of marketing. While this is a great guide to seeing your overall results, it may not answer all of your questions.

You might, instead, want to dig deeper into your Analytics to see more details. For example, you might not want to just see your incoming traffic from Twitter, but whether that traffic is the result of a particular tweet. Or you might not want to see the influx of traffic from a newsletter blast, but whether that traffic is the result of a particular banner or link in the email itself. If you want to get down to specifics, you need to start using UTM parameters for custom campaigns in Google Analytics 5.

What Are UTM Parameters

UTM parameters are simply tags that you add to a URL. When someone clicks on a URL with UTM parameters, those tags are sent back to your Google Analytics for tracking. For example, I do extensive tracking on any links for my eBook using a campaign bpp. One URL I use on a 320px wide banner ad on my sidebar is as follows:

http://kikolani.com/blog-post-promotion-ultimate-guide?utm_source=kikolani&utm_medium=320banner&utm_campaign=bpp

When I go into Google Analytics, I can see the following about anyone who has clicked on that banner ad compared to other links I have for my eBook.

I can go further by clicking on Goal Set 1 under Explorer to see how this banner converts into sales compared to other links to my eBook using a goal I have set up for my eBook sales.

As you can see, you can customize your UTM parameters to tell you almost anything you want to know about the details of how people are getting to the most important parts of your website. This can give you an even better idea of what really works in terms of your online marketing.

How to Create UTM Parameters for Your URL’s

The simplest way to create UTM parameters for your links is by using the Google Analytics URL Builder. Using the above example, you would enter the following and click on the Generate URL button to get your link.

This page also has some helpful hints on how you can use each of the different UTM parameters.

  • Campaign Source (utm_source) – Required parameter to identify the source of your traffic such as: search engine, newsletter, or other referral.
  • Campaign Medium (utm_medium) – Required parameter to identify the medium the link was used upon such as: email, CPC, or other method of sharing.
  • Campaign Term (utm_term) – Optional parameter suggested for paid search to identify keywords for your ad. You can skip this for Google AdWords if you have connected your AdWords and Analytics accounts and use the auto-tagging feature instead.
  • Campaign Content (utm_content) – Optional parameter for additional details for A/B testing and content-targeted ads.
  • Campaign Name (utm_campaign) – Required parameter to identify a specific product promotion or strategic campaign such as a spring sale or other promotion.

You can learn more about how to tag your links in Google Analytics Help. It also has a handy chart view with an example of one campaign with different sources & mediums.

Note that UTM parameters are case sensitive, which means if you use abc for your utm_campaign tags on some links and ABC for your utm_campaign tags on other links, they will show up as separate campaigns in your Google Analytics. Also note that UTM parameters will be shown in the browser’s address bar, so be sure you’re not using any tags that you would want to remain unseen.

How to View Custom Campaigns in Google Analytics 5

How you use your UTM parameters boils down to how you want to see your information displayed in Google Analytics. To view your campaigns in Google Analytics 5, you will go to your website profile and click on Traffic Sources > Sources > Campaigns. Here you will see an overview of your various campaigns as tagged using the utm_campaign UTM parameter on your links.

As shown earlier, you can click on each campaign name to see additional details as tagged using the utm_source / utm_medium UTM parameters on your links.

You can use the links under Explorer when viewing your campaigns or campaign details to switch between Site Usage data…

And Goal Set data…

You can also select Ecommerce and AdSense if you have your website profile set up to measure these details. Visit these links to learn more about Ecommerce tracking and AdSense tracking for your website.

10 Examples of Useful UTM Parameters

Now that you know how UTM parameters work in terms of showing you specific data under your campaigns in Google Analytics, let’s look at some specific ways you could use UTM parameters to learn more about your traffic and how it will affect the way you share your links.

Links on Your Website

Let’s say that you are promoting a specific product on different areas on your website. In my case, I promote my eBook through different sized banners and text links within my footer, in my author bio, and so forth. You can now track which link a visitor clicked by using the following breakdown.

http://yourdomain.com/yourproduct.html?utm_source=yoursite&utm_medium=postfooter&utm_campaign=product

In this case, when you click on the details for your product campaign, you would see that one of your traffic sources is yoursite and the medium is a postfooter link. You can modify the utm_medium to include banner ads (bannerad), menu bar links (menulink), author bio (authorbio), sidebar link (sidebarlink), or any other area that you want to track specifically.

UPDATE: Thanks to Justin Cutroni who, in the comments, let us know that this no longer works due to changes made to Google Analytics in August 2011. While it does track the campaigns as shown, it will count it as a new visit. To learn more about this change to Google Analytics, you can visit this post by Search Engine Land on Google Analytics session updates. To learn better ways to track internal campaigns, refer to this post by Justin on tracking internal campaigns with Google Analytics.

Profile vs. Status Updates

Seeing social media sites such as Twitter, Facebook, Google+, and so forth in your referral sources can encompass a wide variety of things. One thing you might want to distinguish is when a person has come to your site from a social media site via the link on your profile versus from links in status updates. Since your profile link is likely to be your website or blog’s homepage, you could do the following.

http://yourdomain.com/?utm_source=twitter&utm_medium=profile&utm_campaign=website

While this would give you details about how effective your Twitter profile link really is, one thing to note is that if you do this, your links will look like this on your profiles. Note how it is displayed on sites that display your full URL (Twitter & Facebook) vs. sites where you can have anchor text (Google+ & LinkedIn).

On Twitter

On Facebook

On Google+

On LinkedIn

Posts from Different Accounts

Another interesting issue you might find when it comes to social media traffic is how powerful each of your profiles are when it comes to generating traffic to your website. Some businesses might have one main company account plus employees who have their own accounts that share the same links in their updates, or maybe you simply have more than one account on various networks. Sure you can track this using Bit.ly or other shortening service analytics, but the goal here is to collect all of that data into Google Analytics so you can see it in one place and have it associated with your goal data.

To see the difference in how different accounts perform, you could do the following.

http://yourdomain.com/page/?utm_source=twitter&utm_medium=username&utm_campaign=blog

UTM parameters are usually cut off when displayed in a tweet on Twitter and do not seem to affect the way thumbnails and other details from a specific link will come up on or appear in Google+, LinkedIn, or Facebook updates.

On Twitter

On Facebook

On Google+

On LinkedIn

Email Signatures

When it comes to email traffic, about all you can measure is whether visitors have come from online email providers such as Yahoo, Hotmail, and similar services. What you don’t know is why they came to your website from an email. If you incorporate an email signature into your messages, you can use UTM parameters for your links to designate email signatures in Google Analytics.

http://yourdomain.com/?utm_source=email&utm_medium=signature&utm_campaign=website

One easy way to create great email signatures is by using the free version of WiseStamp. You can install it as an extension on your browser (Chrome, Firefox, and Safari) and it will embed signatures into emails from Gmail, Yahoo, AOL, and Hotmail.

Keep in mind that, if you use anchor text in your email signature that the URL may still be stripped out for users who have HTML emails disabled or blocked for security purposes. The most guaranteed way to get a link through is by entering it as http://yourdomain.com/, and using UTM parameters with a URL like that will make it lengthy in the body of an email. Conversion specialists would point out that a long URL with UTM parameters would have less click-through rate compared to the shorter http://yourdomain.com/.

Different Types of Banner Advertisements

If you do a lot of banner advertising, you will obviously be interested in their performance so you know which sites to renew advertising upon. But do you want to know, as a whole, which banners perform the best? To find out, use the following parameter in your ads.

http://yourdomain.com/?utm_source=bannerad&utm_medium=300banner&utm_campaign=website

Just replace the 300banner with the specifics of your banner. You can designate tags for banner size, banner colors, or banner type depending on how you advertise. Then you can see which banner types have the best results.

Newsletters

Another particular type of email tracking you will want to do is clicks from newsletter links. Similarly to how you might have different types of links (text vs. image) on a website, you might have a link to your latest promotion in your newsletter displayed in a variety of ways. Place the following parameters in links from your newsletter.

http://yourdomain.com/page/?utm_source=newsletterdate&utm_medium=productimage&utm_campaign=product

Try different UTM parameters to find out whether links using product images, sales graphics, or text get the most clicks on your newsletter. This can be useful in helping implement a better design for newsletter conversions.

Online Documents

One way websites generate a lot of traffic is through giving away freebies such as PDF reports. If you host these freebies on your website (or if someone else hosts it on theirs for online access), you can use UTM parameters to tell Google Analytics which reports are sending traffic back to your website.

http://yourdomain.com/?utm_source=freereport&utm_medium=reporttitle&utm_campaign=website

This will give you an idea which topics are best for your free reports or other content which could help lead visitors back to your products or services.

RSS Feeds

Want to see details about your RSS feed subscriber clicks in Google Analytics? Be sure to set up your RSS feed with Feedburner – it’s fast, free, and you can learn how by using these quickstart guides for Blogger, WordPress, TypePad, Myspace, and Podcasting. Be sure to share your new Feedburner URL on your website so people can subscribe via email and RSS to your latest posts.

To configure your Feedburner feed with Google Analytics, go to the Analyze tab and, under Services, click on Configure Stats.

Check the boxes for Item link clicks & Track clicks as a traffic source in Google Analytics, then click on the Customize link.

Feedburner has already configured the UTM parameters for you, but you can customize them if you wish to see different tags in your analytics.

Social Advertisements

If you do advertising on social networks like Facebook or LinkedIn, you may want to use UTM parameters to separate your ad traffic from those social networks.

http://yourdomain.com/page/?utm_source=facebook&utm_medium=springad&utm_campaign=product

Simply enter UTM parameters as a part of your URL during the ad creation. It will not affect how your link is displayed on either network as both mask the links for internal tracking purposes.

Advertisement Creation on Facebook

Advertisement Creation on LinkedIn

Featured vs. Regular Listings

This one applies to those who submit their sites to directories and want value beyond just link building for rankings. If you’ve submitted your website to directories before, you know that there are various options, such as regular listings, featured listings, deep links, and so forth. You can use your traffic referral sources (and Advanced Segments) to see traffic from particular directories, but if you want to know what kind of listings, as a whole, lead to the most traffic, then utilize UTM parameters.

http://yourdomain.com/?utm_source=directory&utm_medium=featuredlisting&utm_campaign=website

This will help you learn ultimately if you are getting better results with a particular type of listing, or if you are just spending too much for too little traffic as featured listings usually cost twice as much as regular listings.

As you can see, there are many, many ways to apply UTM parameters to measure specific traffic in Google Analytics. Now it is your turn. Do you use UTM parameters and how do you use them?

About the Author: Kristi Hines is a freelance writer, blogger, and social media enthusiast. Her blog Kikolani focuses on blog marketing, including social networking strategies and blogging tips.

  1. The very long url might put some users off as it screams that “this link” is a campaign and might signal that the content is commercial – why would you otherwise track it so thoroughly? :)

    Small tip to use when people can see the actual url you’re using (some of the examples above shows the complete url including parameters etc.) is to use an URL shortener as bit.ly or goo.gl

    Cheers
    J

  2. Nice Post,
    but i think it’s not correct to tag all your internal links with utm’s because you’re going to overwrite original referrer!!! So please be care if you’re going to tag internal links…

    • I’d agree with Dimitri here. Tagging internal links with UTM is not the right approach to campaign tracking despite the fact that v5 has multi-channel.

  3. Have skimmed over the content somewhat but do get a better idea of how to track campaigns. Can a tool like bit.ly be used in some of the campaigns?

  4. Very indepth & detailed post Kristi. Thanks for that.

    I also sometimes feel that the URL is very ugly which back out the user but I think there is no option to it. UTM parameter are very useful if you are sending newsletter. For tracking images on site & pdfs – event tracking is very fruitful for that which provides your with each & every data.

  5. I will also add a pretty known (around here :) tool named http://utm.to that allwos you to preview your links in Google Analytics and also shorten them.

  6. Hi Kristi,

    There is one major error in your post. You should NEVER use utm parameters to track links on your website, We call these internal campaign. because when Google Analytics detect the utm parameters in a URL it starts a new visit.

    Let’s say I land on your website after clicking on a link in an email. Google will create a visit and attribute it to the email.

    Now, let’s say you have tagged a banner on your homepage promoting an ebook. I click on that link. Google Analytics will start ANOTHER visit and attribute it to your internal campaign. But in reality you’re inflating your visit count and messing up a lot of other metrics.

    This change was made a few months ago to accommodate multi-channel funnels.

    If you want to track internal campaigns you should use one of these methods.

    Justin

  7. Hi Kristi,
    excellent post with a lot to learn!
    If anyone is interested in using utm parameters with shortening: Here I found a very good implementation within firefox: http://www.savio.no/blogg/a/82/google-analytics-campaign-url-builder-with-short-url-and-twitter-posting/

    Greetings,
    Juergen

  8. I wanted to mention that if you are going to use a lot of UTM tracking URLs on your website or blog, be sure you have the canonical tag in the head of your site. UTM tracking URLs will create duplicate content.

    http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html

  9. I use these parameters on my blog for post promotion in social networks. I use a “blogpostpromotion” campaign with a “socialmedia” medium and “twitter”, “facebook”, “plus” and so on as source depending on where I post the link. It works like a charm.
    I blogged about it here: http://www.testically.org/2011/09/21/have-url-shorteners-like-bit-ly-become-obsolete-by-now-easier-segmentation-with-google-analytics/

  10. URL builder by Google is too complicated for beginners, for easy tagging try Simple Tag: http://www.foretaster.com/simpletag

  11. Yeah, why no mention of link shorteners like bit.ly? Much cleaner.

  12. Tommy Swanson Jan 03, 2012 at 8:48 am

    UTM tracking in Twitter profiles and Facebook pages is a bit much. Sure, it gives you better attribution, but to an average user, that URL string looks pretty scary. While I don’t have any evidence to back it up, I’d argue that it probably hurts CTR on the actual link.

    • Just wanted to chime in and say I agree with this. I’ve noticed that the difference between giving straight links and, for example, bit.ly or something (not on social media sites, but in profiles and such) also has a major impact on clicks (with shorteners getting less due to not being transparent — people don’t know what the links are going to).

      I haven’t done in-depth testing on this yet, but that’s pretty much what has happened in the past for me.

  13. Awesome post.. can you please let me know one thing when I click on statuses
    ?utm_source=[USERNAME1]&utm_medium=twitter ?utm_source=[USERNAME2]&utm_medium=twitter how it changes.. can u let me know?

  14. Hi Kristi,

    How are you?
    Thanks for your post, it is really helpful.

    I am launching a massive email campaign next week and I will definetly use the UTM tagging. There is only one more thing I need to know. I need to track sales from this email campaign. How can I set up Analytics to tell me the sales coming from this email campaign?

    Regards,

    Guido.

  15. Again, Kristi, you provide the most in depth answer to yet another marketing question I’ve been scouring the web to answer!

  16. Hi , this is a good info, cleared many of my doubts

    Just have few queries if you can help me with the answers:-

    1. how do i track utm_term and utm_content in Google analytics
    2. is there any standard of utm tracking url , only through which above utms will be traceable??

  17. Hi Kristi,

    I read another post you wrote about bit.ly and tracking your promotions– I’m confused on how the google analytics campaigns and bitly integrate? Would I create a URL with UTM parameters and then insert that into bitly or does that mess up the tracking?

    Thank you!

  18. Hi Kristi,
    Question about tracking display: If I want to track utm_medium as ‘display’ can I use utm_source to track the site on which the ad is displayed, if I am using an ad server or exchange, spreading my banner ads across hundreds of websites? Is there anyway I can have utm_ source pick up the domain name automatically?
    Cheers

  19. Minor typo up top, above the table of example UTM parameters…. The boldfaced bullet “Campaign Term” has an incorrect UTM param listed in parentheses right after it.

    Great write-up, BTW.

  20. Kristi,

    I have just begun using UTM parameters for email campaigns and this article provides a great source for how to digest them in Google analytics and use UTM parameters in other scenarios.

    Many thx. Will definitely share this!

    Richard

  21. You’ve got a typo/error under the parameter for Campaign Term:
    Campaign Source (utm_source) …
    Campaign Term (utm_source) – should be utm_term

  22. Kristi,

    Thanks for the info. We have been using Google Analytics for some time now, and have used Google Website Optimizer for all A/B testing effort until Google killed GWO last year. Since, we have been using Optimizely for A/B testing, and also starting to use utm paramters in the URLs. Great article! I will certainly read some of your other articles when I get a chance.

  23. Your post features confirmed beneficial to us. It’s quite informative and you’re naturally really knowledgeable in this area. You have opened up my eye to varying opinion of this kind of matter using interesting and sound content material.

  24. Search engine optimisation is a weird industry, because the work is technical it is best suited for workers who have learnt the industry and have practical experience,
    this is not always the case with modern marketers though
    Do you participate in any social sites

  25. Is there a way you can tell where exactly the click came from? A sidebar ad, after post box ad, footer links and so on.

Comments are closed.

← Previous ArticleNext Article →