move analytics to valid spot - in head