summaryrefslogtreecommitdiff
path: root/doc/template.html
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-12-05 11:17:57 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-12-05 11:17:57 -0800
commit1a89c8d061b36e01cd0f7f12704dc9688d351df7 (patch)
tree10af213b2cf9f7656fc17bc0cd500c91239220e5 /doc/template.html
parentfdf180f9ceefe9598f0a43e01dab825e19250e40 (diff)
downloadnode-new-1a89c8d061b36e01cd0f7f12704dc9688d351df7.tar.gz
Add analytics tracking to docs
Diffstat (limited to 'doc/template.html')
-rw-r--r--doc/template.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/template.html b/doc/template.html
index fc3524d591..377cae8b3c 100644
--- a/doc/template.html
+++ b/doc/template.html
@@ -21,5 +21,16 @@
<script src="assets/sh_main.js"></script>
<script src="assets/sh_javascript.min.js"></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>
</html>