summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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">