Closed

Google Analytics API Script

This project received 9 bids from talented freelancers with an average bid price of $381 USD.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
$30 - $250 USD
Total Bids
9
Project Description

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.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online