Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best API to display Google Analytics data in my Admin panel with Codeigniter PHP?

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 :)

like image 247
MarkC Avatar asked Mar 10 '26 12:03

MarkC


1 Answers

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.

like image 146
Tim Groeneveld Avatar answered Mar 12 '26 03:03

Tim Groeneveld