move analytics to head tag