문제

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

도움이 되었습니까?

해결책

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.

다른 팁

First of all, you have to use GData api to gain access to your google account. Then with a bit of configuration you can access analytics of your site using the analytics api. You can refer to this article. http://bit.ly/pccJjO

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top