Why do I need to use:
(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);
})();
Instead of:
<script async="true" type="text/javascript" src="http://www.google-analytics.com/ga.js"></script>
The only reason I can see is that they have a different subdomain for SSL. If it weren't for that is there any reason to use this script injection technique?