added tracking code to index file.