move analytics to index.html and close the issue