user326096
user326096

Reputation: 307

Show Google Analytics dashboard on my site

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

Upvotes: 7

Views: 14492

Answers (5)

singhssaransh
singhssaransh

Reputation: 21

You can embed Google Analytics to your webpage using Analytics Embed API, here's a link to the guide by Google.

Embed API Link

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.

Upvotes: 2

Mike Brian Olivera
Mike Brian Olivera

Reputation: 1601

the api have change and now, this is the documentation for that. Google Analytics api embed charts own panel

Upvotes: 0

Luis
Luis

Reputation: 31

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.

Upvotes: 3

M Schenkel
M Schenkel

Reputation: 6364

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

Upvotes: 1

ipalaus
ipalaus

Reputation: 2273

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/

Upvotes: 12

Related Questions