Changed position of analytics snippet to head of main template