Add analytics tracking code

This commit is contained in:
benweet 2013-03-24 16:31:35 +00:00
parent 29c7dcf18a
commit d046996a12

View File

@ -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>