Google Analytics Key Numbers Script

I need a quick example PHP script that displays the following stats from google analytics via the API

Total Visits for last 30 days
Total Unique Visits for last 30 days
Total unique visits viewing more than 1 page
Total visits who visited either my contact us or about us page * You can use two pages of your choosing to demo the script.

The script just needs to have some configuration at the top and echo the stats above.

Should be a nice simple job for anyone knowing the Google API.

Leave a Reply

Your email address will not be published. Required fields are marked *