clean up analytics