Added analytics to pages