Added Analytics functionality to index.html