Google Analytics API Script

We require a PHP based script to work within an existing site that will allow us to check different user's Google analytics figures. It should do the following

1) When the user visits a url on our site, ask them to connect their Google Analytics account to allow access (via OAuth)

2) Ask them to choose a profile within their GA account

I would like the following data, on a month by month basis going back 12 months:

a) For each Traffic Source that has contributed more than 10% of the monthly total traffic, I would like to know

i) The name of the source (e.g. [url removed, login to view] - Organic / [url removed, login to view] - Referral)

ii) How many unique visits for that month

iii) How many page views for that month

iv) Ave Time on site for that month

v) Ave bounce rate for that month

b) The same five pieces of data above but for the entire site for that month (i.e. all traffic sources)

c) All the hostnames listed for that month ("Audience" -> "Technology" -> "Network" -> "hostname")

The script should return each section of data as an array. I will take care of storing the data myself but for the purpose of testing, I would like the data dumped to the screen (just via print_r or var_dump).

I'm hoping that if you are bidding on this project, then you already know there is a class for accessing Google Analytics API that's fairly straightforward to use.

When you bid, please include the name of the company who own Analytics to show me you've read this through and it's not a template bid.

Ideally, I would like the function supplied as a class and a php script but I'm welcome to better suggestions. The script will also live on a VPS so it's possible to modify certain [url removed, login to view] settings, or add php extensions if required but I doubt it should be. I will need to see a test version working first, so you must have a test server you can run this on and your own analytics account to test it with.

Thanks for reading.

Skills: Google Analytics, PayPal API, PHP

See more: google analytics script, php google analytics api, google analytics script php, read data google analytics api php, google analytics php, connect your care, array template, paypal profile, paypal account settings, paypal account profile, google traffic api, google analytics profile, api analytics, google analytics api, api testing, analytics php api, traffic referral, live connect api php, based google api, google test analytics, php server api, paypal script api php, rate page script php, google api suggestions, month api

About the Employer:
( 160 reviews ) Cairo, Egypt

Project ID: #4914100

8 freelancers are bidding on average $411 for this job


Analytics is owned by Google Inc. We can discuss more if you like.

$773 USD in 7 days
(107 Reviews)

i can do this using OAuth see my recent work regarding api and web-services related project. For UI see PMB i can use it if you are interested.

$572 USD in 15 days
(56 Reviews)

Hello Sir, I am from Confianza Technologies. I have gone through your requirements. We have developers who have vast experience in required technologies. We are interested in your project, but before finalizing budget More

$500 USD in 12 days
(37 Reviews)

Google owns Analytics :) I am ready to start now. Please check private message for more details.

$368 USD in 7 days
(22 Reviews)

can do it with great ease

$144 USD in 3 days
(5 Reviews)

We are professional eCommerce website developers with 10+ years experience. kindly check your personal messages for more details and offers, and please feel free to contact us with any queries.

$421 USD in 10 days
(2 Reviews)

Hi, Veltrod Software services is a global software consulting company specialized in providing Mobile applications, Social media frameworks and eCommerce solutions. Leveraging best-in-class people, processes, and t More

$206 USD in 25 days
(2 Reviews)

Hello, If you want your project to be handled by true SEO experts, It's worthwhile to check our private message. Please check and let us know. Thanks Sachin

$249 USD in 21 days
(0 Reviews)

Hi, My Team is expert with huge expertise in CSS, HTML, PHP, Magento, Drupal, Wordpress. We are ready to start your work. We Already did 600+ successful projects here. As I understand this project minimum take appr More

$200 USD in 4 days
(0 Reviews)