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