added analytics to all pages