Browse Source

Add analytics tracking to docs

v0.7.4-release
Ryan Dahl 13 years ago
parent
commit
1a89c8d061
  1. 11
      doc/template.html

11
doc/template.html

@ -21,5 +21,16 @@
<script src="assets/sh_main.js"></script> <script src="assets/sh_main.js"></script>
<script src="assets/sh_javascript.min.js"></script> <script src="assets/sh_javascript.min.js"></script>
<script>highlight(undefined, undefined, 'pre');</script> <script>highlight(undefined, undefined, 'pre');</script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ?
"https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-10874194-2");
pageTracker._trackPageview();
} catch(err) {}</script>
<script type="text/javascript">highlight(undefined, undefined, 'pre');</script>
</body> </body>
</html> </html>

Loading…
Cancel
Save