main page analytics for production only by host checking;
This commit is contained in:
1 parent
840502c68f
commit
5e14fe465c
1 file changed
+2
@@ -21,6 +21,7 @@
|
||||
<script src="/app.js"></script>
|
||||
|
||||
<script>
|
||||
if(window.location.host.indexOf('localhost') === -1){
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r;
|
||||
i[r] = i[r] || function () {
|
||||
@@ -35,6 +36,7 @@
|
||||
|
||||
ga('create', 'UA-60209057-1', 'auto');
|
||||
//ga('send', 'pageview');
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in new issue
Block a user