adding analytics back in