joined:Sept 11, 2005
I've been adding GA to several sites and last week I was using the new asynchronous snippet, which they said to put just before the closing </HEAD> tag.
This week, they no longer offer the old snippet and now the default is the asynchronous snippet, but now they give these directions:
Copy the following code, then paste it onto every page you want to track immediately after the opening <body> tag.
But if you read elsewhere in their help, they're still saying put it just before the closing </HEAD> tag.
I just want to be sure before I manually change dozens of static and dynamic pages. I also wonder whether I should now be moving the GA code on the other sites down immediately after the <body> tag? Edit:
Just read over at the official GA forum that any references to after <BODY> is a bug and should be ignored. The asynchronous code goes immediately before the closing </HEAD> tag.