Sunday, 4 November 2007

How to design website to be web analytics friendly?

-Akshay Ranganath

Last week, we received a few requests for implementing Analytics code on over 1000 pages of a client web site. It was while breaking our heads over the sheer amount of mundane task that we realized on the potential of making this process a lot more easier.

Background
Now a days, almost everyone wants to have analytics code implemented on their site. Given that Google is offering it totally for free, who would not want to use it?

So, first thing to do is start with the assumption that your site is going to have an analytics implementation at some point of time. If you see various products out there, the basic things of most products are:


  1. a small javascript code asking for insertion of a vendor provided script. This will be s_code.js for Omniture SiteCatalyst. For Google Analytics, the file will be urchin.js

  2. another piece or a same piece of code that follows this initial include line for capturing the variable that needs to be reported on. For this purpose, you have multiple option, depending on the product being used:

    1. Omniture SiteCatalyst: Use the custom variables

    2. Google Analytics: I am yet to learn this!




I am assuming that you want to implement a basic analytics solution on the web site. This is the case of most people. (I know it is a generalization but, since this industry is in a nascent stage, there is a lot of information that can be gleaned even with this level of implementation).


To help accommodate this, the pages of the web site should have two important features:

  1. A include line at the top of the file, just after the <body> tag. This line in turn can insert the necessary JavaScript code needed for Google Analytis or Omniture SiteCatalyst.

  2. A shorter code snippet for pulling in the various custom parameters.



To explain this concept, I'll use the example of Omniture SiteCatalyst. Suppose, you have a news publishing website and you need to measure the following:
1.Page name – s.pagename
2.Section Name – s.channel
3.Headline, if applicable – s.prop1
4.Name of author, if applicable – s.prop2
(Paramters after '-' are the Omniture SiteCatalyst variable)

What I would suggest is a simple implementation of placing the necessary information in a DOM accessible format on the rendered page. So, for example, if the details could be designed as follows:
1.<title></title> can contain the correct page name
2.rest of the details could be put in <div></div> tags
So, my final rendered page had the details in a format like:

<div id='section'>Latest news: Sports</div>
<div id='headline'>Man U win Championship Leage – yet again!</div>
<div id='author'>John Brown</div>

Then, we could write a generic JavaScript to pull in the values. The possible pseudo-code would look like:

function getArticleName(article) {
if article requested is 'Section' then {
check if element called section exists
[document.getElementById('section')]
if yes, then return this value
}
}

The final page for could be rendered in a very generic format:

s.pagename = document.title
s.channel = getParameterName('section');
s.prop1 = getParameterName('headline');
s.prop2 = getParameterName('author');

and so on..

Since this is a generic function, it can be easily added in all pages as it is. To ensure the correct usage, it would be a good idea to insert this code just before the tag.

Implementation example
Suppose you are using .Net then the master page concepts fits nicely into the scheme of things. Add the line for including the Javascript (s_code.js or urchin.js) in the master page.

Then, include this master page in all your ASPX pages. And that's should get you a foundation.

Then, design a short javascript having the four lines mentioned about and include it in all your pages just before the end of body tag. As a worst case, the javascript could be empty and do nothing. Still, the pain of updating each page in future is resolved.

The other option could be to use a master footer page. This option would make life a lot more simple.

Conclusion
So, you see implementation of analytics, at least the basic one can be made a lot more easy and painless with a few bit of code designed into your system. Trying to do this after everything is done could be a bit of a pain and unnecessary wastage of effort.

Friday, 2 November 2007

7 Web Analytics Sins - White Paper by ClickTracks

-Akshay Ranganath


Read this nice article on the 7 Web Analytics Sins from ClickTrack. The 7 sins are:

Sin #1: Simple Visitor Counts
Learn the factors that can potentially skew visitor data.


Sin #2: Search Term Popularity
Understand why marketers must concentrate on the quality of visitors a keyword delivers, rather than the quantity.

Sin #3: The Linear Funnel
Learn the reasons why traditional sales funnels can lead to dangerous assumptions.

Sin #4: Data Overload
Know why it’s important to be able to separate interesting information from actionable information.

Sin #5: Relying on Absolute Number
Understand the reason why it’s more important to concentrate on trends instead of absolute numbers.

Sin #6: Relying on Top 10 Lists
Learn how getting stuck in your top 10 referrers can cost you long tail opportunities.

Sin# 7: Technicolor Report
Understand the reason why the way that information is displayed can have a huge impact on ease of use and perception.

For more information visit ClickTracks White paper at http://www.clicktracks.com/downloads/7-web-analytics-sins.pdf

Monday, 29 October 2007

Case Study - How to analyze a Web Analytics Report?

Akshay Ranganath



What to see in your Analytics Report?

Once you have for the Analytics Code onto the site, what do you start to measure? Here’s a short article on it with Google Analytics and a Blog on Ubuntu Linux as an example.

The site used for recording is our own groupMAGNET blog, http://groupmagnet.blogspot.com/.

Reports from Dashboard

Visitor Count

The very first report on the site reports on the number of visits to the web site. (See article on definition of Visit).

So, in the above screen shot, on the 16th of October, I received 89 visitors to my website. For the range from Sep 28th to Oct 28th, this is the highest number. For the period of I’ve also got 213 pageviews.

The question that should come in to mind now is: Why such a sudden surge?

Content Analysis

When I see that that on October 16th there were so many visitors, I checked the Top content report. It showed something like this:

This page shows that for the 213 page views, 128 were received from just one page. This page is having a URL ending in “3-Months after Ubuntu”. So, this is the page that has created such a huge surge in the page.

Since I know that most people landed here, I want to now know if they actually found the page useful. To verify this, I invoke the report for the specific page by clicking on the first URL shown in the sceen shot above. This results in a page of the following format:

So, this page is telling me that:

  • On an average, people read this page for 3:32 minutes. This is a very good time considering that the article is really small.

  • But, it also tells me that 99.21% of the users bounced. This means that after reading this article, the visitor to my site navigated to some other web site. This means:


    • I am offering something that is of use to a lot of readers (the huge number of views) BUT

    • My site is not offering a range of solutions to keep the users hooked on.

Hence, if I were to run huge ad campaigns, etc for some other customers, it could not be a big advantage.

The next question that comes to mind is: How did people land on my site?

How do people reach the site?

To answer this question, go back to the first page – the Dashboard and look at the following report (TrafficSources Overview):

This simple report has the details that shows the mechanism by which people are landing on my site.

So, it says that the most number of users landed on my blog via Referring Sites. A referring site is any site that has a link to this blog. (Sites like Google, etc are treated as a special case and reported in the Search Engines).

Hence, my web site is famous not because a lot of people reached through Google Search but, some particularly important source is referring to my site. Who is this site? To see this detail, click on the view report link.

Here the details shows that the top traffic sources are Ububtuhq.com and Digg.com sites.

Conclusion

From the above discussion, we see that the article “3-months after Ubuntu” has drawn a lot of viewers from the sites digg.com and ubuntuhq.com. Knowing the history of what had happened, I can now conclude that:

  • Digg.com and UbuntuHq.com attract good quality viewers for topics related to Ubuntu Linux

  • These sites (digg.com and ubuntuhq.com) also have ability to target users who are specifically interested in a particular topic (Ubuntu Linux)

  • If I have anything to say on Ubuntu, it is probably a good idea to link the article from digg.com and ubuntuhq.com since it gives me viewers who are actually reading my material. (Coupled with the fact that I got around 10 comments, it also means that they actually read the contents and try to understand it too!)

PS: Google Analytics is a free tool. Anyone with a Gmail Id can get the necessary Javascript code for implementing Google Analytics.

Monday, 15 October 2007

3 Months after Ubuntu...

-Akshay Ranganath

Its been three months since I installed Ubuntu 7 (Fiesty Fawn) on my laptop. Looking back at the way I've used it and issues faced, here's my take on the system:

1. User Interface
The UI is definitely simple and easy to use. Quite nice, fast and robust. Maybe not as sleek as Windows but, it gets the job done. I did not have time to explore various other themes - so maybe, there are some better options out there.

1.a. Missing shortcuts
One thing that I definitely missed (or never managed to learn) was creating shortcuts. For example, in Windows, there is the option of "Send to desktop". I could not find any such options easily.

This meant that everytime I had to open specific directories, I had to go through the entire file structure to locate the folder that I wanted. A simple shortcut would have really helped a lot.

1.b. Locked up menu-bars
This was a real irritant. All of a sudden, menus would become locked. You cannot resize or close windows from the menu. The only way to close a menu is to right click on the tab in the screen and then choosing the close option. For someone used to closing windows by clicking on the standard X option, this is an irritant.

Another area that it really bugs is the difficulty in re-sizing windows. Of course, if window is locked, there is no way to do it. In case where the window is not locked, the option is to re-size using mouse but, somehow it is not intuitive or easy to use. Sometimes it re-sizes nicely, sometimes it does not. Maybe, this can be improved.

2. Application software
The default installed list of applications are quite helpful to get most of the work done. The OpenOffice suite is surprisingly easy and nifty to use. Yet, there were some areas where things felt a bit jarry.

2.a. Document Viewer
This is the standard PDF viewer that comes along with Ubuntu 7. It is quite light weight and does the job of displaying PDFs. The places where it caused problems were:
Selection of text - When text was selected and pasted, the formatting was lost or things like spaces were simply gobbled up. So, words would be joined and I would have to go through the copied contents and re-format the same to get the content in order.

The second area where I had a problem is that the document viewer does not allow you to choose areas as images. So, if I like a graph in a PDF that I want to copy, I'd end up rebooting in Windows, opening Acrobat and then working with the PDF. I was not really happy to do this, but it was the only way to get the job done.

2.b. OpenOffice Writer
I am not sure if I explored it but I could not find the Document Review tabs in OpenOffice. So, if I have to produce a collaborative document, I would still need to use the Windows word. Maybe, I need to search further but, this is a first impression.

Apart from this, I was quite surprised by the entire system. One area where I am really happy with is the fast boot time that it takes. On an average, Windows XP and Ubuntu take about same time to boot. But, once booted, Windows would suddenly start all sorts of Virus scans, updaters, etc which would simply hog the memory and make my system slow. So, I would have to start my system and wait for almost 5 minutes before it got to a stage where it was usable.

With Ubuntu, if I want to get something real fast, I am able to get hold of it almost the moment the system completes the booting. Way to go!

Well, that's about it for this edition of my review on the system. Please let me know your thoughts.

Wednesday, 15 August 2007

Why del.icio.us is more Web2.0 than digg.com?

-Akshay Ranganath

Today, I was reading the book, "The Long tail" and I started to wonder on which of the sites digg.com or del.icio.us offers a more user-oriented behaviour? After all Web2.0 is about this freedom right?

Where del.icio.us is better for targeting as compared to digg.com?
So, here's my thoughts on it:
As per the digg.com sites submitting methodology, users choose a URL, add in the details. The final part is to assign a topic to a story. In this, the users are completely limited to selecting a topic from amongst the ones that digg.com site owners have decided on.

This is a fine methodology but, has its limitations when your target audience is the Web2.0 crowd who want to catalogue all sorts of topics. For a simple example, whenever I write on a topic of Web Analytics, I need to assign it to programming/technology or business. The worse part is that digg allows you to choose only one topic. However, if suppose I were to post the same on del.icio.us, I could choose tags like webanalytics, programming, sitecatalyst and so on.

Add to it, my other viewers can add their own tags, as per their understanding. The tagging mechanism would create a lot more semantic meaning to a single piece of article. A similar piece on digg.com would however be associated to just one category.

However, this would mean that the stories could get into a mode of serving very niche audience. If this were my primary motive, wouldn't that be a boon instead of being a curse?

Where digg.com scores over del.icio.us?

Digg.com though is a fabulous option to target users if you have a blog/article that conforms to the topics specified under digg. For example, I had posted blogs on Ubuntu/Linux and digg sent an astounding 500+ visitors to my site as compared to the normal 4-5 visitors who would have hit the site from all other referring methods. This was a huge magnitude improvement.

Yet, when I posted articles on Web Analytics, it could not gain the same audience simply because of the lack of alignment between my blogs and the topic of "Programming".

So, if the guys at digg.com are reading this: Guys, you are amazing, but why don't you introduce tagging and tag cloud sort of a feature on your site? That would be a really useful feature!

Any comments??

Some comments I got from digg.com
http://digg.com/users/MarkDykeman/news/dugg said:
I'm no expert on Web 2.0, but I think the point that you are trying to make is that Digg is not designed to handle news, etc. on all topics and thus is less "flexible" or collaborative than a site like del.icio.us. I think, as you say, Digg's strength is its focus, plus the rankings. Digg is more for people who want to establish a reputation as a "maven" or respected source of information, whereas del.icio.us is probably a bit more altruistic and selfless. Having said that, there's a lot about del.icio.us's community structure that I don't understand yet.

Response
Thanks Mark for reading through the article.

Yes, what I said was that the *strict* list of topics on Digg.com is both a differentiators as well as a restricting force. It acts as a great targeting media if the content fits nicely in a category but, can be lost if it does not.

On the other hand, del.icio.us provides unlimited opportunity for categorization - so you can cater to the "long tail" of the readers who will be few and far in-between but, who could turn out to be your niche and loyal customers.

As for the other features of del.icio.us itself is concerned, I'd say, it's ability to share bookmarking with like-minded people is really interesting. For example, a group of us who run this blog share a similar tag for anything interesting to us and share it across each other. So, we actually know what other person read and felt interesting. Check out the gadget on the left hand side of the page on the blog - this lists all the bookmarks that we've made that we felt was interesting or related to the blog.