ckan / ckan/ckanext-googleanalytics

GA resource download tracking - not all links are handled

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36
Forks
84
PR merge metrics
No merged PRs in 30d

Description

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:

![image](https://user-images.githubusercontent.com/116021/46160074-23fb2a00-c282-11e8-803c-8c43f0e4d8b0.png)

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:

![image](https://user-images.githubusercontent.com/116021/46160053-1a71c200-c282-11e8-95cf-e85a02b26588.png)

Checked with CKAN 2.6 and master branch of extension

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.