Skip to content

Commit

Permalink
Merge branch 'larsrh-topic/ga'
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed Dec 21, 2016
2 parents adbc9a4 + db28e1d commit 23d1c71
Showing 1 changed file with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,33 +57,33 @@

<script src="${resourcesURL}/vendor/angular-slider-5.4.0/rzslider.min.js"></script>

<script>
window['ga-disable-UA-61694827-4'] = ${!it.collectAnonymousUsageStatistics()};

window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
<j:if test="${it.collectAnonymousUsageStatistics()}">
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;

ga('create', 'UA-61694827-4', 'auto', {
'userId': '${it.installation.anonymousCorrelationId()}',
'sampleRate': 1
});
ga('create', 'UA-61694827-4', 'auto', {
'userId': '${it.installation.anonymousCorrelationId()}',
'sampleRate': 1
});

ga('set', {
'forceSSL': true,
'appName': 'Build Monitor',
'appId': 'build-monitor-plugin',
ga('set', {
'forceSSL': true,
'appName': 'Build Monitor',
'appId': 'build-monitor-plugin',

'appVersion': '${it.installation.buildMonitorVersion()}',
'appInstallerId': '${h.version}',
'appVersion': '${it.installation.buildMonitorVersion()}',
'appInstallerId': '${h.version}',

'dimension1': '${it.installation.size()}',
'dimension2': '${it.items.size()}',
'dimension3': '${it.installation.audience()}',
'dimension4': '${it.installation.anonymousCorrelationId()}'
});
'dimension1': '${it.installation.size()}',
'dimension2': '${it.items.size()}',
'dimension3': '${it.installation.audience()}',
'dimension4': '${it.installation.anonymousCorrelationId()}'
});

ga('send', 'screenview', {screenName: 'Dashboard'});
</script>
<script async="async" src='//www.google-analytics.com/analytics.js'></script>
ga('send', 'screenview', {screenName: 'Dashboard'});
</script>
<script async="async" src='//www.google-analytics.com/analytics.js'></script>
</j:if>
</head>
<body class="build-monitor dashboard industrial"
data-ng-app="buildMonitor"
Expand Down

0 comments on commit 23d1c71

Please sign in to comment.