adds google analytics and chartbeat tracking