Add analytics to index