Skip to content

Commit c5e153d

Browse files
authored
Merge pull request #97 from kjsce-codecell/nis130-patch-1
update analytics code
2 parents 07b0b64 + 286e9b4 commit c5e153d

1 file changed

Lines changed: 9 additions & 18 deletions

File tree

index.html

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -50,24 +50,15 @@
5050
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
5151
<meta name="apple-mobile-web-app-capable" content="no" />
5252

53-
<script type="text/javascript">
54-
(function (i, s, o, g, r, a, m) {
55-
i['GoogleAnalyticsObject'] = r;
56-
i[r] = i[r] || function () {
57-
(i[r].q = i[r].q || []).push(arguments)
58-
}, i[r].l = 1 * new Date();
59-
a = s.createElement(o),
60-
m = s.getElementsByTagName(o)[0];
61-
a.async = 1;
62-
a.src = g;
63-
m.parentNode.insertBefore(a, m)
64-
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
65-
ga('create', 'UA-30114730-1', 'kjscecodecell.com');
66-
ga('require', 'displayfeatures');
67-
ga('require', 'linkid', 'linkid.js');
68-
ga('require', 'ecommerce');
69-
ga('send', 'pageview');
70-
</script>
53+
<!-- Global site tag (gtag.js) - Google Analytics -->
54+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-142860092-5"></script>
55+
<script>
56+
window.dataLayer = window.dataLayer || [];
57+
function gtag(){dataLayer.push(arguments);}
58+
gtag('js', new Date());
59+
60+
gtag('config', 'UA-142860092-5');
61+
</script>
7162

7263
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE10" />
7364
</head>

0 commit comments

Comments
 (0)