11 years agoMake sure that the url normalization for social info takes the correct data
Ross Jones []
Make sure that the url normalization for social info takes the correct data

11 years agoMake sure clicking publishers carries the current month across
Ross Jones []
Make sure clicking publishers carries the current month across

11 years agoChange the entry for the current month to include the date that reports are available to.
Ross Jones []
Change the entry for the current month to include the date that reports are available to.

- Requires a migration
alter table ga_stat add column period_complete_day text;
- Makes sure that GA_Stat entries have the period_complete_day set
- Cleans up the template and moves the drop-down to the util template

11 years agoToken is now referenced in the config, making it easier for the gov_daily script to kick off downloads.
David Read []
Token is now referenced in the config, making it easier for the gov_daily script to kick off downloads.

11 years agoAdjust popularity score to take account of number of days in the month.
David Read []
Adjust popularity score to take account of number of days in the month.

11 years agoActually returning the score instead of 0
Ross Jones []
Actually returning the score instead of 0

11 years agoMerge branch 'master' of github.com:datagovuk/ckanext-ga-report
Ross Jones []
Merge branch 'master' of github.com:datagovuk/ckanext-ga-report

11 years agoAdded new method to get a recent score for a dataset
Ross Jones []
Added new method to get a recent score for a dataset

11 years agoSort the dataset report by views, since we only display that now.
David Read []
Sort the dataset report by views, since we only display that now.

11 years agoChanges to fix some issues around bounces and presentation
Ross Jones []
Changes to fix some issues around bounces and presentation

11 years agoFixed merge conflict
Ross Jones []
Fixed merge conflict

11 years agoChanged to pageviews instead of unique pageviews
Ross Jones []
Changed to pageviews instead of unique pageviews

11 years agoImproved bounce rate stuff.
David Read []
Improved bounce rate stuff.

11 years agoMerge branch 'master' of github.com:datagovuk/ckanext-ga-report
David Read []
Merge branch 'master' of github.com:datagovuk/ckanext-ga-report

11 years agoFix display of publisher in Featured Dataset.
David Read []
Fix display of publisher in Featured Dataset.

11 years agoChecking for duplicate "All" stats
Ross Jones []
Checking for duplicate "All" stats

11 years agoMerge branch 'master' of github.com:datagovuk/ckanext-ga-report
Ross Jones []
Merge branch 'master' of github.com:datagovuk/ckanext-ga-report

11 years agoHandling duplicate urls in ga_url processing
Ross Jones []
Handling duplicate urls in ga_url processing

11 years agomerge
David Read []
merge

11 years agoTidy logging.
David Read []
Tidy logging.

11 years agoMerge branch 'master' of github.com:datagovuk/ckanext-ga-report
Ross Jones []
Merge branch 'master' of github.com:datagovuk/ckanext-ga-report

11 years agoChanges to tidy up the handling of all months;
Ross Jones []
Changes to tidy up the handling of all months;

11 years agosingle_popular_dataset now returns a dataset dict which is what is needed by DGU.
David Read []
single_popular_dataset now returns a dataset dict which is what is needed by DGU.

11 years agoFixes to index for publishers
Ross Jones []
Fixes to index for publishers

11 years agoModified to collect visit instead of visitors.
Ross Jones []
Modified to collect visit instead of visitors.

11 years agomerge
David Read []
merge

11 years agoShow 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.
David Read []
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.

11 years agoChanges to support % of bounces from /
Ross Jones []
Changes to support % of bounces from /

11 years agoNew single entry random dataset helper
Ross Jones []
New single entry random dataset helper

11 years agoAdded support for a popular datasets widget.
Ross Jones []
Added support for a popular datasets widget.

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

11 years agoRemoving unused file
Ross Jones []
Removing unused file

11 years agoChanged the icons in the minor nav to simpler icons
Ross Jones []
Changed the icons in the minor nav to simpler icons

11 years agoAdding back a link to the publisher
Ross Jones []
Adding back a link to the publisher

11 years agoRename of all time to all months
Ross Jones []
Rename of all time to all months

11 years agoAdding new social network referral information
Ross Jones []
Adding new social network referral information

11 years agoChanges related to presentation, and new tabs.
Ross Jones []
Changes related to presentation, and new tabs.

- Changed nearly all values to percentages of the total
- Added non-version info for OS and browsers
- Made tabs into dropdowns for Browser/OS

11 years agoRemove unnecessary footnote marker (*)
Ross Jones []
Remove unnecessary footnote marker (*)

11 years agoMade sure the csv is served as an attachment
Ross Jones []
Made sure the csv is served as an attachment

11 years agoChanges to enable proper download
Ross Jones []
Changes to enable proper download

11 years agoMoved minor nav into util file and implemented
Ross Jones []
Moved minor nav into util file and implemented

11 years agoFixes to show All Time data
Ross Jones []
Fixes to show All Time data

11 years agoAdded a class for spacing to More link
Ross Jones []
Added a class for spacing to More link

11 years agoAdded a link to the publisher statistics
Ross Jones []
Added a link to the publisher statistics

11 years agoChanged to provide a lambda to check if the extension is installed
Ross Jones []
Changed to provide a lambda to check if the extension is installed

11 years agoAdded a helper for generating a list of all time popular datasets
Ross Jones []
Added a helper for generating a list of all time popular datasets

11 years agoNicer 404 message
Ross Jones []
Nicer 404 message

11 years agoMake sure we 404 for non-existent groups
Ross Jones []
Make sure we 404 for non-existent groups

11 years agoHuman readable times
Ross Jones []
Human readable times

11 years agoTrimming long float numbers
Ross Jones []
Trimming long float numbers

11 years agoChange the rules for top datasets
Ross Jones []
Change the rules for top datasets

11 years agoTidying up
Ross Jones []
Tidying up

11 years agoChanging the content disposition, just in case
Ross Jones []
Changing the content disposition, just in case

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