Improve Your Analytics Analysis by Defining Users

userDefinedreport

This post will be discussing some of the more advanced reporting features of Google Analytics – be warned!

So you’re digging into your Google Analytics – whipping out custom segments, filtering out your office traffic, creating custom reports – when you notice that elusive, mysterious “user-defined” report staring at you from the visitors menu.

“What IS the User Defined Report?” you ask yourself….so you click it and get to a page that looks like this:

the typical user defined value page in Google Analytics

the typical user defined value page in Google Analytics

…which helps you – not at all.

Don’t feel bad, like you’re the only idiot that’s not using this feature. But also don’t ignore it, because it’s a powerful little feature indeed.

First off, to answer the question -“why would I WANT to use it?”, let’s consider a very common scenario.You’re running a website where you actually sell something, it could be an e-commerce site, a subscription based site, etc…

How are you going to differentiate those visitors that have already purchased from you or subscribed to your site from the typical repeat visitor? Sure, you can track visitors that log in, but what if they don’t log in during their visit?

That’s where our friend,  pageTracker._setVar,  comes in.

Navigate to the page where this visitor would complete their transaction, or registration, etc. Go to where you inserted your analytics tracking code on that page – now simply assign a label, such as “customer”, to the pageTracker._setVar variable, adding it into your existing tracking code, and PRESTO! – you are now able to identify those visitors that have purchased, subscribed, whatever…

Here’s an example from Google’s analytics blog discussing this subject.

<script type=”text/javascript”> var gaJsHost = ((“https:” == document.location.protocol) ? “https://ssl.&#8221; : “http://www.&#8221;); document.write(unescape(“%3Cscript src='” + gaJsHost + “google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E”)); </script> <script type=”text/javascript”> try { var pageTracker = _gat._getTracker(“UA-XXXXXXX-1”); pageTracker._trackPageview(); pageTracker._setVar(”customers”); } catch(err) {}</script>

The way this works is that you’re telling Google to set an additional cookie on the visitors computer that will report back to Google each time they visit your site – assuming they don’t delete their cookies during browsing sessions – or use a different computer to visit your site – or turn off javascript…( those are issues you have to deal with anyway, so nothing out of the ordinary)

This is an excellent way of segmenting specific user groups without wasting a lot of time.

There are some issues to be aware of though, as Google points out – most importantly the fact that Google Analytics is only capable of storing one custom segment at any one time for one website. They mention the LunaMetrics site, which has code which supports multiple labels, but I think there are still some issues there. Here’s the complete techie explanation on _setVar.

Advertisements

One Response to “Improve Your Analytics Analysis by Defining Users”

  1. Improve Your Analytics Analysis by Defining Users « Search …- SFWEBDESIGN.com Says:

    […] here:  Improve Your Analytics Analysis by Defining Users « Search … Tags: analytics, creating-custom, Google Analytics, rarely-look, the-easy, tools, visitors, […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: