From 4f840f4e541cb61d508879be05a05b64b528da22 Mon Sep 17 00:00:00 2001 From: Matei Zaharia <matei@eecs.berkeley.edu> Date: Wed, 27 Feb 2013 09:14:11 -0800 Subject: [PATCH] Added commented-out Google analytics code for website docs --- docs/_layouts/global.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/_layouts/global.html b/docs/_layouts/global.html index 4b3da7ef57..280ead0323 100755 --- a/docs/_layouts/global.html +++ b/docs/_layouts/global.html @@ -23,6 +23,22 @@ <script src="js/vendor/modernizr-2.6.1-respond-1.1.0.min.js"></script> <link rel="stylesheet" href="css/pygments-default.css"> + + <!-- Google analytics script --> + <script type="text/javascript"> + /* + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-32518208-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + */ + </script> + </head> <body> <!--[if lt IE 7]> -- GitLab