Wednesday, 28 January 2009

Google updates Google Analytics solution

-Akshay Ranganath

Google recenty announce bundling of more Enterprise class features into its Analytics package (See Google Analytics blog at http://feeds.feedburner.com/~r/blogspot/tRaA/~3/428822828/more-enterprise-class-features-added-to.html)

In short, the new features added were:

  1. User Interface refresh.
  2. AdSense now integrated into GA.
  3. Advanced visualizations: Motion Charts!
  4. Custom Reports!
  5. Advanced Segmentation!!
  6. The Google Analytics API.
  7. Automatic importing of AdWords cost data into Urchin.

Of this, 6th and 7th are in private beta meaning you get it only if Google invites you to use :-(

Avinash Kaushik has written a nice post on what it means and how to use it here (http://feeds.feedburner.com/~r/OccamsRazorByAvinash/~3/428799691/google-analytics-releases-advanced-segmentation.html)

Commenting on the new features, CMS watch wrote a report on the shortcomings of the enhancements:

  • Unlike most enterprise-ready analytics tools, Google’s analytics offering lacks an ability to query against raw data, limiting in-depth analysis into segmentation behavior.
  • No API exists to support the import or export of data for third-party e-marketing package and enterprise data integration.
  • Support comes only from consulting partners, which lack the ability to make modifications on the Google back-end. And with little documentation, license-holders have come to rely on bloggers for assistance.

And it even mentioned one good thing:

businesses have come to effectively employ Google Analytics as a supplement to more robust offerings. It is especially helpful for AdWords performance metrics and campaign tuning.

(Source: http://www.cmswire.com/cms/web-content/google-analytics-shoots-for-enterprise-falls-short-001298.php)

Being stuck in project, I've not had time to see what the new features look like - planning to check it out over the weekend.

Gut feel though - Google is still catching up with the likes of Omniture. GA is still quite less customizable and the flexibiity offered in terms of user defined variable and metrics is tough to use.

Marketing campaign analysis & tracking via Google Analytics

In the world of web analytics, one of the fundamental pillars of understanding the site behaviour is through segmentation whose “is to allow your marketing/sales program to focus on the subset of prospects” (1). One of the methods of segmenting the visitors to a web site is via campaigns. It is defined in as:
A specific, defined series of activities used in marketing a new or changed product or service, or in using new marketing channels and methods (2).

To test the effectivness (and to learn) campaigns, I experimented on my personal blog. The plan was simple. I wanted to check if the readers of my blogs who come from various sources behave any differently if the reader is a friend of mine. Albeit a non-brainer thing to verify, it was an interesting thing to see how different my friends behave as target audience as compared to normal readers. So here goes the steps for setting up the campaign and the results.

Setting up the campaign
The first step in designing a campaign is to identify the goal. In my case it was to see if sending out emails whenever I publish a blog was a successful method for attracting better quality audience. A better quality audience in my case is audience who spend more time on the site and visit the site more than once.

Based on the goal, the metrics that I needed to start tracking were Visits, Absolute Unique Visits, Repeat Visits, Time on site, Pages per visit and Bounce rates. I also needed to separate visitors whom I was targeting via emails from the rest of the audience.

To segment the audience, I set up a campaign which is basically appending some special parameters at the end of URLs that can be used for tracking the visitors. To help build correct URLs for Google Analytics, Google offers a URL Builder (3) that gives a URL based on parameters that you want.

If you look at the screen, it has 4 parameters. They are:

1.Campaign source – where are the audience coming from – in case there are multiple sources
2.Campaign medium – how did they reach the site.
3.Campaign term – To see which of the multiple terms resulted the audience reaching your site. In my case there was none since it was not based on search at all.
4.Campaign content – What type of content led to audience reaching the site. It could be a text based ad on Google, a banner, a flash, etc. This can be used to identify effectiveness of multiple content types, if applicable.
5.Campaign name – A name to identify your segment of visitors

Based on this, I set of the campaign for my blog. Screen shows the campaign I setup to track visitors from this blog.
http://rakshay.blogspot.com/?utm_source=ch1&utm_medium=ch1blogs&utm_term=none&utm_content=blog&utm_campaign=collegues

Viewing the campaign
Once having setup the campaign, it was time to wait for people to start 'converting'. After sending out email about a new blog that I had written, I waited for about a month. To see the results of campaigns, go to Traffic Sources -> Campaigns.

Here you can see the results for your campaign (reported based on the 5th parameter provided above). The report can be analysed in various dimensions like the landing pages and the comparison of traffic against the entire site.

If you look at the image below, the reports very clearly show that the campaign has been a great success for the parameters that I'd defined. The average time, repeat visits and page per visit is much better than average site.

The following screen shows the performance of the various landing pages under the campaign:


The best part – since i'd sent the mail to a limited audience I can exactly calculate the marketing metric of conversion:
No of people targeted (n1) = 26
No of people converted (n2) = 13
Conversion rate = (n2) / (n1) %
= (13) / 26
= 50%
Well, considering that the average conversion from a marketing capmaign on search PPC is around 2%, the 50% I've got is nothing short of a jack-pot :-)


References:
1.Segmentation: http://www.businessplans.org/Segment.html
2.Campaign: http://www.entrepreneur.com/encyclopedia/term/82444.html
3.Google Analytics URL Builder: http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55578

The reference site for the article is my personal blog where I'd written about the funny aspects of the traditional indian arranged marriages. The URLs sent for the campaign were:

  1. Arranged Marriage Blues - Part 1: Entrapment!
  2. Arranged Marriage Blues - Part 2: The Rejection
  3. Arranged Marriage Blues - Part 3: First Meeting
  4. Arranged Marraige Blues - Part 4: Arranged Travel

Do send me your feedback on my other blog too - if you get some free time to have a look:-)

Google Chrome - A Quick Review

-Akshay Ranganath

Today, Google is launching it's new browser called "Google Chrome" as a beta in more than 100 countries. This is to be an open source browser, taking a lot from the communities of Firefox and Apple. Reasoning on the lauch, the official Google Blog says,

"We search, chat, email and collaborate in a browser. And in our spare time, we shop, bank, read news and keep in touch with friends — all using a browser. Because we spend so much time online, we began seriously thinking about what kind of browser could exist if we started from scratch and built on the best elements out there."

All this sounds correct - and good. However, but, underneath, the browser seems to be yet another appetite for Google's hunger for data. Consider this, until now, Google could track you if you were on Google Search, Blogger, Mail or one of its innumerable products. With the browser, you just don't have to be on their site. All you need is use their browser - and over a period of time, start collecting anonymous information on the browsing habits of users and fine tune the ads. Better ads, better money.

I know it is a bit paranoid that privacy may not be invaded but, if Google chose to, would it be not possible to gain this advantage?

Microsoft though should now be feeling a bit jittery - with the dominance on OS being questioned (Vista fiasco) and online document sharing sites impacting the Office dominance, the latest launch from Google must really be scaring them off!

What do you feel?

Updated on 04/09 after actually used Chrome for about 4 hours..

Why another browser?
One question on everyone's mind seems to be "Why another browser?" and "Why should Google bother about it?" Well, the answer seems to be buried in many blogs and reviews. But two things emerge:

1. Competition with MS

At a superficial level, Google wants to keep Microsoft on its toes. IE is still the market leader with more than 70% market share. Despite Firefox being popular, 13% is still a small user base. Google wants to thow its weight and push more users to the browser platform and 'disintermediate' users from the shackles of not just IE but from the clutch of Windows itself. After all when the browser can open sites like applications, users start to lose the differentiator between what's online and what's offline. So Google Documents can take over Microsoft Office and be quite nifty on any platform.

2. Switching to cloud computing

At a more depth though, Google wants to turbo charge the adoption of the cloud. As this article says:

To Google, the browser has become a weak link in the cloud system - the needle's eye through which the outputs of the company's massive data centers usually have to pass to reach the user - and as a result the browser has to be rethought, revamped, retooled, modernized. Google can't wait for Microsoft or Apple or the Mozilla Foundation to make the changes .. so Google is jump-starting the process with Chrome." Continuing on this line the author says that winning the browser war is not the strategy - it is jump starting the user adoption to a 'cloud' based mode that is the real driver behind this innovation.


A small benchmark test

Yesterday, I used the browser for almost 4 hours and came away quite impressed. Since the browser claimed to have a Javascript engine that is separe (aka Virtual machine), I loaded sites that are AJAX/JS heavy like http://g.ho.st (a web operating system) to see what happened. Firefox handled ok, IE crawled while Chrome simple dazzled. Then, I tried some (illegal) mp3 songs download. This was simply incredible. Not sure how they did it, songs of about 7 MB that would have take 2-3 minutes got downloaded in about half a minute! I am still trying to figure out if the network was somehow so good yesterday (although I dount it..)

Relief for developers

If you've executed a project where the client demands multi-browser support, I'm sure you know how hard it is to achieve. With functionality, you can somehow wrench a logic but with the browsers, it is a totally illogical and irrational trial and error that can take eons to complete.

Luckily, Chrome is based on the Apple's WebKit fore rendering the pages. So, hopefully, us developers will not be hit too hard and won't have to design one more CSS hack set for one more browser.. Yippie!

Should I use a Third party or a First party cookie

-Akshay Ranganath

In this artilce, I'd like to point out the difference between the third and first party cookies and the relative merits / demerits of both. Its based on the article by Avinash Kaushik's blog and the book "Web Analytics Demystified" by Eric Peterson. This is an important cnsideration that you should take care before starting an analytics implementation. It could determine the quality of results that you get and any privacy related headaches that may come up.

The Basics
In the world of Web Analytics, many things related to site usage is measured (generally) via cookies. According to Wikipedia a cookie is "are parcels of text sent by a server to a web client (usually a browser) and then sent back unchanged by the client each time it accesses that server". Cookies are generally of two types:

1. First party cookies
: These are the cookies that are set within the domain of the site being accessed. So, if I am using http://www.cognizant.com, a first party cookie would always be within the domain of 'cognizant.com'.

2. Third party cookies
: These are the cookies that can be set with any domain. So when accessing Cognizant, if it used Omniture for tracking would have a third party cookie set in the domain of '207.net. So in effect, a third party is a cookie that is set by a third party.

Problem with third party cookies
Generally, third party cookies are rejected by browsers (based on security settings of the browser) and most of the anti-spyware sofware.

Hence, some of the metrics that rely on cookies will be corrupt. For example, visitor measurement us dependent on the cookies. If the browsers reject them, then this metric cannot be relied upon. Note that the problem of cookie rejection is an issue with both first and third party cookies.

Another issue with the third party cookie is the visbility across domains. For example, if DoubleClick sets a cookie on http://siteno1.com would be visible even on http://siteno2.com. Such cookies are necessary for tracking ad-clicks and conversions. This is a legitimate use but, it is possible for some malacious site to set the cookie from one site and track the sites visited by the person using the browser. To avoid such problems, anti-spyware softwares strip web requests off the third party cookies.

Solution
The solution for implementing web analytics solution hence is to use rely on first party cookies. Google Analytics by default uses first party cookies. Omniture however defaults to third party cookies. You need to talk to your consultant and ensure that they switch to first party cookies and avoid getting corrupt reports.

Saturday, 28 June 2008

Short guide to using Web Analytics Solution Profiler (WASP)

Today, I was just looking at something and stumbled a nifty tool call W.A.S.P. Its a plugin for Firefox and stands for Web Analytics Solution Profiler. Freely downloadable from http://wasp.immeria.net, this tool can give you the metrics being collected from your site - and the actual analytics tool being used on that site.

For someone using tools like Google Analytics (GA) this is a big boon. This is because tools like GA did not have any type of debugger. So, if you implemented a solution, you had to wait until the next day to see if whatever you did was right. Unlike Omniture, there was not 'debugger' tool where you could instantaneously see what you was the information being collected and passed for the report generation. With W.A.S.P. all this could change...

Installing WASP
Intaling the tool is just like any other plugin install on Firefox. Just go to the website http://wasp.immeria.net and choose the tool. It gets installed as a plugin on your browser and simply restart the browser to get the tool working.

Using WASP
Once the tool is installed and active (which it is by default), it automatically starts collecting information about the websites you visit. So if you open a page which has analytics code on it, it automatically displays a notice at the bottom. For example, in the screen shown, the site is using Google Analytics. If you want to examine the details, double clicking on it will open the plugin with the details of the site (shown as the left panel in the screen).

The left panel that opens up will display all the parameters being passed to the analytics tool. This itself would be of tremendous help in debugging the implementations. What is still better is the way the variables have been explained in simple language. To use this, just choose some variable and it will display the name of the variable, the value and a short explanation about what information this variable is collecting. For example, in the screen attached, it shows that the variable 'utmdt' is collecting the value from 'Document.Title'. This I feel would help immensely for beginners. You don't have to refer too many documents. All you need to do would be implement analytics code, use the tool and start tweaking the solution.



Conclusion
The tool is nifty to use, easy to understand and install - and light. It can help in getting quick result in detecting what values you are capturing and verifying if it is correct. Of course, the caveat applies that you are using a tagging based solution. If you are using a log analyzer, the issues of debugging still remain. For a tag based solution, this is a great tool for both development teams and analytic consultants.