Dorem - Jérémie Bouillon wrote:
On 01/05/2011 13:31, Krinkle wrote:
Just out of curiousity, to avoid or perhaps solve a less-than-ideal construction, why does it have to be at the end per se ? What is it you want to insert there ?
Two things. First, I'm starting to seriously use MW, so it helps me learning it :-)
Second in this specific case, it's for Google Analytics. Since they have changed it to a faster and asynchronous javascript handling, there's no extension with the appropriate code anymore, and they strongly advise to place it here (last thing before /head).
I'll adjust the code position in the future with more test and feedback when my site goes public, but right now I don't see the harm in following their recommendation, and perhaps more important to have the same result across the various part of my site (hence, having it placed on the same spot).
Note that 1.17 introduces ResouceLoader for packing javasccript and css resources.