Move analytics to the head per google documentation