From d34a1702143e55fc922086efaa71e38a35175d75 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Sat, 27 Sep 2014 19:27:13 -0700 Subject: [PATCH] fixed version variable for analytics --- src/UI/Shared/NzbDroneController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/Shared/NzbDroneController.js b/src/UI/Shared/NzbDroneController.js index c4584e3c7..e1d1cfaed 100644 --- a/src/UI/Shared/NzbDroneController.js +++ b/src/UI/Shared/NzbDroneController.js @@ -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){