I'm installing web analytics code


#1

I’m installing GoStats code (analytics) in my site, however, I have a question: is tracking code best installed in the section or the footer? What are the advantages/disadvantages?


#2

It depends on if it’s asynchronous or not. If it’s NOT, put it in the footer. If it is (and Google Analytics is, for example), it’s safer to it in your header and you’ll be more likely to get a accurate stats.