Fix analytics id.

This commit is contained in:
Christian Williams 2010-09-19 09:55:32 -07:00
parent da0038a8a6
commit 0ad92b262e
1 changed files with 9 additions and 6 deletions

View File

@ -35,12 +35,15 @@
</span>
</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("{{site.analytics_id}}");
pageTracker._trackPageview();
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17547473-1']);
_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>
</footer>
<div class="clear"></div>