Google Analytics Access with C#

2019-02-08 11:51发布

I know that there is no official API for Google Analytics but is there a way to access Google Analytics Reports with C#?

9条回答
虎瘦雄心在
2楼-- · 2019-02-08 12:21

Google has created there own client lib Google APIs Client Library for .NET which allows for access to most of the Google Apis using dotnet.

Then can be found on nuget

查看更多
Deceive 欺骗
3楼-- · 2019-02-08 12:30

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.

查看更多
戒情不戒烟
4楼-- · 2019-02-08 12:33

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

查看更多
一夜七次
5楼-- · 2019-02-08 12:36

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

Hello,

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 http://www.google.com/analytics/support_partner_provided.html

For additional questions, please visit the Analytics Help Center at http://www.google.com/support/googleanalytics/?utm_id=tf. You can also find helpful tips and information by visiting the Google Analytics Help Forum at http://groups.google.com/group/analytics-help?utm_id=tr.

Sincerely,

[snip]

Analytics Support


For the latest updates as well as some helpful tips on Google Analytics, check out the Google Analytics blog at http://analytics.blogspot.com


查看更多
\"骚年 ilove
6楼-- · 2019-02-08 12:37

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:

http://www.diaryofaninja.com/projects/details/ga-dot-net

查看更多
登录 后发表回答