Google Analytics, the feature-rich website analytics tool, has been available for free to web developers since 2006. However, access to the service has been completely browser-based, limiting the ability for developers to create new reporting tools, widgets, or clients for mobile devices. After a long wait, the popular service has finally opened up now that Google has announced the availability of the Analytics Data Export API (our Google Analytics API profile).
As the Data Export API website describes:
Use the Google Analytics Data Export API to download Analytics data in the form of Google Data API feeds. With the Data Export API, you can embed a customized dashboard in your website to display the most commonly viewed or requested page statistics for all your reports users. Or, you can integrate your Google Analytics Data with other website data that you might be tracking in a separate system.
Like many other Google APIs, the Analytics Data Export API does not require developers to sign up for a separate key. The API provides per-session token based authorization using OAuth, Google’s AuthSub proxy, or a ClientLogin username-password combination through a POST request. Data is returned in standard XML syndication formats, allowing developers to utilize one of the many libraries designed to parse these formats. As Google’s Code Blog mentions:
“There are no complicated developer tokens, you only need to request an authentication token. Second the Analytics Export API is free and available for all Google Analytics users. The Analytics API is a GData API which is based on the Atom 1.0 and RSS 2.0 syndication formats. This is the same API protocol for Google Calendar, Finance and Webmaster Tools. If you’ve used any of these APIs in the past, the Analytics Export API will look very familiar to you.”
Once authenticated, the Data Export API allows read-only access to Analytics data through GET requests. Data can be filtered in many ways, including date range, country, AdWords Campaign, and much more. Google has also provided Data Export client libraries for Java, through the GData Java client library, and for JavaScript, in the GData Ajax API Loader.

Google Code’s Analytics page features links to several third party applications that use the Data Export API. Polaris, the first product from Desktop Reporting, is a cross platform desktop Google Analytics widget built using Adobe’s AIR environment (more at our Polaris profile). The Data Export API can also be used to create clients for on-the-go administrators to access data from their mobile devices. Analytics app company youcalc has created an embeddable Key Metrics Change web widget that’s designed to display well on the iPhone as a web app.
With the addition of this API and the new Google O3D API, there are now 50 Google APIs in our directory.





©ProgrammableWeb.com 2013. All rights reserved.
Terms of Service | Privacy Policy
39 Responses to “Google Analytics API Released – Now Get Your Web Site Metrics via Code”
at 9:47 pm
[...] Google Analytics API Released – Now Get Your Web Site Metrics via Code ProgramableWeb [...]
at 1:23 pm
[...] the Google Analytics API and the Google O3D API, both of which we reported on earlier this week (here on Google Analytics and here on Google O3D). The slick image editing service Aviary now offers an API, we’ve [...]
at 1:50 am
[...] Google Analytics API Released – Now Get Your Web Site Metrics via Code ProgramableWeb [...]
at 11:37 pm
syndication formats. This is the same API protocol for Google Calendar, Finance and Webmaster Tools. If you’ve used any of these APIs in the past, the Analytics Export API will look very
at 5:56 am
display the most commonly viewed or requested page statistics for all your reports users. Or, you can integrate your Google Analytics Data with other website data that you might be tracking in a separate system.
at 3:23 am
This is the same API protocol for Google Calendar, Finance and Webmaster Tools. If you’ve used any of these APIs in the past, the Analytics Export API will look very familiar to you.
at 5:58 am
ClientLogin usernam combination through a POST request. Data is returned in syndication formats, allowing developers to utilize one of the many
at 2:10 am
consistency has been fully explained in the article is quite descriptive writing and sharing parts of your post I want to share all liked it very much thanks
at 2:11 am
explained in this blog site is really impressive articles on a wide variety of subjects all the time thank you for existing unshared success will follow
at 2:11 am
and explanatory text has been narrated was a great wide thanks to everyone who contributed
at 11:36 pm
has been described has been impressive in terms of visual and descriptive about the site is always so difficult to find explanatory to people I know now I would recommend you all congratulations
at 11:36 pm
The topics discussed were very descriptive site Thank you all wish you continued success deserves praise
at 11:37 pm
Thank you, that your site is very tkileyici nice touch topics that up until a date and I congratulate you for the labor of a successful site
at 7:17 am
Google’s AuthSub proxy, or a ClientLogin username-password combination through a POST request. Data is returned in standard XML syndication formats, allowing developers to utilize one of the many
at 12:29 am
Everything is explained in detail relevant to the subject site is within the existing social networking sites I came across a very impressive skins and best regards I wish you continued success with your site, I found the opportunity to examine in detail…
at 12:39 am
mentioned issues have been following with interest your site contains very useful information indeed researching the net I found your site and saw that it has a very wide range of content and take care of yourself you wish you success in regards..
at 3:52 am
the quality is improving. However, a problem with machine translation
at 12:49 pm
Detonate a very powerful bomb, maybe even a nuclear bomb. The oil will no longer have a clear path to the surface and the leak will stop
at 7:04 am
then the book gives concrete examples of how to survive, which is why I recommend you read this book.” – Kazutomo Robert Hori, CEO – Cybird Japan
at 5:56 am
air travel, advertisingscience etc, where the tends to reflect about half of global spending of the given industry.
at 3:49 am
Toyota Yaris 2009 Dizel aracımız hurda belgeli olup istediğiniz parcayı isteyebilirsiniz
at 11:35 pm
Web stations and not charging terresrtial stations illegal? BTW, is it really true that terrestial stations pay nothing
The information covered in our articles on your site very useful and a level of success in continually trying to follow the threads from your site that I wish to continue..
at 9:37 pm
explained in this blog site is really impressive articles on a wide variety of subjects all the time thank you for existing unshared success will follow
at 6:41 am
explained in this blog site is really impressive articles on a wide variety of subjects all the time thank you for existing unshared success will follow
at 4:54 am
This is the same API protocol for Google Calendar, Finance and Webmaster Tools. If you’ve used any of these APIs in the past, the Analytics Export API will look very familiar to you
at 8:05 am
we actually have a carpet cleaning business, and that European countries are interested in just do not have a site related to the presentation of his work seo.
at 2:22 am
[...] Are Magazines Doomed, Too?A post from BuzzMachine about the future of magazine publishing. [...]
at 9:20 am
If you like Cn3D, I wrote a manual for using it to learn about DNA structre along with a lot of educational activities to go along with it.
at 3:49 am
XML syndication formats, allowing developers to utilize one of the many libraries designed to parse these formats
at 1:15 am
Web stations and not charging terresrtial stations illegal? BTW, is it really true that terrestial stations pay nothing
at 4:04 pm
When you adjust this gradient, start in the middle of the fold shape, hold Shift, and drag out to the bottom right of the fold at a 45 degree angle.
at 4:04 am
Please sign up for online Lottery Fun..http://bit.ly/qGaS3f ITS AWESOME GUYS…thanks
at 12:53 am
I like your site to my blog to a site that I am very happy Bylen
at 10:48 pm
blogs are very nice site, I like it.
at 3:03 am
you issues in this sense is obviously a very good site is full suits me very carefully, but with are more intensive follow-up will have mixed commentss and are you teacher mothers ?
at 6:14 am
Burada Seo halkları thanke. hause
at 11:52 am
Thanks
at 11:04 am
I loved as much as you will receive carried out right here.
The sketch is tasteful, your authored material stylish. nonetheless, you command get bought an impatience over that you wish be delivering the following.
unwell unquestionably come more formerly again as exactly the same nearly very often inside case you shield this hike.
at 11:33 pm
has been described has been impressive in terms of visual and descriptive about the site is always so difficult to find explanatory you issues in this sense is obviously a very good site is full suits me very carefully,