moved analytics to the head.