Hello, I know that there is no official API for Google Analytics but maybe someone has figured out a way to access Google Analytics Reports with C#?

Thank you in advance!


This guy has had some success with at least some light Analytics integration. Now I realize this isn't exactly what you're looking for, but he does mention a book and perhaps you can get in touch with him.

+3  A: 

I emailed them asking this same question a while back and here's the response I got:


Thank you for your email. I apologize for the delay in replying to your email. Google Analytics does not currently provide an API to access the reporting data. However, we do offer export functionality for single reports in the following formats:

  • PDF
  • Tab separated value (TSV)
  • XML
  • Excel (CSV)

This feature allows you to easily import report data into your favorite spreadsheet application or to process the data otherwise.

Additionally, we're unable to provide support for custom implementations of Google Analytics. For this level of support, you can contact one of our highly qualified Google Analytics Authorized Consultants for assistance with advanced needs. These partners deliver a number of professional services such as installation support, training, and advanced filter and e-commerce configurations.

For a complete list of our worldwide partners and a more detailed description of the services they offer, please go to

For additional questions, please visit the Analytics Help Center at You can also find helpful tips and information by visiting the Google Analytics Help Forum at



Analytics Support

For the latest updates as well as some helpful tips on Google Analytics, check out the Google Analytics blog at

James D
+8  A: 

Update: Google launched a Google Analytics API today. Google Analytics Blog - API Launched

Michael Johnson
+2  A: 

I wrote a small project that lets you generate pretty much any Analytics report. It's listed on Google's Analytics API page -

You can read about it here and get the source code -

The source code here was very helpful. Thanks, Jacob!
James Lawruk
Great starting point - thank you very much
+1  A: 

I have a completed library for called GoogleAnalytics.Net that allows you to fire page views/events/transactions from within .net code.

You can download the library from it's project home page: