changeset 15:df32173a025b

added google analytics.
author Robert McIntyre <rlm@mit.edu>
date Sun, 08 Jul 2012 20:51:22 -0500
parents 9567495a4c3e
children 582b8c54b574
files index.html
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/index.html	Sun Jul 08 19:36:15 2012 -0500
     1.2 +++ b/index.html	Sun Jul 08 20:51:22 2012 -0500
     1.3 @@ -17,6 +17,27 @@
     1.4  
     1.5      <LINK href="./style.css" rel="stylesheet" type="text/css"/>
     1.6  
     1.7 +
     1.8 +    <!-- google analytics -->
     1.9 +
    1.10 +    <script type="text/javascript">
    1.11 +
    1.12 +      var _gaq = _gaq || [];
    1.13 +      _gaq.push(['_setAccount', 'UA-33232748-1']);
    1.14 +      _gaq.push(['_trackPageview']);
    1.15 +
    1.16 +      (function() {
    1.17 +      var ga = document.createElement('script'); 
    1.18 +      ga.type = 'text/javascript'; ga.async = true;
    1.19 +      ga.src = ('https:' == document.location.protocol ? 
    1.20 +          'https://ssl' : 'http://www') 
    1.21 +          + '.google-analytics.com/ga.js';
    1.22 +      var s = document.getElementsByTagName('script')[0]; 
    1.23 +      s.parentNode.insertBefore(ga, s);
    1.24 +      })();
    1.25 +
    1.26 +    </script>
    1.27 +
    1.28    </head>
    1.29  
    1.30