11 years agoChanging the download url for csv
Ross Jones []
Changing the download url for csv

11 years agoMinor change to sidebar
Ross Jones []
Minor change to sidebar

11 years agoRemoving cruft
Ross Jones []
Removing cruft

11 years agoDebugging
Ross Jones []
Debugging

11 years agoreordering maps
Ross Jones []
reordering maps

11 years agoFix to date fetching
Ross Jones []
Fix to date fetching

11 years agoUncommenting needed code
Ross Jones []
Uncommenting needed code

11 years agoTemplate fix
Ross Jones []
Template fix

11 years agoMinor template tweaks
Ross Jones []
Minor template tweaks

11 years agoFixing setup
Ross Jones []
Fixing setup

11 years agoFixing a typo in the instructions
Ross Jones []
Fixing a typo in the instructions

11 years agoReinstating a sidebar with related info.
Ross Jones []
Reinstating a sidebar with related info.

11 years agoAdding site analytics at /data/analytics
Ross Jones []
Adding site analytics at /data/analytics

- Allows for download as CSV
- Also refactored the publisher urls to allow index page and a read for a specific publisher

11 years agoRemembered to actually limit to the top 10
Ross Jones []
Remembered to actually limit to the top 10

11 years agoProvides a top-10 most viewed datasets.
Ross Jones []
Provides a top-10 most viewed datasets.

11 years agoFixing up setup.py and making sure routes exist for site and publisher reports
Ross Jones []
Fixing up setup.py and making sure routes exist for site and publisher reports

11 years agoFixed the publishr information (to enable leaderboard) to show the number
Ross Jones []
Fixed the publishr information (to enable leaderboard) to show the number
of children publishers and the total for all sub-publishers

11 years agoImplemented further analytics by fetching more specific items.
Ross Jones []
Implemented further analytics by fetching more specific items.

Now fetches:
[x] Pages per visit
[x] Average visit duration
[x] % new visits
[x] Bounce rate
[x] Browser distribution
[x] IE version distribution (can work out from Browser stats)
[x] OS distribution
[x] Language distribution
[x] Location distribution
[x] Mobile device distribution
[x] Top twitter referrals

11 years agoRemoved some unused commented out code
Ross Jones []
Removed some unused commented out code

11 years agoRemove prettyprinting unless DEBUG is set in env and add a new
Ross Jones []
Remove prettyprinting unless DEBUG is set in env and add a new
test for actually making the calls.

11 years agoAdds new columns to the table to store the relevant organisation, but also
Ross Jones []
Adds new columns to the table to store the relevant organisation, but also
allows for the metric/value to be stored so that it can eventually contain
different metrics than the default

11 years agoPackages up the data from Analytics.
Ross Jones []
Packages up the data from Analytics.

- Makes sure we get the right account by requiring a new googleanalytics.account
config option which will be used to look up the correct account details.

- Changed the model to use the sqlalchemy orm and made sure it does the updates correctly.

- Still need to collect further info (such as the group details)

11 years agoflake8
Ross Jones []
flake8

11 years agoCommented the code in ga_auth
Ross Jones []
Commented the code in ga_auth

11 years agoMinor documentation update
Ross Jones []
Minor documentation update

11 years agoMinor RST error
Ross Jones []
Minor RST error

11 years agoImplement oauth2 for accessing google analytics
Ross Jones []
Implement oauth2 for accessing google analytics

- Provided a command (getauthtoken) to go through the auth flow and have
the user's oauth credentials written to local disk.
- Make sure loadanalytics command uses the token file to authenticate on
the request
- Added documentation on how to get the credentials (from google) to allow
for the oauth2 flow.
- Added google-api-client to the requirements

11 years agoInitial iteration
David Read []
Initial iteration

11 years agoInitial commit
David Read []
Initial commit