How To Trash Your Google Analytics Account With Campaign Tagging

Campaign tagging gone horribly awry in Google Analytics

Save yourself from mutant data.

TL;DR: If you’re using campaign parameters on internal links get them out. Immediately. And add an annotation noting that you got rid of them.

I’m a huge proponent of campaign tracking for marketing campaigns. But used the wrong way, they can totally trash your Google Analytics data. Like to the point of making the data in your profile completely unusable. And since I’ve run into this in the past six analytics audits I’ve done, I thought I’d aim to raise the level of awareness on this topic.

What Is Campaign Tagging?

If you’re unfamiliar with campaign tagging, check out Google’s resource on it. There’s also a great overview post on Search Engine Land. I also address it in my presentation from SearchLove, where I talk about marketers not taking enough credit for their work. It is beyond critical if you’re doing email marketing. If you’re doing email marketing and you’re not tagging your links, you’re junking up your direct and referral traffic numbers. (Can you say bogo special?)

A Cautionary Tale

But this post isn’t about the efficacies of campaign tagging; it’s a cautionary tale about what can go wrong if you use campaign tagging improperly. Why? Campaign tagging is meant for external links that point back to your site.

Ergo, the best way to trash your data is to use campaign parameters in internal links.

Deep In The Weeds

The reason for this is when you tag a link with campaign parameters using Google’s URL Builder or my Google Doc that enables you to just paste a list of URLs and have the parameters added automatically (wooOOoop!), you are reassigning the source and medium data. So let’s say you tagged a link to look something like this:

https://www.annielytics.com/hundreds-of-tools-for-marketers/?utm_medium=social&utm_source=twitter.com&utm_campaign=sample+campaign

And someone clicks on this link from from hootsuite.com. Because I assigned the source to be twitter.com (via utm_source=twitter.com), that referral source will now show up as twitter.com, not hootsuite.com. And instead of the visit showing up as a referral, it will show up as social because I assigned the medium to social (via utm_medium=social).

You following me?

So what I’ve seen sites do is add campaign parameters to their navbar and footer links or even internal banners. The problem with this is let’s say you have a navigation link tagged, and it looks something like this:

http://www.yoursite.com/about/?utm_medium=top+navbar&utm_source=homepage&utm_campaign=nonsense

Now let’s say someone comes to your site via Pinterest and then clicks this tagged link to get to your about page. That visitor no longer shows up as coming from Pinterest. Your referral is your own site.

Worst Case Scenario

In auditing a company’s Google Analytics profile this week (a service I offer), they had 1.4 million visits in the past month that had been reassigned. My heart stopped. I’ve seen campaign tagging cause shenanigans in data but never anything this pandemic. It was the first time I had to tell someone that their analytics data is completely useless. As in they can’t use their analytics data to measure any of their marketing efforts — organic, paid search, campaigns — nothing. Because they had tagged links in their navigation and all through the site, those reassigned visits were just too pervasive.

So if you’ve been using campaign tagging on internal links you need to see what percentage of your visits have been reassigned. If it’s a significant amount of data, I would recommend consulting with an experience analyst to make sure your data is trustworthy at all. Here are a couple preliminary checks I use to check for evidence of tagging internal links.

 

 

Comments

  1. Gemma Holloway says:

    I’m really glad you wrote this post Annie – It is something I have seen clients do far too often and it will be nice to have a resource to refer them to in future. Thanks.

    • Thanks. I kept thinking it was a one off when I’d see it, and I put off writing the post because I never want a client think I’m writing about them. But then I’d forget. So this time I just decided that this is probably pretty prevalent among enterprise-level organizations.

  2. Interesting article – how would you track internal links then?

  3. webaddict says:

    Great article Annie that made a sometimes complex subject to some straightforward. Crazy how dangerous this could be to future data.

  4. ork ork ork I just came across a giant client competitor site that had done this on Friday.

  5. Scott Thomas says:

    Is there any value in using campaign tracking for secondary domains that are 301 redirected to the primary domain name? Example: domain.org redirected to domain.com (with campaign tracking). Or would this be making the same mistake?

    • As long as it’s external, it’s totally fine. I recommend a similar strategy for billboards. Put up a vanity URL, redirect it to a page on your site with campaign parameters. Totally copacetic.

  6. Wow, can’t believe you’ve been seeing it that often lately Annie. That’s a shame. In your very first example, (Hootsuite vs. Twitter), there’s not really a way around that, right? I mean, traditionally, I’m saying that even though the click actually came in from Hootsuite, it makes sense to me to still give the credit to Twitter (assuming the original act was me tweeting that link) since the url started there. Agree? Or am I missing something.

    • No. That’s a totally acceptable use of campaign tagging. I’d rather have Twitter traffic be consolidated into twitter.com. I just used that as an example of how campaign tagging used properly works.

  7. Johann Colombano-Rut says:

    Very interesting… Didn’t know it could be that huge !
    How did you discover the problem ? In analytics ? With a crawl (screaming frog like) ?

    • These visits show up as suspicious sources, mediums, and campaign names in their campaign reports (e.g.,anything with “internal” in it). Then I verify by running Screaming Frog and using the line item filter to search for utm_.

  8. I’m assuming if you still want this level of visibility “event” tagging would be more appropriate.

  9. I agree completely. I always prefer event tracking for the internal links rather than using UTM builder. That’s the best way to decrapify my Google Analytics data. Events are a good indicator of user behavior and interaction with my site and also offer valuable insight as to what content/link should be highlighted and what to demote and remove.

    onClick=”_gaq.push(['_trackEvent', 'top_navbar', 'Click', 'awesome_insight']); is better anyday over http://www.yoursite.com/about/?utm_medium=top+navbar&utm_source=homepage&utm_campaign=nonsense

    What do you think?

  10. We ran into this problem as an unintended consequence of good intentions. We use a “short URL” redirect script for use in print (postcards, etc.) The developer set it up to automatically append campaign tags, which was great until we realized that content authors were also using the short URLs in their web pages. Any visitor clicking one of these links would get their true source info overwritten.

    It’s reassuring to know that we weren’t the only ones to fall into this trap! It makes me wonder, why doesn’t Google preserve the http referrer as well as the campaign source?

    • When used properly, you want this data to be overwritten. That way you can segment by it in more than just your campaign reports. It just has to be used with extreme caution.

  11. Very interesting Annie, thank you.

  12. I think it could called the “omniture syndrome”: they need to tag-tag-tag-tag because it’s the “only way” they know of tracking the user interactions in a website and in a conversion funnel. Thankfully analytics has events tracking.

  13. Fatemeh Fakhraie says:

    What about campaign tagging links that don’t come back to your site? For example, should I bother campaign tagging links for our newsletter that go to other peoples’ blogs?

    • Great question. No, you should never tag links that point to someone else’s site b/c it routes their traffic into reports they might not be monitoring. I liken it to painting your neighbor’s house.

  14. Raphael Lopoukhine says:

    Do campaign parameters impact your pageview counts or does GA filter that out when aggregating results? Is that another reason to be concerned about campaign tagging?

  15. Suranga Priyashantha says:

    Yes, this has been a common issue with some of our clients too. In addition to the attribution issue, doesn’t this overstate the visitor count? Since there are two source/medium pairs for the same visitor, aren’t both counted in visitors reports as two different visitors?

    Re:Custom variables/Custom dimentions (UA). In one of Justin Cutroni’s articles he has suggested custom variables as an alternative for internal campaign tracking. Appreciate if you can shed some more light on this preferably using GTM

  16. Writing is an art that everyone does it. Congratulate you for having this art.

    کرکره برقی

  17. Jared Oldham says:

    With onClick= is there anyway to track revenue? I should mention, for an ecommerce site. Not just setting a value. I am running a test and all I can see is click data.

  18. Portman says:

    I have been surfing online greater than three hours as of
    late, yet I never discovered any attention-grabbing article like yours. It¡¦s
    lovely worth enough for me. Personally, if all site owners and bloggers made
    excellent content as you did, the web will probably be much more useful than
    ever before.Check here

Speak Your Mind

*