ckan / ckan/ckanext-googleanalytics

API tracking: missing dataset id in api calls

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

Description

Event tracking which is added to API calls doesn't extract package id correctly, leaving no label in GA:

![image](https://user-images.githubusercontent.com/116021/46160635-8ef93080-c283-11e8-85cb-51c5af964af3.png)

This can be fixed by extending https://github.com/ckan/ckanext-googleanalytics/blob/master/ckanext/googleanalytics/controller.py#L56 to check also for `name_or_id`.

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.