Re:Combining and Compressing Disqus' and Google Analytics' J...
by mudgemeister on Sunday January 30, 2011 @06:31AM
(#2157870)
You're right, enomar; I've updated the post to reflect Google's recommended placement of the asynchronous snippet (and your other comment regarding the script type attribute only defaulting in HTML5).
Perhaps instead of appending to document.body, it would be better to use document.documentElement.firstChild to use the head element instead (this is what is present on http://diveintomark.org).
Perhaps instead of appending to document.body, it would be better to use document.documentElement.firstChild to use the head element instead (this is what is present on http://diveintomark.org).