Show top datasets cross-publisher. Drop-down for the publisher. Browser version numbers filtered on download, so you get this version in the CSV too - for privacy. single_popular_dataset now copes when not much data, and can return the figures so DGU can reskin it in its own repo. Notes about usage stats centralised to notes.html.
The widget will look in the ga_publishers for the 30 top publishers
and then randomly choose one from that list to show the top 10 datasets
of all time
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
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
- 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)
- 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