tadd google analytics - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations (HTM) git clone git://src.adamsgaard.dk/cosmo (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 6bdd2f73e194371ce239a3c858ed3b1e06f2a1ec (DIR) parent 1e40a5081d2d9bbb840806568608ccba18649584 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Wed, 19 Aug 2015 15:09:42 +0200 add google analytics Diffstat: M index.php | 9 +++++++++ 1 file changed, 9 insertions(+), 0 deletions(-) --- (DIR) diff --git a/index.php b/index.php t@@ -124,5 +124,14 @@ src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular-route.min.js"></script> <script type="text/javascript" src="js/routing.js"></script> <script type="text/javascript" src="js/init.js"></script> + + <script> // Google Analytics + (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-45154895-2', 'auto'); + ga('send', 'pageview'); + </script> </body> </html>