Add analytics to public pages