10 years agoChange bounce calculation to use visitBounceRate rather than calculated
Ross Jones []
Change bounce calculation to use visitBounceRate rather than calculated

10 years agoUpdated count of deleted records
Ross Jones []
Updated count of deleted records

10 years agoTypoe
Ross Jones []
Typoe

10 years agoMinor tweak to see what is going on with delete()
Ross Jones []
Minor tweak to see what is going on with delete()

10 years agoUpdated with more logging
Ross Jones []
Updated with more logging

10 years agoFixing two bugs in one, making sure All are deleted as well as period and fixing a string concat problem
Ross Jones []
Fixing two bugs in one, making sure All are deleted as well as period and fixing a string concat problem

10 years agoModified model for delete() to check != 'All' instead of 'all'
Ross Jones []
Modified model for delete() to check != 'All' instead of 'all'

10 years agoTemplate fix for broken publisher links
Ross Jones []
Template fix for broken publisher links

10 years agoReverted previous change - I found a better way to do the css in DGU.
David Read []
Reverted previous change - I found a better way to do the css in DGU.

10 years agoAdd in <hr> to box titles, in line with DGU style change
David Read []
Add in <hr> to box titles, in line with DGU style change

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

10 years agoAvoid problem when testing.
David Read []
Avoid problem when testing.

10 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

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

10 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

10 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.

10 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.

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

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

10 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

10 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.

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

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

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

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

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

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

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

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

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

10 years agomerge
David Read []
merge

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

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

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

10 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.

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

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

10 years agomerge
David Read []
merge

10 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.

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

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

10 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

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

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

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

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

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

10 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

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

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

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

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

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

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

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

10 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

10 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

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

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

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

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

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

10 years agoTidying up
Ross Jones []
Tidying up

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

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

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

10 years agoRemoving cruft
Ross Jones []
Removing cruft

10 years agoDebugging
Ross Jones []
Debugging

10 years agoreordering maps
Ross Jones []
reordering maps

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

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

10 years agoTemplate fix
Ross Jones []
Template fix

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

10 years agoFixing setup
Ross Jones []
Fixing setup

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

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

10 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

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

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

10 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

10 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

10 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

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

10 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.

10 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

10 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)

10 years agoflake8
Ross Jones []
flake8

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

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

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

10 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

10 years agoInitial iteration
David Read []
Initial iteration

10 years agoInitial commit
David Read []
Initial commit