Skip to content

Commit f3cf3b1

Browse files
committed
add g analytics
1 parent 194af13 commit f3cf3b1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

index.html

+15
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,20 @@ <h3>Reference</h3>
113113
<script src="js/module/array2d.js"></script>
114114
<script src="js/module/array1d.js"></script>
115115
<script src="js/script.js"></script>
116+
<script>
117+
(function (i, s, o, g, r, a, m) {
118+
i['GoogleAnalyticsObject'] = r;
119+
i[r] = i[r] || function () {
120+
(i[r].q = i[r].q || []).push(arguments)
121+
}, i[r].l = 1 * new Date();
122+
a = s.createElement(o),
123+
m = s.getElementsByTagName(o)[0];
124+
a.async = 1;
125+
a.src = g;
126+
m.parentNode.insertBefore(a, m)
127+
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
128+
ga('create', 'UA-78128848-1', 'auto');
129+
ga('send', 'pageview');
130+
</script>
116131
</body>
117132
</html>

0 commit comments

Comments
 (0)