I need a PHP script which will do the following:
1) Ask me to Sign in with my Gmail Analytics Account.
2) Once I click I accept this script to have access to my Google Analytics :
- It shows a list with all my profiles under my google analytics account.
- All profiles get saved into a DB table.
- When I click on a profile I want to see (using dimensions & metrics of google analytics):
a) Pageviews Today
b) Views Today
b) Pageviews This Month
DB to be used: MySQL
That is all.