Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google analytics API C# [closed]

I'm currently implementing a pageview counter on some webpages using the Google Analytics API. I'm having a hard time figuring out how to use the Google API. Could someone post some examples how to use the API?

I searched the mighty internet but I didn't found any tutorials who guided me through the API.

Any help would be greatly appreciated!

Thijs

like image 428
Thijs Avatar asked Oct 18 '11 08:10

Thijs


People also ask

Is there any API for Google Analytics?

Introduction. The Google Analytics Reporting API v4 provides programmatic methods to access report data in Google Analytics (Universal Analytics properties only). With the Google Analytics Reporting API, you can: Build custom dashboards to display Google Analytics data.

Is Google Analytics API free?

Basic Google Analytics is free and Google is trying to keep people from abusing it and steer heavy users to its premium service.

Where is my Google Analytics API?

For information on the Analytics APIs, refer to https://developers.google.com/analytics/.


1 Answers

I would not use the GData Apis suggested by Haythem, as Google has release a new breed of Apis (Google Api Explorer), you can see the entry for Google Analytics.

I assume as they have released a new way of doing things they will at some stage turn off the GData Apis so if you are building a new application I would build against the new API not the old GData Api.

There is a good introduction to using the Google Analytics at http://code.google.com/apis/analytics/docs/mgmt/v3/mgmtGettingStarted.html there is also a page with links to Examples and Libraries for using the Analytics Api.

like image 79
David Waters Avatar answered Sep 17 '22 12:09

David Waters