Mercurial > hg > anatomy-of-the-charts
changeset 11:7817126aef0d tip
added google analytics
author | matthiasm |
---|---|
date | Mon, 12 Jan 2015 18:18:04 +0000 |
parents | 92e089a6a9fb |
children | |
files | index.php |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/index.php Sun Jan 11 21:26:32 2015 +0000 +++ b/index.php Mon Jan 12 18:18:04 2015 +0000 @@ -80,5 +80,17 @@ <div class="clr"></div> </div> + <!-- 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-6345553-6', 'auto'); + ga('send', 'pageview'); + + </script> + </body> </html>