This commit is contained in:
root 2014-07-24 22:58:40 +00:00
parent 482d8e2ada
commit f83664c98e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ this.ckan.module('google-analytics', function(jQuery, _) {
jQuery('a.resource-url-analytics').on('click', function() {
var resource_url = encodeURIComponent(jQuery(this).prop('href'));
if (resource_url) {
ga('send', 'event', 'Resource', 'Download', resource_url]);
ga('send', 'event', 'Resource', 'Download', resource_url);
}
});
}