Move google analytics to header

Google recommends that GA tracking code be placed in the header. https://support.google.com/webmasters/answer/185871?hl=en