Move analytics snippet to head