add analytics back in