Updated correct Google Analytics Code.
1.1 --- a/index.html Wed Sep 22 21:51:07 2010 +0200
1.2 +++ b/index.html Wed Sep 22 22:50:57 2010 +0200
1.3 @@ -4,7 +4,19 @@
1.4 <title>Eugen Sawin - A Digital Business Card</title>
1.5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
1.6 <link href="bright.css" rel="stylesheet" type="text/css" />
1.7 -</head>
1.8 + <script type="text/javascript">
1.9 +
1.10 + var _gaq = _gaq || [];
1.11 + _gaq.push(['_setAccount', 'UA-18685330-1']);
1.12 + _gaq.push(['_trackPageview']);
1.13 +
1.14 + (function() {
1.15 + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
1.16 + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
1.17 + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
1.18 + })();
1.19 + </script>
1.20 +</head>
1.21
1.22 <body>
1.23
1.24 @@ -88,16 +100,5 @@
1.25 </div>
1.26 <div id="img_footer">©2010</div>
1.27 </div>
1.28 -
1.29 -<script type="text/javascript">
1.30 -var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
1.31 -document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
1.32 -</script>
1.33 -
1.34 -<script type="text/javascript">
1.35 -var pageTracker = _gat._getTracker("UA-2137333-1");
1.36 -pageTracker._trackPageview();
1.37 -</script>
1.38 -
1.39 </body>
1.40 </html>
2.1 --- a/resume.html Wed Sep 22 21:51:07 2010 +0200
2.2 +++ b/resume.html Wed Sep 22 22:50:57 2010 +0200
2.3 @@ -4,6 +4,18 @@
2.4 <title>Eugen Sawin - A Digital Business Card</title>
2.5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
2.6 <link href="bright.css" rel="stylesheet" type="text/css" />
2.7 + <script type="text/javascript">
2.8 +
2.9 + var _gaq = _gaq || [];
2.10 + _gaq.push(['_setAccount', 'UA-18685330-1']);
2.11 + _gaq.push(['_trackPageview']);
2.12 +
2.13 + (function() {
2.14 + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
2.15 + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
2.16 + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
2.17 + })();
2.18 + </script>
2.19 </head>
2.20
2.21 <body>
2.22 @@ -83,16 +95,5 @@
2.23 </div>
2.24 <div id="img_footer">©2010</div>
2.25 </div>
2.26 -
2.27 -<script type="text/javascript">
2.28 -var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
2.29 -document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
2.30 -</script>
2.31 -
2.32 -<script type="text/javascript">
2.33 -var pageTracker = _gat._getTracker("UA-2137333-1");
2.34 -pageTracker._trackPageview();
2.35 -</script>
2.36 -
2.37 </body>
2.38 </html>