diff --git a/analytics.js b/analytics.js index 03a178393..7dc8aed91 100644 --- a/analytics.js +++ b/analytics.js @@ -12,7 +12,7 @@ Analytics.prototype.sendEvent = function (action, data) { // empty label and add the value, the value should be integer or null - var value = parseInt(data); + var value = Math.round(parseFloat(data)); ga('send', 'event', 'jit.si', action, "", value ? value : null); };