Cookies are tiny data sets that store and collect data from the user of a website for the website owner, often for purposes such as gathering information about the user's visit.
Some cookies collect personal data, and can remain on your device for a while, or until you delete them.
Some cookie notifications are ridiculous - huge boxes with option buttons galore for guaranteed confusion and frustration.
These notifications are a click too far; they break the flow of an enjoyable user experience and are generally meaningless because nobody reads them anyway.
They slow a website down and look awful.
But they are a legal requirement.
If you only want to get information such as the top pages visited, top referrers, and the average time people spend on your site, use Fathom Analytics or Plausible:
These paid-for services are cookie-free and low-cost - no cookie notification pop-up or banner is needed.
They also allow you to very clearly understand the data, unlike Google Analytics.
So check out Plausible and Fathom Analytics for a better user experience and a better website.