ckan / ckanext-googleanalytics

CKAN extension to integrate Google Analytics data into CKAN. Gives download stats on package pages, list of most popular packages, etc.
GNU Affero General Public License v3.0
35 stars 81 forks source link

Allow configurable value for recent view days when getting data from Google Analytics API #61

Closed MarkCalvert closed 3 years ago

MarkCalvert commented 3 years ago

Currently, when getting data from Google Analytics API via paster loadanalytics or ckan googleanalytics load it stores stats in tracking_summary.recent_views, package_stats.visits_recently and resource_stats.visits_recently from the last 14 days of views/visits.

Allow customization of this to be configurable per site via a CKAN configurable value. eg. 30 days