Added analytics to html