Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show Google Analytics dashboard on my site

Tags:

jquery

php

extjs

I have a PHP web site, i want to show google analytics on my admin section. I wish to use Jquery or extjs.

like image 661
user326096 Avatar asked Jan 13 '11 19:01

user326096


2 Answers

The first thing you've to know is that this is not possible. You need to use the GA API to get the data and then render it: http://code.google.com/intl/en/apis/analytics/docs/

More: Here you have a library in PHP to access easily to your GA data: http://code.google.com/p/gapi-google-analytics-php-interface/

like image 96
ipalaus Avatar answered Sep 23 '22 11:09

ipalaus


I do something similar using a 3rd party application called Reporting Suite and it works perfectly for me. I get my metrics in a image that is published in our admin application.

like image 20
Luis Avatar answered Sep 19 '22 11:09

Luis