Google Analytics allows you to see how visitors use your website, the device they're using, the websites that referred them, and more.
Your goal in optimizing your website for SEO is to make the Google algorithm happy and accommodate the search engine's internal logic