@cryptotaxi247 / netdata-1 / commits / b17762263

Update GA in demosites.html (#4946)

Pass "/site" in front of the path

Chris Akritidis committed Dec 7, 2018 at 21:26 UTC b1776226355fa4ae0f777ef10073f5b0d6e7f9e3
1 file changed +1 -1
web/gui/demosites.html
+1 -1
@@ -1269,7 +1269,7 @@ p {
1269 t.GoogleAnalyticsObject = n, t[n] || (t[n] = function () {
1270 (t[n].q = t[n].q || []).push(arguments)
1271 }), t[n].l = +new Date, o = e.createElement(a), i = e.getElementsByTagName(a)[0], o.src = "//www.google-analytics.com/analytics.js", i.parentNode.insertBefore(o, i)
1272 - }(t, r, "script", "ga"), ga("create", "UA-64295674-3", "auto"), ga("send", "pageview"), t.document.addEventListener("click", n)
1272 + }(t, r, "script", "ga"), ga("create", "UA-64295674-3", "auto"), ga("send", "pageview", "/site"+window.location.pathname), t.document.addEventListener("click", n)
1273 }
1274
1275 function i() {