There are several simple ways that do not violate privacy. The most common ones are Google Search Console and Search Analytics. Additionally site maintainers may collect the information about scrolls, clicks and other actions the users perform on the site. The latter include time spent on a page and the way they found the site (search engine or the link on the other site).