Moved tracking code to HEAD