fixed version variable for analytics

pull/2/head
Keivan Beigi 10 years ago
parent 97370cc8b3
commit d34a170214

@ -31,7 +31,7 @@ define(
var piwik = window.Piwik.getTracker('http://piwik.nzbdrone.com/piwik.php', 1);
piwik.setReferrerUrl('');
piwik.setCustomUrl('http://local' + window.location.pathname);
piwik.setCustomVariable(1, 'version', window.NzbDrone.version, 'page');
piwik.setCustomVariable(1, 'version', window.NzbDrone.Version, 'page');
piwik.trackPageView(title);
}
catch (e){

Loading…
Cancel
Save