fixed version variable for analytics

This commit is contained in:
Keivan Beigi 2014-09-27 19:27:13 -07:00
parent 97370cc8b3
commit d34a170214
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ define(
var piwik = window.Piwik.getTracker('http://piwik.nzbdrone.com/piwik.php', 1); var piwik = window.Piwik.getTracker('http://piwik.nzbdrone.com/piwik.php', 1);
piwik.setReferrerUrl(''); piwik.setReferrerUrl('');
piwik.setCustomUrl('http://local' + window.location.pathname); 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); piwik.trackPageView(title);
} }
catch (e){ catch (e){