I have a PHP web site, i want to show google analytics on my admin section. I wish to use Jquery or extjs.
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:
Here you have a library in PHP to access easily to your GA data: http://code.google.com/p/gapi-google-analytics-php-interface/
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.
If you don’t mind using a 3rd party service check out EmbeddedAnalytics. No programming necessary. It uses the Google Analytics API. All you do is define your chart and embed a snippet of code embedded in an iframe tag.
(disclosure: this is a service I have developed).
You can embed Google Analytics to your webpage using Analytics Embed API, here’s a link to the guide by Google.
Using the sample code on the website will help you create a Access Google Analytics button on your page, logging in with which your dashboard is embedded to your webpage.
the api have change and now, this is the documentation for that.
Google Analytics api embed charts own panel