We'd like to count visits with Google Analytics. It sets cookies. The answer you came for works either way.
Needed for the site to work, including remembering the choice you make here. These are always on.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Google Analytics counts visits and gives a rough idea of where visitors come from. It is how we know whether anyone is finding the site. The calculation you came for runs without it.
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.