mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
include branch as analytics custom variable
This commit is contained in:
@@ -32,6 +32,7 @@ define(
|
||||
piwik.setReferrerUrl('');
|
||||
piwik.setCustomUrl('http://local' + window.location.pathname);
|
||||
piwik.setCustomVariable(1, 'version', window.NzbDrone.Version, 'page');
|
||||
piwik.setCustomVariable(2, 'branch', window.NzbDrone.Branch, 'page');
|
||||
piwik.trackPageView(title);
|
||||
}
|
||||
catch (e){
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
ApiRoot: 'API_ROOT',
|
||||
ApiKey : 'API_KEY',
|
||||
Version: 'APP_VERSION',
|
||||
Branch : 'APP_BRANCH',
|
||||
Analytics: APP_ANALYTICS
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user