in header or footer insert, depending upon how you want your analytics to roll..

google has for a long time recommended the head, but i use the footer and the async method.

its your choice smile