Adding analytics to the page.