Move analytics to head and remove unfortunate duplication on index page