Skip to content

Commit

Permalink
updated GA-related code
Browse files Browse the repository at this point in the history
  • Loading branch information
develop7 committed Jul 20, 2011
1 parent 196c57c commit 38ebff2
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions index.html
Expand Up @@ -16,13 +16,16 @@
<body>
<div id="greeting"><h2>The owls are not what they seem</h2></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3389644-1");
pageTracker._initData();
pageTracker._trackPageview();
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24650673-1']);
_gaq.push(['_setDomainName', '.develop7.info']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>

0 comments on commit 38ebff2

Please sign in to comment.