Add analytics tracking code
This commit is contained in:
parent
29c7dcf18a
commit
d046996a12
16
index.html
16
index.html
@ -11,6 +11,22 @@
|
||||
<script type="text/javascript" src="js/Markdown.Sanitizer.js"></script>
|
||||
<script type="text/javascript" src="js/Markdown.Editor.js"></script>
|
||||
<script type="text/javascript" src="js/main.js"></script>
|
||||
<script>
|
||||
(function(i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r;
|
||||
i[r] = i[r] || function() {
|
||||
(i[r].q = i[r].q || []).push(arguments)
|
||||
}, i[r].l = 1 * new Date();
|
||||
a = s.createElement(o), m = s.getElementsByTagName(o)[0];
|
||||
a.async = 1;
|
||||
a.src = g;
|
||||
m.parentNode.insertBefore(a, m)
|
||||
})(window, document, 'script', '//www.google-analytics.com/analytics.js',
|
||||
'ga');
|
||||
|
||||
ga('create', 'UA-39556145-1', 'github.com');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wmd-button-bar"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user