Closed amercader closed 6 years ago
@amercader
Is ckanext-googleanalytics
not enough?
@roll IIRC correctly the "trending" thing came from an internal tracking CKAN feature. If ckanext-googleanalytics provides it great though. I'll double check.
@amercader
CKAN extension to integrate Google Analytics data into CKAN. Gives download stats on package pages, list of most popular packages, etc.
At least I thought that we were going to use it for something like this issue)
Also, run into this in the package_item
snippet:
{{ h.popular('recent views', package.tracking_summary.recent, min=10) if package.tracking_summary }}
@amercader I will start this one tomorrow morning if you don't mind. As I have nothing more to do until I sync with Sam or you
So ckanext-googleanalytics
doesn't seem support trending for ckan@2. So we have to follow this instruction - https://docs.ckan.org/en/2.8/maintaining/tracking.html
I'll handle it for now.
DONE
We can change the minimum datasets threshold in the admin for demonstration purposes:
Update tracking data:
deis run 'paster --plugin=ckan tracking --config=production.ini update 2018-10-01'
This involves adding the plugin and the background job that crushes the numbers. In terms of the UI, the little fire icon should be displayed in the dataset page (#111) and search results