Note: After reviewing the feedback from Andrew Moore, it seems that this question is a duplicate of Two separate script tags for Google Analytics?. Therefore, there may be merit in removing this question to prevent clutter on Stack Overflow. However, if there are distinct reasons for keeping this one available, it might be worth considering, especially since it could show up in varying search queries.
Why does using more than one script block on a web page matter? When looking at the typical code for integrating Google Analytics, as an example, I have noticed a recurring pattern where the script is divided into two separate blocks. What is the rationale behind separating this code rather than using a single block?
<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">
try{
var pageTracker = _gat._getTracker("UA-xxxxxx-x");
pageTracker._trackPageview();
} catch(err) {}
</script>