move analytics code inside <head>.