Skip to content

Commit

Permalink
Show demosite/host in GA (netdata#4947)
Browse files Browse the repository at this point in the history
cakrit authored Dec 7, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent b177622 commit e4d67ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/gui/main.js
Original file line number Diff line number Diff line change
@@ -4211,7 +4211,7 @@ function finalizePage() {
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

ga('create', 'UA-64295674-3', 'auto');
ga('send', 'pageview');
ga('send', 'pageview', '/demosite/' + window.location.host);
}, 2000);
} else {
notifyForUpdate();

0 comments on commit e4d67ae

Please sign in to comment.