fixed version variable for analytics
This commit is contained in:
parent
97370cc8b3
commit
d34a170214
|
@ -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){
|
||||||
|
|
Loading…
Reference in New Issue