added analytics to index