11

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

Thijs
  • 2,705
  • 4
  • 27
  • 50

1 Answers1

10

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.

David Waters
  • 11,581
  • 7
  • 37
  • 74
  • This is a refinement of a answer previously deleted by moderator for not answering the question directly. Hopefully this go at it does a better job of answering the question. I'm not trying to take the mickey, I think this answer adds useful information, if community or moderators disagree I wont attempt to answer this again. – David Waters Nov 23 '11 at 21:39
  • Thank you, I will take a look at it. Thank you for your contribution. :) – Thijs Nov 24 '11 at 09:27