move analytics to head