Move analytics to head tag