A great win for privacy: Google Analytics has been declared illegal in Europe! šŸŽ‰šŸ˜€
https://tutanota.com/blog/posts/is-google-analytics-illegal/
Is Google Analytics illegal in the EU? Yes and no, but mostly yes.

Using Google Analytics in a legally compliant way is still possible in Europe. Here we explain how.

Tutanota
@Tutanota then a new question arises: "how to get site analytics, and find out what is effective? "
I’m using GoAccess.
GoAccess - Visual Web Log Analyzer

GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.