'There is a whole field of UX optimization that requires its own level of expertise. The typical SEO professional doesn’t have to be a full-fledged UX expert. However, they should have an understanding of many of the basic website UX principles. UX optimization is nothing more than focusing on the visitor.
Everything we do in the sphere of web marketing has to have the visitor in mind. Yes, we do certain things for search engines, but search engines (almost always) require those things because they have learned it’s what their users (searchers) want.
https://www.searchenginejournal.com/seo-guide/where-seo-and-user-experience-ux-collide/
One common reason why web marketers are not getting good results from their search engine optimisation campaign is that they fail to provide a good experience for users. To accomplish the latter, one should be collecting and analyzing user data.
User data is perhaps the most precious commodity for businesses marketing on the web. It is the reason why web marketing services go to length for gathering consumer data that will allow them to connect and engage customers in useful and meaningful ways.
https://www.rushprnews.com/2018/07/07/how-to-leverage-user-data-for-better-seo-and-user-experience/