14:02 API Python Client Library Updated » Google Analytics Blog
It's easier for developers to program in the languages they know, so we updated the Google Analytics API Python Client library with the just-launched API version 2 features. We also added reference examples for both the Account Feed and Data Feed. Now it's easier than ever to automate your analysis workflow using our API.

Taking The Library For a Spin

With the updated library, we thought it would be a great time to highlight the power of the new features. So we created a sample application to do just that. The application uses the new Python library to retrieve metrics for a series of segments. It then performs some calculations on the data and creates bar charts using the GChartWrapper package, an open source Python wrapper for the Google Charts API. Finally, it uses the Python Imaging Library to add a title and legend, and stitches all the charts together into a single image. We decided to release this application as open source so you can create visualizations with your own data.

Solving Business Problems

Since social media is all the rage, let's use this new application to help Avinash Kaushik, our Analytics Evangelist, measure "engagement" on his popular Occam's Razor blog. We also wanted to determine if the time he spends participating in social media sites is valuable and sends new readers to his blog.

First we created segments to pull all the referrals from Facebook and Twitter. Second, we chose five calculations and corresponding metrics to compare the performance of these two segments. We then compared the segments to each other and, for context, for all the visits to the site as a control.

They say a picture is worth a thousand words, here are the results:
Let's Analyze

Some interesting observations become apparent.
The bottom line? Even though social networking sites are all the rage, they actually contribute very little to Avinash's blog. If this blog were a company, it would be wise to ensure the time and effort put into driving traffic from social media is proportionate to the actual volume of traffic and goal conversions from those sites.

Hopefully this example shows how powerful our new features can be.

If you're interested in running this report against your own data, the application is free and open sourced. Additionally, we made it really easy to change the metrics, segments, calculations and all the other visual properties to power your own visualizations. Download it here and give it a whirl, we would love to hear your feedback.


06:48 浏览器窗口可视幅面尺寸比例统计(来自GoogleLabs) » Uploads from 车东@FlickR

车东@FlickR posted a photo:

浏览器窗口可视幅面尺寸比例统计(来自GoogleLabs)

browsersize.googlelabs.com/
各种幅面的显示屏中:
虽然800*600像素显示屏比例不到1%,但5%的机器浏览器只展开到800像素宽;
首屏高度是稀缺资源:95%的机器首屏只能看到450像素以下;


^==Back Home: www.chedong.com

^==Back Digest Home: www.chedong.com/digest/

<== 2009-12-16
  十二月 2009  
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
==> 2009-12-18