finishing setting up analytics