analytics code for index page