Completed

C# App // Retrieve Data from Google Analytics API

This project was successfully completed by JamielT for £150 GBP in 4 days.

Get free quotes for a project like this
Employer working
Completed by:
Project Budget
£20 - £250 GBP
Completed In
4 days
Total Bids
15
Project Description

We need a C# application creating to read data from Google Analytics API. We would like the application provided to us as a Visual Studio web project, with all calls to Google Analytics contained with a separate class file. All source code will be provided as part of the job, and any third party libraries you wish to use must be confirmed as acceptable (other than those provided by Google or Microsoft).

The calls to the API must be made with C# (not from Javascript) we are happy if these use JSON or whatever your preferred method of accessing the API is.

We need two functions:
The first will retrieve the Google Analytics accounts associated with a Google login, and the return the sites associated with each account. One Analytics login can access the analytics data for many website sites. We need this call to pass to the second routine.
If the username/password combination needs to change to an OpenAuth token or similar this is not a problem, but any authentication must be contained with the C# solution.

SitesCollection GetSites(string username, string password)

SitesCollection will be a collection of SiteObject
UA string – the UA code highlighted in the screenshot below
Account string – the name of the account
Site – the name of the site


The second will retrieve the ecommerce product sales associated with a web site over a defined period, including the campaign code. A SiteObject as defined above will be passed. A date range will be specified.
SalesCollection GetSales(SiteObject, StartDate, EndDate)
The SalesCollection will be a collection of SalesObjects which include:
Campaign
The Product (I’m assuming Analytics simply returns this as a string)
Revenue
Quantity

To be demonstrable the system must contain a simple webform, which allows the entry of a Google Login, selection of a sites associated with a Google Login, a date range, and then render sales into a simple GridView control. PDF attachment contains screenshots.

We will provide a Google Login with access to multiple accounts contains ecommerce sales data.

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