Add analytics, update header and footer