Added analytics to each page