can someone to some resources for google analytics.i.e,where it can be used what all it can track..Also what does the following code does
<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'"));
<script>
var pageTracker = _gat._getTracker("UA-XXXXXXXXX");
pageTracker._initData();
pageTracker._setDomainName(".mydomain.com");
pageTracker._trackPageview();
</script>