I think what the Original Poster is stressing is:
you have 3 parts to your webpage.
Some stay the same some vary.
Header
Body/Main
Footer
Header and Footer are called via template on every page.
So as a page loads.
Header.... then body...then footer
If the Analytics code is within the footer, then its the last thing to load. Therefore it only replicates/analyses the simplest of information, and therefore essentially becomes a click counter.
Because it is not effectively tracking site activity on a page by page content by content basis.
However if the Analytics code is within the body.
The most important information ( main/body content ) is loading with the anlaytics code.
Thus giving more comprehensive results on page activity/content activity.
http://www.googlecommunity.com/forum...tml#post119529
Seems must be before </body> tag
I wont use this code, as we have other analysis, but I think the OP has it right.
Just my opinion of course.
Ozzy