Skip to content

EARN UP TO 50% COMMISSION WITH OUR RESELLER ACCOUNTS + REGULAR PASSIVE INCOME SIGN UP TODAY

Cookie law

What are cookies?

A plain-English guide to what cookies are, what websites use them for, and how CookieScan sorts the cookies it finds on your website.

Updated 3 min read

Applies to:
  • Compliance

https://cookiescan.com/help/what-are-cookies/ Β· Updated 12 October 2026

On this page

Overview

A cookie is a small piece of text that a website stores in a visitor's browser. Each time the browser asks that website for a page, it sends the cookie back. That lets the website recognise the browser from one page, or one visit, to the next.

A cookie can't run code on a device. Cookie law matters because websites can use cookies to track people.

What websites use cookies for

Most websites set cookies for several reasons at once:

  • keeping a visitor signed in, or remembering what's in their basket
  • remembering a choice, such as language or a cookie banner choice
  • counting visits and seeing which pages people use
  • showing adverts and tracking visitors from one website to another

Cookie law treats these purposes differently. Cookies that are strictly necessary for something the visitor asked for don't need consent. Most others do. See What cookie law asks of your website.

First-party and third-party cookies

A first-party cookie is set by the website the visitor is on. A third-party cookie is set by another website whose content is on the page, such as an advertising or video service. In the Cookie Manager, the Domain column shows which website set each cookie.

Session and persistent cookies

A session cookie is deleted when the visitor closes their browser. A persistent cookie stays until its expiry date, which can be months or years away. The Cookie Manager shows each cookie's Expiry. For a session cookie found by a scan, it shows "Session".

How CookieScan sorts cookies

CookieScan puts every cookie it finds into one of five categories. Visitors accept or reject cookies by category on your banner.

CategoryWhat the cookies do
NecessaryMake basic features work, such as a secure sign-in or saving consent choices.
PreferenceRemember choices such as language, region or display settings.
StatisticsCount visits and pages viewed, so you can see how people use your website.
MarketingTrack visitors across websites to show and measure adverts.
UnclassifiedNot yet identified. You choose their category.

To learn more, see Cookie categories.

Similar technologies

Cookie law also covers other ways of storing or reading information on a device. Examples are local storage, tracking pixels and device fingerprinting. The ICO's guide to storage and access technologies describes them.

CookieScan's scan lists cookies only. It doesn't detect local storage, tracking pixels or fingerprinting, so check your website's other tracking technologies yourself.

Was this article helpful?

Thanks for your feedback.

Please don't include personal details. We can't reply here.

Thanks for your feedback.

Please don't include personal details. We can't reply here.

Thanks, your comment has been sent.

Sorry, we couldn't record your feedback. Please try again later.

Still stuck?

Our support team can help with anything these guides don't cover. Tell us your CookieScan ID and the page address so we can look straight away.

Back to Cookie law