added analytics and fixed typo