ckanext-googleanalytics
ckanext-googleanalytics copied to clipboard
GA resource download tracking - not all links are handled
Resource page shows links to resource in two places, but only one link is handled by GA event tracking. The problem is that link is less visible and untracked link is more likely to be clicked by user:

The other link is not handled because css selector looks for resource-url-analytics class, which is not present in second link. One way would be to use
Also, dataset view has resource link, which is not handled:

Checked with CKAN 2.6 and master branch of extension