Attention Developers: Google Analytics API Launched!

Tuesday, April 21, 2009 | 12:40 PM

Labels:

A Google Analytics API has long been one of our most widely anticipated features. Today we're pleased to announce that the Google Analytics Data Export API beta is now publicly available to all Analytics users!

What's so exciting about an API? The API will allow developers to extend Google Analytics in new and creative ways that benefit developers, organizations and end users. Large organizations and agencies now have a standardized platform for integrating Analytics data with their own business data. Developers can integrate Google Analytics into their existing products and create standalone applications that they sell. Users could see snapshots of their Analytics data in developer created dashboards and gadgets. Individuals and business owners will have opportunities to access their Google Analytics information in a variety of new ways.

For example, how would you like to access Google Analytics from your phone? Now you can, with this Android application from Actual Metrics. How about accessing Analytics from your desktop? It's here from Desktop-Reporting.  

And if you're interested in seeing how integrating Google Analytics can enhance your own business take a look at these examples. MailChimp has integrated Google Analytics into their email marketing  platform and ShufflePoint® provides a service for adding Google Analytics data into PowerPoint® presentations. See how youcalc has created apps that allow you to mashup Google Analytics, AdWords, Salesforce.com and other enterprise data. 

Check out more customer examples on our developer site. These apps demonstrate only some of the creative possibilities and we know you'll discover other interesting ways to use the Analytics API.  

So, how does the API work?  

The Data Export API is easy to use and provides read-only access to all your Analytics data.  Any data that's available through the standard Analytics web interface is available through the API. The Analytics API is a Google Data API. This is the same API protocol for Google Calendar, Finance and Webmaster Tools.  If you've used any of these APIs, the Google Analytics Data Export API will look very familiar to you. 

For the JavaScript and Java programming languages, we've provided client libraries to abstract and simplify the process. We're also working on supporting more programming languages. In the meantime, for any programming language you want to use you can make requests directly to the API over HTTP and access the data in XML.  

How do I get started? 

There are three key resources you'll want to use when you start developing on top of the Google Analytics API.  First, all the documentation you need can be found on our Developer site at Google Code. Here you'll find example code, a developer guide, FAQ, and the complete API reference. 

Second, be sure to sign up for the Google Analytics API Notify email group so you get the key announcements on feature updates, code changes and other service related news that relate to the API. (Don't worry, this will be a low-traffic email list and we promise to only send emails when there is something important that affects developers.)  

Finally, you'll want to become a part of the Google Analytics developer community by joining the Google Analytics APIs Group. This user forum is a great way to share ideas and get feedback from other developers. We also check in on these forums so let us know what you think about the API there, and share your ideas and your applications with us. We look forward to seeing your creativity!

Posted by Nick Mihailovski and the Google Analytics API Team 

51 comments:

Dem said...

First in to post a comment! :)

Great great! We've been waiting for these a long time ago! :)

Tristan Bailey said...

This is great news, and great work from the Google team. Thanks for the continued improvement to the service.

Max said...

great news from google analytics!

rmlins said...

Great Great !!!

Michael said...

Yipiee!!!

Just last week I was looking at work arounds which required interval emails sent to google groups as attachments, then using yahoo pipes to grab the info, format it, then spit it out, then building it into the website. It was retarded. I'm glad this is here!

André Scholten said...

I think this will be the biggest improvement voor Google Analytics ever, great work.

reuel said...

Great news! I've been waiting for this for a long long time!

edgar said...

Thx!

borismus said...

I hope that this is what the Ego developers are using for 1.3

Zach said...

Holy crap on a cracker this is great! I'm the quant at a mid sized company, this will be sooooooo useful!

Thank you Google
Thank you Google
Thank you, thank you, thank you.

Keep it up!!

MarketingBuzzer said...

Great choice!

GMelton said...

Check this one off my nice to have list! Awesome, can't wait to play around with some of this data.

Now, when can we expect the analytics package to work in realtime ;) Waiting 24 hours is somewhat of a drag. But since it's free I a'int complaining. Just say'in, you know?

Nice work,
greg

Harlley said...

Great news! And about Google Reader API? :)

airslash said...

nice work!

Matt said...

thats fantastic news!!! checking analytics from your phone, very cool. but the possibilities are endless - other programs and apps will start using their techbology too.

ayuer said...

Nice work, looking forward to see some evolutionary app come from this. It will be BIG!!

Saju Joseph said...

Good news for all Developers

Jesus Franco said...

Better late then never I suppose, but nothing to give them a pat on the back about. I'm sure they noticed a lot of users leaving for other services that do offer an API, for 3rd party developers.

Gavin said...

Hallelujah PRAISE the G-Lord!!!

I've just had a baby I'm so excited!!!!

Anthony Blears said...

Finally! This is great news.

Now as MarketingBuzzer said - real time stats would be fantastic. 24 hours is a long lag time.

Phil said...

I was waiting for Yahoo Indextools beat because they supported an API.

But looks like I might not need this now ;-)

Q. Does the $5,000 to $100,000 gadgets grant apply to the new Google Analyics API?
http://www.google.com/gadgetventures/

Phil

Jonathan Muszkat said...

Please check this link http://code.google.com/apis/analytics/docs/ it is broken and it is very important

congratulations.

omer72 said...

can you add a Flex example to login and capture data from Analytics?

Marco Bailetti said...

This is great! Can't wait to see the mashup apps that will soon follow...

Osus said...

In order to let Flash/Flex apps to use the new api, would it be possible to add to crossdomain.xml file on Google webserver a new node like:

<allow-http-request-headers-from domain="www.google.com" headers="Authorization"/>

This will help us to make RIA's with access to Analytics.

Thanks for all

Brian Katz said...

This is going to take GA - no WA - to the next level - no the next 3 levels !!!!

Scott Kingsley Clark said...

No PHP examples yet :(

jterhorst said...

Any way to use this to get access to the existing PDF or XML reports?

Ildar Samit said...

This is great news!! I guess it means we can really play with the data any way we want now.

Edu said...

This Google Analytics API was better:

http://www.hongkiat.com/blog/google-analytics-desktop-tool-running-adobe-air/

I liked more to be fullscreen and more functional... Moreover, you could had more than one account for free.

Ugo PARSI said...

Thank you !
What a long awaited feature !

Raghuvir said...

This is a really great news.

Brent Nau said...

Are we going to see a Free Google Analytics app for the iPhone?

Parisa said...

so many tools so little time :( just tell me how i can get more traffic on my domain aznoe.com that would save both of us more time google!

Tedsta said...

Finally the belly of the beast is exposed. There goes my social life...

Fedmich said...

this sure took a long time...
but am happy now that this is here.

Jeroen Reijn said...

Thanks! I've been waiting for this for quite some time :-)

lucas4u said...

this is great news,we see a Free Google Analytics application.Google Analytics API has long been one of our most widely anticipated features.

Arie Vandenberg said...

Google Analytics integration has also been added to ListRocket (www.listrocket.com), allowing you to automatically append all links within an email with custom GA vars to help track website traffic from email campaigns. It's pretty cool.

Mikhailov Anatoly said...

good news!
I'm going to implement google analytics info into my blog http://www.railsgeek.com

YopY said...

Win. We've had requests from our memberbase to be able to view analytics on the site itself, this might actually be a good step towards that end.

If only I had loads of free time, xD. If there's anyone with a lot of time, please make a Wordpress plugin. Pretty please. With a proverbial cherry on top.

Mark Red said...

And now the Excellent Analytics plugin -- an Excel plugin for Google Analytics -- has been released as a free open source project based on the API.

http://excellentanalytics.com/

Anjali Sen said...

You article is very good and interesting for me

[Kolkata]

Nazsaik said...

Gr8 Work yaar, Lucking much more like dis from u in the future...
Thank Yu Dude!
Suhanasoft

Baha said...

Google Analytics Apps You Can't Live Without Contest!

If interested in participating check out this link:

http://www.googleanalyticssupport.com/ga-user-conference-apps-contest/default.html

ForWest Inc. said...

Well Google Analytics is one of the best tool from, Google...
Very helpfull

Sospixs said...

I'm new for google api,
But i'm using google analytic for couple month.
It's work great.

Thomas said...

If you want to find accurate website analytics go to Gostats.com

the said...

Top website designing company in India, Nashik provding world class website design and solutions.
Nashik Website Designing, Nasik Webpage Design, Nashik Website Design, Nashik website company, SEO Company Nashik, Nashik Website Development Services

Press Section said...

Really a great news! Thanks Google for this service.

deniborin said...

thanks for sharing.. interesting article .. I like this article, because it related to my research

Karawang Business
Great Technology