Skip to content

Commit 66a054b

Browse files
committed
Add ga
Signed-off-by: Yen-Chin Lee <[email protected]>
1 parent eee1e27 commit 66a054b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

index.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,13 @@ <h1>Clojure @ Taiwan</h1>
4747
</div>
4848
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
4949
<script>
50-
/* window.onload = function() { document.body.className = ''; }
51-
window.ontouchmove = function() { return false; }
52-
window.onorientationchange = function() { document.body.scrollTop = 0; }*/
50+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
51+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
52+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
53+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
54+
55+
ga('create', 'UA-70260002-1', 'auto');
56+
ga('send', 'pageview');
5357
</script>
5458
</body>
5559
</html>

0 commit comments

Comments
 (0)