Understanding the __utmz Google Analytics Cookie 1

CookieIn case if you are using Google Analytics to track traffic and conversions on your website, then you would know that the tracking GA does is using the urchin tracking cookies. In case if you do not know what are HTTP Cookies, then you need to start reading some of these articles that I am linking to!! They can give the crunch to your digital marketing initiatives.

Do bear with me through this post, I will get a bit technical. In case if you do understand a bit of PHP, you will enjoy this post even more … if not, well then just keep this information with you for now, it will come to your aid sometime later when you would be talking to your developers!

Some Cookie Basics first

So if you have any kind of server side script running on your server (ASP, JSP and my personal favourite, PHP), then you can create your own cookies! In case if you are working with cookies before, then you should know that on a Apache/PHP server environment, the entire set of cookies can be obtained by referring to the $_COOKIE reserved variable. Isn’t this awesome? What this means is that with one line of PHP code, you can refer to all the cookies which are now on your site for each of your visitors.

This fact was known to the good folks at Urchin (later taken over by Google and now officially available as Google Analytics). In fact if you do look under the hood (see the screenshot below of my domain’s cookies), then you will see that there are multiple cookies used by Google Analytics.

kidakaka utmz cookie

Each of these cookies have a certain purpose. The way GA utilizes these cookies is well documented, and you can find the developer note here.

So why the __utmz Cookie?

The __utmz cookie contains the traffic source information in Urchin tracker format, when an individual visitor hits your site for the FIRST time. That means whenever the visitor comes back to your site, this value remains unchanged.

Imagine a scenario wherein a visitor first sees a post of yours on Facebook (much like you at this moment!!), or on Google … or other traffic sources. The visitor comes to the site, checks out a few pages and goes away (… such a shame!!). After a couple of days, the same visitor comes back to the site via an ad and decides to leave his information on one of your contact forms (I do hope you are using these!). How would you know that the user is a repeat visitor? The form will only contain data which is pertaining to the visitor’s current visit (that too, if you configure this correctly).

So, whom would you attribute this event to? Your advertisement (the later) or your social media sharing (the former)? Do you believe in first impressions or do you believe in the recency effect?

Whichever the way you answer, without knowing about the user’s previous visits to your websites, you will always choose the later … thereby misattributing your visitor acquisition to the wrong medium! And that’s why the __utmz cookie is so important! In effect it represents a unique visitor for your website.

I treat the __utmz cookie as equivalent to a real person!! Associated with it is a story, this story is usually rolled out in a set of visits, can be tracked down using Google Analytics if you are willing to sift through the data that is available to you.

What can we do with this Cookie?

How do we bite into this Cookie? Well, there are more than one method of cutting this cookie!!

  • If you have conversions on your site (Downloads, Sales, Contact Forms, etc), then you can always use the value in this cookie to track the origin of the visitor. This will give you a definite number on which traffic source (and which marketing campaign) is more effective for you when it comes down to conversions.
  • Each __utmz has a unique value set, this unique value can be converted into a Custom Variable and you can then track a unique visitor across your site using this Custom Variable (the free version of Google Analytics allows 5 Custom Variables, so use them sparingly).
  • For the more technically sound platforms, you can use this and the other GA cookies to track the visitor ACROSS multiple visits. However, there are other tools which are far more easier to setup to do this viz., Mixpanel.
  • If you are betting a lot on acquisition of traffic via Search engines, then the __utmz cookie can be mined for keyword data … yes, the data which people are searching for and are coming to your site. However, as of 2013, GA only provides the keyword data of users who have not signed in into their Google Accounts (around 30% of the data is not available).

Hmmm … crunchy delight!! And nutritious as well!!

I would love to hear from you how else can we use this and the other Cookies. In the meantime, do start integrating your Cookies with your CRM for more visitor intelligence!

One comment on “Understanding the __utmz Google Analytics Cookie

  1. Pingback: The Cinderella Visitor

Leave a Reply

%d bloggers like this: