使用Codeigniter PHP在我的管理面板中显示Google Analytics数据的最佳API? [英] Best API to display Google Analytics data in my Admin panel with Codeigniter PHP?
问题描述
我只想在我的管理员中使用jQuery显示一些不错的图表,包括每天访问次数,访问次数最多的页面等。我不想存储我的数据库中的访问数据是Google Analytics中的访问数据,因此完美:)
查看 gapi-google-analytics-php-interface 。代码中有许多应该对你有用的例子。
代码有一段时间没有更新,所以你应该阅读此错误关于在源代码内更新哪些URL。
There are a lot of results on Google for this, but most of them are old more than an year.
I simply want to display some nice charts with jQuery in my admin with visits per day, most visited pages with number of visits, etc. I don't want to store the data for the visits in my database, the one at Google Analytics is perfect :)
Have a look at gapi-google-analytics-php-interface. The code has many examples which should be useful for you.
The code has not been updated in a while, so you should read this bug about what URLs to update inside the source code.
这篇关于使用Codeigniter PHP在我的管理面板中显示Google Analytics数据的最佳API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!