Add analytics to the page