Fundamentally, Google Analytics is based on using cookies. They set multiple cookies to identify website visitors across different browsing sessions so that data can be used to remember what visitors have done in previous sessions on the website.