Google Analytics on website using PHP

Hi experts,
I have looked at: http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html and got it to generate a report for me and it returns the results as an array, which is fine.

However what I am really after is a way to show the graphs used within Google Analytics on my website (in an admin section). I have looked into: http://www.askaboutphp.com/26/creating-google-graphs.html but I am not sure if this is the best method to get the results I need.

Could anyone advise the best method of showing analytics charts/data from my GA account on my admin page using PHP.
Picture-1.png
LVL 1
seraph_matrix_631Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ziyconCommented:
You can find details on how to achieve this at the following link, hope it helps: http://freshwebtrends.com/show-off-your-google-analytics-on-your-site/13/
0
seraph_matrix_631Author Commented:
The problem from what I can see from the link you sent over is that someone has to login to GA, and export the data to an xml file.

I am trying to do this to make it easier for us to view our Google Analytics data without having to login to GA, instead we only have to login to our site and we have all the information we need.

I have since found a way to get data and manipulate the data from the GA account, but the chart link shown above isn't customizable.

Do you know of any charting apps that I can include on my site to show the stats in the same (or very similar) way to GA?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ziyconCommented:
I'm not sure what you're trying to do is currently possible with GA, have a read on the link below, its the only way I can see to do similar to what you want: http://code.google.com/intl/en-US/apis/analytics/docs/gdata/gdataDeveloperGuide.html
0
seraph_matrix_631Author Commented:
That's not really what I was after. I tried to use it earlier and it would not work.
When I went to login to try it out it would redirect me to the page saying 'http:// .....' wants to access your account do you give permission. I clicked accept an it asked me to login. I clicked to login and it would redirect to the previous page, rendering the potential solution invalid.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.