Add analytics to page