fix typos and formatting in analytics docs