changeset 327:ce27545e58e6

re-enabling Google Analytics
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 04 Mar 2020 10:23:42 +0100
parents 94ab7402a1b8
children 117be48706ba
files Sphinx/source/_templates/layout.html
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/_templates/layout.html	Wed Mar 04 10:23:16 2020 +0100
+++ b/Sphinx/source/_templates/layout.html	Wed Mar 04 10:23:42 2020 +0100
@@ -25,4 +25,14 @@
     </p>
   </div>
 </footer>
+
+<!-- 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-33455438-2', 'orthanc-server.com');
+  ga('send', 'pageview');
+</script>
 {% endblock %}