php: showing google analytics

Hello Experts,

I am trying to show basic google analytics information from my clients website in their basic CMS admin section...


Visitors today
Referring Sites

I have had a go at all the tutorials i can find but still cant get a php version to work... can someone a) tell me whether this is possible... and b) give me a very basic example of this

Many Many thanks in advance
from a very frustrated maccaj51

p.s. please be kind... i am not an expert myself
Who is Participating?
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.

Ray PaseurCommented:
Why not just go to the Google Analytics pages and see the information right there.  That is how I do it - no need to introduce another level of complexity.
If your question is about how to include the google analytics into a PHP based CMS like wordpress, you can use this simple tips from this post:

Summarily all you need to do is to copy the google analytics to the pages where you want the analytics. You may need to use a file that is common to all your site. E.g the footer.php.  That way any page called from your website (assuming all pages have the footer) will be included in the analytics. Otherwise you might want to copy the analytics into every page.

This should further give you more insight about it :

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
maccaj51Author Commented:
Thanks for your help!
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

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.