moved tracking code before /head