diff options
author | Patrick Wendell <pwendell@apache.org> | 2014-05-30 08:58:40 +0000 |
---|---|---|
committer | Patrick Wendell <pwendell@apache.org> | 2014-05-30 08:58:40 +0000 |
commit | 9d3ca69383db14952c0e22a2d7d61854b8e9944f (patch) | |
tree | 84d4c39e289b2708b4af1fa5e7c7f14210505e5f /site/docs/1.0.0/ec2-scripts.html | |
parent | 66fb4b11cbae79d9044b2bbf2e53351642a58ff5 (diff) | |
download | spark-website-9d3ca69383db14952c0e22a2d7d61854b8e9944f.tar.gz spark-website-9d3ca69383db14952c0e22a2d7d61854b8e9944f.tar.bz2 spark-website-9d3ca69383db14952c0e22a2d7d61854b8e9944f.zip |
Enabling Google Analytics for docs
Diffstat (limited to 'site/docs/1.0.0/ec2-scripts.html')
-rw-r--r-- | site/docs/1.0.0/ec2-scripts.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/site/docs/1.0.0/ec2-scripts.html b/site/docs/1.0.0/ec2-scripts.html index b29961ade..4df323861 100644 --- a/site/docs/1.0.0/ec2-scripts.html +++ b/site/docs/1.0.0/ec2-scripts.html @@ -27,6 +27,19 @@ <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> |