7 Common Google Analytics UTM URL Tracking Mistakes To Avoid

What is a UTM, A.K.A. a Campaign URL?

UTM parameters are tracking markers that you can add to a URL pointed at your website to track where visitors come from in granular detail in Google Analytics. UTM stands for Urchin Tracking Module. Urchin was the original name of the analytics software acquired by Google that was ultimately integrated into Google Analytics. UTMs are particularly helpful for tracking visitors from social media posts, emails, PDFs, etc. For more information on what UTMs are and how they’re used in social media check out Buffer’s excellent UTM Guide. For more information and examples for each UTM parameter check out Google’s Campaign URL Builder.

As long as the website you are linking to with UTM parameters has Google Analytics tracking code installed on it, it will record the UTM parameters when a visitor visits the website using the URL with UTM parameters included in the link they use to access the website. The only required parameter is the campaign source (utm_source), the rest of the UTM parameters are optional, although in almost all cases I would recommend using all of them except the campaign term (utm_term) parameter.

Common UTM Mistakes To Avoid

If you’re running into problems tracking UTMs, hopefully this list of common UTM mistakes will help you find a solution. If your problem isn’t addressed by any of these common UTM mistakes, feel free to share what you’re struggling with in the comments and I’ll do my best to try and help you out.

  1. Multiple entries for the same link due to UTM inconsistencies

    To avoid this mistake use the KUSS principle “Keep UTMs simple, stupid”. I keep my UTMs simple by sticking exclusively to lowercase characters, numbers, hyphens for spaces and not using any other special characters.When you don’t use the KUSS principle you end up with duplicates of the same UTM source, which results in this:

    Same UTM source treated as separate source due to difference in capitalization


  2. UTMs getting stripped from URL by redirects before hitting your site

    If you link to a URL that isn’t on the website you want to track, that then redirects to the site you do want to track without the UTMs they will not be recorded in Google Analytics, since the redirect has stripped the UTMs. In this scenario Google Analytics on the target site never loads a URL containing the parameters so nothing is recorded. Instead it would record the visit as a referral from the website containing the redirect with no additional tracking information.

    Alternatively, if you link to a shortened URL that then redirects to the target website with the UTM parameters added to the end of the target website URL – as is the standard practice – then Google Analytics will see the URL containing the UTM parameters and record the additional tracking information as intended.

    It is possible to track UTMs through one website and track the associated activity on another, but this requires a more complex setup with cross-domain tracking. If you’re interested in doing so and have access to both websites you can make this work following Simo’s guide to Troubleshooting Cross-Domain Tracking In Google Analytics utilizing Google Tag Manager, which makes it relatively easy if you know what you’re doing.


  3. Adding UTMs incorrectly to URLs with existing query strings

    If you’re at all unsure about the formatting of your UTM-enabled URL, just use Google’s Campaign URL Builder to make sure there’s nothing wrong with your URL’s formatting – it only takes a minute and will give you peace of mind.

    For example if you were linking to this URL with an existing query string:

    https://penguiin.com/?s=query

    If you tried to add a UTM like this it wouldn’t work properly:

    https://penguiin.com/?s=query?utm_source=newsletter&utm_campaign=spring-sale&utm_medium=email&utm_content=early-bird-discount

    To get the UTM to work properly you would need to adjust the UTM to start with an ampersand instead of a question mark as follows:

    https://penguiin.com/?s=query&utm_source=newsletter&utm_campaign=spring-sale&utm_medium=email&utm_content=early-bird-discount

    If you created the UTM using Google’s Campaign URL Builder it would automatically fix the URL for you to the correctly functioning version above.


  4. Not using a URL shortener

    Not shortening your URLs to mask UTMs is bush league. At the very least use Google’s URL shortener built into their Campaign URL Builder. If you want to go pro purchase a branded URL shortener domain and setup bitly to work with it. I’ve found Domainr to be a very helpful tool for identifying great branded URL shortener domains.

    Rather than sloppily expose your full UTM URL like this:

    https://penguiin.com/?utm_source=newsletter&utm_campaign=spring-sale&utm_medium=email&utm_content=early-bird-discount

    Why not have something more elegant like this instead:

    http://pngn.link/early-penguin

  5. Using UTMs to track internal links

    UTMs should never be used to track internal links on your site. Doing so can ruin your raw Google Analytics data as Neil Patel explains in his blog post on the 8 Common SEO Issues (and How to Troubleshoot Them).


  6. Filling in the term UTM with non-keywords

    The term UTM should only be used for paid search to note the keyword being targeted. When using Google AdWords you simply need to link your AdWords and Analytics accounts and use the auto-tagging feature. So in the vast majority of cases the term UTM should not ever be used and you should leave it blank when using Google’s Campaign URL Builder, because you don’t want non-keywords showing up as “keywords” misleading you in your keyword reports.


  7. Expecting exact capitalization to matter in advanced segments using exactly matching conditions

    When you create an advanced segment with the condition Source that exactly matches a source in all lowercase as follows:

    Advanced Segment Source Exactly Matches Source All Lowercase

    The advanced segment ignores capitalization and includes campaign sources with and without capital letters as follows:

    Advanced Segments Source Exactly Matches Capitalization Is Ignored


Other Common UTM Mistakes To Avoid?

If you have additional common UTM mistakes to avoid, please share them in the comments!

55 COMMENTS

  1. I have been searching for an answer as to why a URL with UTM tracking would disable a redirect from happening. Would this have to do with how the redirect was set up?

    • Yes exactly. The redirect needs to be setup to ignore parameters in order to work properly when a UTM is added to the end of the URL. This is a relatively common issue with single page web applications not setup to accommodate UTMs.

  2. Do multiple analytic plugins disrupt the accounting? I had three analytic counters, one a plugin and one from my server, with two giving me the same numbers but the third, Google Analytics (GA), registering site stats below the other two. Do you happen to know why the GA numbers are below the others? Is there such thing as cross interference? Is there a fix? I’ve removed the one plugin to see what happens even though that was giving me correct site information.

    Thanks – I look forward to your response

    • Multiple analytics shouldn’t disrupt one another’s accounting. My guess in that case would be there is simply data the other two are tracking that GA is not. GA is probably not firing on some of the content the others are firing on for whatever reason. If you have any filters in GA that could also cause it. You should filter out bots anyway though, so it should be less. You don’t want bots, referral spam or your own traffic clouding your analytics data from actual user behavior.

  3. I have utm tracking appended to links in an email. For regulatory reasons I always have to direct the user to a login page which contains T&C’s, however if the user is already logged in they get redirected to the homepage and the tracking is stripped out. I assume this visit isn’t recorded then as the utm didn’t get a chance to fire? How would I avoid this situation?

    • If the login page is on the same domain as the page after logging in, uses the same Google Analytics code and the UTM parameters are passed into the login page URL, then the UTM data should still be recorded properly.

    • That article is saying they can cause problems reporting analytics accurately when properly generated campaign URLs aren’t being used prior to shortening URLs. As long as you properly tag the URL with UTM campaign parameters prior to shortening your URL you shouldn’t have anything to worry about.

  4. Hi,
    Your article is great, but I still don’t know what the problem might be in my case. Here is a link that doesn’t get tracked in GA. Would you pls take a look and advise? I’d really appreciate it.
    https://www.peerform.com/common/redirectregistration.aspx?utm_source=SFSOptionTest&utm_medium=email&utm_campaign=2018Test&utm_content=*|HTML:MERGE3|*&fname=*|HTML:MERGE1|*&lname=*|HTML:MERGE2|*&email=*|HTML:MERGE0|*&home=*|HTML:MERGE4|*&zip=*|HTML:MERGE5|*&loanamount=25000&loanpurpose=1

    Thank you,
    Oana

  5. Hey Andy – Great stuff here, thanks for the insights. Clarifying question (and more may follow), using a space rather than a hyphen doesn’t impact the backend accounting in any way, correct? From what I understand, that is merely a style preference to make things cleaner. Your input is much appreciated. Thanks!

    • Thanks Jeff – you’re welcome. That’s correct using a space instead of a hyphen will also work, it is indeed just a style preference of mine to make things cleaner. You just need to make sure to replace the space with %20 in the actual UTM-tagged URL. So for example if the UTM Source is “penguins are awesome” the URL would be “?utm_source=penguins%20are%20awesome”

    • Hash tags (#) were originally used in URLs as anchor links and are now commonly used for JavaScript-driven websites for switching pages without actually reloading the page. Because of this a hash tag in a URL effectively completes the web page’s valid URL and the hash tag as well as characters after it are no longer considered part of the actual URL.

  6. Ok so this is the super “I am missing something question”. If I create a url with say a source tag at the end (I know not utm) now I have this great url. is the only way to use it in google analytics? I guess what I am trying to figure out is how do I used this now, shortened or not, on my wordpress site?
    great article still a ways from understanding it all but lots of great information.

    • There are other ways, but this is the easiest and best way. You could use Google Tag Manager to enable a different way to track non-UTM campaign URL’s by setting up custom events for example, but it’s not nearly as ideal as just using the standard UTM URL’s.

  7. hi, I set a utm campaign but in google analytics it is redirect to referral.
    my source is ok but it redirect to referral.
    my url has #, is it important?
    thanks

  8. I have two click trackers linked by a “?”, when clicked both click trackers fire and record a tracker but will both UTMs record as well even if the UTMs are different?

  9. Hello, thanks for the great article. Will the UTM data get stored in a cookie if the site redirects? For example if the user clicks on test.com/?utm_source=source&utm_medium=medium&utm_campaign=campaign, can this redirect to test.com and still track all of the campaign information?

  10. Hi, I’ve got a few questions about UTMS and link shortening. Do you know if a program or website exists where you can both build the UTM, and create a shortened URL in one place? Instead of creating the UTM and then copying the link over to bitly to shorten everything. I would like to keep a branded URL like the service bitly offers, but I’m not sure if GA UTM offers that service.

    Finally, do you know of/recommend any programs that make it possible to edit short URLs once they are in use? For example, if we changed some pages on our website and xyz.com/topicA/topicB became xyz.com/topicA/topicZ is it possible to avoid breaking all of the short links we had created. Thanks in advance for your help!

  11. Andy – Thank you for sharing all this great information and being such a great subject matter expert. I used the Google Analytics Campaign Builder to create the following URL – https://www.linkedin.com/company/valid-s-a-/?utm_source=Email%20Signature&utm_medium=LinkedIn%20Logo.

    But there are no results in the Campaigns section of Google Analytics. I waited the 24 hours they say it may take to display results in Google Analytics, but still nothing. Any idea what I may be doing wrong? Thank you so much!

  12. When using a UTM URL in an email, is it possible that some companies may have email security that will limit or not allow an email to go through their system that contains a UTM? We are planning to send a blast email to our list and the email platform administrator has raised this as an issue.

  13. Hi Andy

    I checked in SEM rush to do a site audit and came to know that my UTM url’s are being treated differently (as in a different link) & showing an error. Is the google treating it differently too??

  14. Hey Andy,

    Great article, and I appreciate you answering all the questions in this thread.

    Hoping you can help with one more. We had some mistakes that lead to poorly formed URLS that have multiple utm_source and utm_campaign params.

    Do you have any idea how that would track in GA? Would it be tagged as both? Tagged as the first utm_source it runs into, or the last maybe? Having no idea, is making it difficult to try and make sense of our corrupted records.

    Thanks

  15. I have a re-direct system that seems to drop UTM parameters after the first one. I’m thinking the problem may be the “&” once it’s been encoded, do you know if there are any alternate escape characters that will cleanly separate the UTM parameters besides “&”?

  16. I created a UTM Link from UTM Google Builder, but facing an issue,
    When someone click on the link Google Analytics shows correct data with correct campaign name and when another person click on same link, google analytics detect it as a direct traffic..I am unable to track exact amount of clicks..
    How can i resolve it? Any help is really appreciated.

  17. Hi Andy,

    I appreciate the article. Very concise and informative – though it leaves me with a single question. If I include something like “AdWords” or “ad300px” in a UTM tag to help me better track where on the page an acquisition is coming from, will AdBlocker or similar programs weed it out? Or do they simply work on the domain/subdomain and not focus on UTM tags?

    Thanks!

  18. Hi, great article, really!

    I was owndeirng, if you enable autotagging for google anlytics google adwords, but you use manual tagging to have a good google analytics, organized system, how do you make it so that autotagging wont screwu p the look/organizaiton of your current utm system?

    Ex.
    BEST WAY TO ORGANIZE ALL YOUR UTM CODES- follow this:
    Campaign+block1+block2+block3 (we’re leaving out source and medium because that is already present in GA)

    Ex. Back-to-School Campaign – (Campaign Block 1)
    WONT BE IN: Facebook Ads- (Source: Facebook, Medium: paid-social, these will show up already, so thats not important to our campaign tag we will leave these out since that data is already existing somewhere else)

    Backpacks, Notebook, or Pens (ad Group) (Campaign Block 2)

    10% Off, Free Ship, or Free gift- whatever the offer is. (Campaign Block 3)

  19. Hi Andy – Random Q – if I’m using a link shortener to track clicks for an internal click (let’s say a banner on page A to a featured article on page B), will this jump from domainA to domainB (link shortener) back to domainB cause chaos in my analytics? If I don’t add any UTM parameters into the link shortener link, will my original UTM info transfer as the person goes from page A to page B?

    Thx!

  20. We use destination urls for our Google analytics conversion goals. For some reason none of the Google Analytics goals are registering. Do you know if UTMs in a destination url goal causes issues?

  21. I’ve been trying to find an answer to the question “can I use redirects instead of link shortening on my UTMs?”. I don’t see a problem with redirecting yoursite.com/promo to a UTM, just wondering why people pay for link shortening subdomains etc when you can just redirect.

    What are your thoughts?

  22. Hi Andy- I am hoping to find some insight here. I am using UTM’s to track ad creative for a Next Door Media Buy. The reporting that is being shown via NextDoor account managers is showing double the clicks that I am seeing in my GA account. Could this have anything to do with the UTM codes? I have a specific UTM for each creative, but the initial half of the code is the same for each ad type- would there be a circumstance where GA would group the clicks together based off of the initial URL parameters?

  23. I have created a UTM source link through campaign builder for my Shopify website and all links are redirecting to the 404 pages. Please let me know why this happening.

  24. Hi,
    We are having issue where our ad server (Google Ad Manager) is tracking 4 clicks but GA is saying 27 for the same period of time. We used a utm code and then ran it through bitly. Is there a reason as to why we are seeing such a vast difference between the ad server and GA?

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.