fix typo
This commit is contained in:
parent
482d8e2ada
commit
f83664c98e
|
@ -8,7 +8,7 @@ this.ckan.module('google-analytics', function(jQuery, _) {
|
||||||
jQuery('a.resource-url-analytics').on('click', function() {
|
jQuery('a.resource-url-analytics').on('click', function() {
|
||||||
var resource_url = encodeURIComponent(jQuery(this).prop('href'));
|
var resource_url = encodeURIComponent(jQuery(this).prop('href'));
|
||||||
if (resource_url) {
|
if (resource_url) {
|
||||||
ga('send', 'event', 'Resource', 'Download', resource_url]);
|
ga('send', 'event', 'Resource', 'Download', resource_url);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue