fixed analytics code; added to head tag