
Tuesday, 3 November 2009

Friday, 30 October 2009
Here is a captivating way to look at your Google Analytics data in a Treemap visualization. You can visualize your own data with our live demo. (Note: IE currently not supported for visualization part.)

And, here is a video explaining how to look at the Treemap visualization and how to use it.
The goal of this example was to teach people how to use the Google Analytics API on App Engine in Java, as well as to demonstrate how to use both OAuth and AuthSub along with the App Engine's various services. The code looked great, but the output was a boring HTML table. So we used some open source tools to transform the table into a pretty tree map visualization, which is also useful in noticing interesting metrics.
All the code has been open sourced on Google Project hosting. Also, here's an article describing how this application works making it easy for developers to use this example as a starting point for new data visualizations and other Google Data projects.
For the data retrieval part, we used the App Engine Java SDK and the Google Analytics Data Export API Java Client Library to retrieve data from Google Analytics. The example code implements both unsigned AuthSub and registered OAuth authorization methods allowing developers to get up and running quickly in their dev environment and later switch to a secure authorization method in production environments. The application also uses the Model-View-Controller pattern, making it flexible and allowing developers to extend the code for new applications (e.g. adding support for other Google Data APIs).
And lastly, for the visualization part, we used the open-sourced Protovis SVG Visualization Library to create the Treemap. This JavaScript library is maintained by the Stanford Visualization Group and excels at creating brand new visualizations from a data set (in this case a boring HTML table). To handle all of the interactions, including rollover, tooltips and slider controls, we used JQuery. Here is the JavaScript source for the visualization part of the sample.
Enjoy!
Posted by Nick Mihailovski, Google Analytics API Team
Wednesday, 28 October 2009
You can probably think of more than four things you'd like your visitors to be doing when they visit your website. Until last week, Google Analytics had limited the number of configurable goals per profile to just four. Sure, you can create 50 profiles and thus track up to 200 goals, but having to switch back and forth in your reports can be a bit cumbersome. Well, here's some very welcome news: comprehensive site performance measurement just got easier. A newly released feature in Google Analytics now lets you create up to 20 conversion goals per profile, including new Engagement goals.
What is it?
Each profile now can be configured with up to four “Goal Sets”, each capable of housing five individual goals. In your Traffic Sources reports, each goal set appears as its own tab (see screenshot below) and the goals associated with the set are listed out in plain text, just as before, to show you how your visitors are accomplishing the objectives of your site. (Click any image to enlarge it.)
In the screenshot above, you can see that Goal Set 1 is comprised of five individual goals. Look in the white boxes under "Goal Set 1" and you'll see "Goal 1: Newsletter Signup", "Goal 2: Contact Us Page", "Goal 3: New User Registration", "Goal 4: Webinar Signup" and "Goal 5: Catalog Request". Goal Sets 2, 3, 4 contain various other goals, and a simple click on the tab puts the numbers you need right at your fingertips.
When viewing your Goal reports, you'll now see up to 20 individual goals in the “Select Goal:” dropdown list, so you can quickly and efficiently look at trend data, funnel visualizations and more:
Setting Up Your Goals
Goal configuration has a new look which follows the goal set organization. For each goal set, you can add up to five individual goals (the remaining number of goals in each set are conveniently noted for you). To add a new goal, just click on the “Add goal” link for the goal set you wish to add a goal to.
With all of these new goals to configure, it's a good practice to use your goal sets to group your goals strategically. For example, you might use Goal Set 1 to track a set of e-commerce related goals such as Successful Purchase, Added Item to Shopping Cart, Deleted Item from Shopping Cart, and things of that nature. For your next set, you might want to track interaction goals such as Newsletter Signup, Followed us on Twitter, Logged In, etc... The sky's the limit, but make sure to consider how you'll want to use your reports when configuring your new goals.

New Goal Types - Engagement Goals
Time on Site allows you to specify a greater than or less than value of time spent on your site as one of your goals. The following goal would fire once a visit passes five minutes in length:
As always, if you'd like a monetary value to be assigned to any of your goals and used in cost and revenue calculations, just enter the amount in the "Goal Value" field.
Goal Funnels
One more change to the goal creation page is the goal funnel creation step. The setup is collapsed by default (as it is optional), but if your URL Destination goals follow a path and you'd like to see how users are entering, following and abandoning that path, this is something that you can take advantage of. To create a funnel, just click on the “+ Yes, create a funnel for this goal” link and start entering the URL path to your goal, adding up to 10 steps.
Happy Goaling!
With this new addition to Google Analytics, opportunities to understand and then cater to your visitors abound. So the question is, how will you take advantage of this for your site?
Posted by WebShare, A Google Analytics Authorized Consultant




