Move analytics into head