summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-03-15 00:08:58 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2015-03-15 00:08:58 -0700
commitaf92250c7e0c7fc59cfb4381928ed4a547f2dcf3 (patch)
treee1cff1727992c07ec2d5c62f369e0b3b9a0306a5 /lib
parent32244ac733f6276e50511e42620b49be90f72f0b (diff)
downloadspack-af92250c7e0c7fc59cfb4381928ed4a547f2dcf3.tar.gz
spack-af92250c7e0c7fc59cfb4381928ed4a547f2dcf3.tar.bz2
spack-af92250c7e0c7fc59cfb4381928ed4a547f2dcf3.tar.xz
spack-af92250c7e0c7fc59cfb4381928ed4a547f2dcf3.zip
Add google analytics to docs.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/_themes/sphinx_rtd_theme/layout.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/spack/docs/_themes/sphinx_rtd_theme/layout.html b/lib/spack/docs/_themes/sphinx_rtd_theme/layout.html
index 0314a8028a..f629e7d933 100644
--- a/lib/spack/docs/_themes/sphinx_rtd_theme/layout.html
+++ b/lib/spack/docs/_themes/sphinx_rtd_theme/layout.html
@@ -87,6 +87,17 @@
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
+ <!-- Google Analytics -->
+ <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-55665759-2', 'auto');
+ ga('send', 'pageview');
+ </script>
+
</head>
<body class="wy-body-for-nav">