Move analytics outside head