added analytics code to page