API Python Client Library Updated
Last Updated on Thursday, 17 December 2009 04:19 Written by TheAutomator Thursday, 17 December 2009 04:02
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:
Some interesting observations become apparent.
- Far more visits originate from Twitter (3.6x) when compared to Facebook, perhaps not surprising given Avinash's Twitter followers (~16,120)
- Visitors from Twitter tend to be new visitors, a good thing, but they view fewer pages and spend significantly less time on the blog.
- On the other hand Facebook delivers an audience that is loyal. These visitors come back to the site more often and spend a significant time on the blog (compared to Twitter and all other visitors).
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.
Posted under Analytics API | No Comments
New Google Analytics API Features
Last Updated on Monday, 14 December 2009 05:47 Written by TheAutomator Monday, 14 December 2009 05:17
Over the past few months we've received a lot of great feedback from our developers about what they wanted to see in the Google Analytics API, and it included adding access to Google Analytics newest and most powerful features, such as advanced segments, custom variables and more. Today we want to let you know about improvements to the Google Analytics Data Export API, including the following highlights (all the details of this release can be found on our public changelog and public notify group):Support for Advanced Segments
With advanced segmentation, you can look beyond your aggregated data and peer into the nuances of traffic and visitor activity on your site. For example, the average time on site for all visits could be 60 seconds, but when you segment by country, you might learn that average time on site of visits from Germany is over 2 minutes.
We've added two new ways to use advanced segments through the API:
- Create them on the fly by specifying their expression directly through an API query.
- Use advanced segments created in the Google Analytics web interface through the API.
Goal 5-20 and Configuration Data
With the recent Google Analytics launch enabling up to 20 goals, many of you asked for access to this valuable data. Good call! So now, you can access 48 new metrics around goal performance. We've also added all the goal configuration data, including name, type, and step names for each profile.
Take a look at this video describing how to work with goal configuration data in the API.
Custom Variables
Custom variables are powerful new ways to describe visitors, visits and pages within Google Analytics. In this new release, we've added 10 new dimensions to access custom variable data. In addition, every custom variable that you've used is now available through the Account Feed.
We've updated all our documentatation at http://code.google.com/apis/analytics. Please continue to give us feedback to improve our product through our public google group. We can't wait to see the new apps that come from developers using this data. We're hoping that you spend your holiday tinkering with it :-)
Enjoy!
Posted under Analytics API | No Comments
Depth and Discovery: Powering Visualizations with the Google Analytics API
Last Updated on Thursday, 19 November 2009 11:00 Written by TheAutomator Thursday, 19 November 2009 11:00
We're always really excited to see what developers are building with Google Analytics. Here's an amazing visualization using the API from our friends at Juice Analytics. Now, this is what we're talking about when we say this stuff is "Off the charts!" (The API team t-shirt slogan). :-)
At Juice, we work with web analytics APIs large and small, from Google, comScore and Omniture. The Google Analytics API is our favorite. It powers the world's best, most widely deployed analytics site. And it powers Juice products like Concentrate (innovative search analytics) and Vasco de Gapi (a tool for exploring the Google Analytics API).
We were approached by the Google Analytics API team to explore new ways of looking at data with the API, and we were excited by the possibilities. We've been working on our own visualization framework, JuiceKit, that integrates the power of the Flare Visualization Library with Adobe Flex.
The result is Analytics Visualizations, two visualizations powered by the Google Analytics API that are free to use. You just need a Google account with access to Google Analytics data to explore your own data. Here are the details about the visualizations, called Referrer Flow and Keyword Tree.
Referrer Flow
Curious about what sites are linking to you and what content is benefitting the most? The Referrer Flow visualization answers those question and shows how results change over time. It's a stream of daily treemaps showing pageviews and bounce rates for various groupings of your website's pages. You can group by combinations of page title, referrer and url.
Referrer Flow
Curious about what sites are linking to you and what content is benefitting the most? The Referrer Flow visualization answers those question and shows how results change over time. It's a stream of daily treemaps showing pageviews and bounce rates for various groupings of your website's pages. You can group by combinations of page title, referrer and url. Here is a brief video introduction:
Clicking on the treemap will filter all the data by the page, referrer or url that you clicked on. Click again to clear your filter.
Keyword Tree
A list of top keywords isn't enough to really understand how people are searching and finding your site. The Keyword Tree visualization displays the most frequently used search keywords and how they are used together. Here's a video overview:
You'll see a frequently used search term at the center and the words and phrases that are most often used in combination with that word. Pick a different starting word by typing into the box in the upper right or selecting from the top word across the bottom of the screen. The words are sized by their frequency of use and colored by bounce rate (or % new visitors or average time on site). Roll over a word to see details about that combination of connected words.
A list of top keywords isn't enough to really understand how people are searching and finding your site. The Keyword Tree visualization displays the most frequently used search keywords and how they are used together. Here's a video overview:
You'll see a frequently used search term at the center and the words and phrases that are most often used in combination with that word. Pick a different starting word by typing into the box in the upper right or selecting from the top word across the bottom of the screen. The words are sized by their frequency of use and colored by bounce rate (or % new visitors or average time on site). Roll over a word to see details about that combination of connected words.
Depth and Discovery
In designing these visualizations we focused on the question: how can we let users uncover the unexpected? That means designing targeted visualizations focused on limited well-defined issues. The Referrer Flow monomaniacally focuses on a single question "What pages are people viewing on your site and where are they coming from?" The Keyword Tree is laser-focused on word ordering and what that means for keyword performance.
The Google Analytics reporting tool is a great general-purpose reporting solution. It gives the advanced users everything they need to answer specific questions. However, its generality means it has limited ability to focus on two issues; depth and discovery.
The Google Analytics API is Google's solution to this problem. It's an opportunity both for businesses like ours that can create new ways of analyzing data, and for large sites that can use the API for integration, custom analytics, and more.
Thanks, Juice! We continue to be impressed by the new solutions developers are bringing to market by leveraging the Google Analytics Platform. If you have developed a useful new tool or integration on top of Google Analytics, drop us an email at analytics-api@google.com. If it's innovative and useful we'll highlight it to our readers on this blog.
Posted under Analytics API | No Comments
Main Menu
Site Search
Tags
Categories
- Affiliate Marketing
- Analytics
- Analytics API
- Announcements
- Apple
- Bing
- Blogging
- CMS
- Code and Configuration
- Drupal
- Email Marketing
- Google Analytics
- HOliday trends
- honest SEO
- insights
- keywords
- marketing
- Microsoft
- products
- Related Products
- Search Engine Marketing
- Search Engine Strategies
- Search Engines
- SEO
- SEO Spam
- social media
- Social Search
- Training and Events
- Twitter Topics
- Typos
- Uncategorized
- Videos
- Web Analytics
- Web Design
- Web/Tech
- Weblogs
- Yahoo

