Moved tracking code to main page