Bits Kingdom

Cookie

Back to glossary

Cookie is a small text file (or similar data) that a website asks your browser to store. On later visits, the site can read it to remember who you are, what you preferred, or that you’re mid-checkout.

Cookies power useful features — staying logged in, language choice, a filled cart — and also tracking for analytics and advertising. That’s why sites show consent banners: privacy laws (like GDPR and CCPA) require clear choice for many non-essential cookies. Pop-ups and consent modals are the usual UI for that choice.

A coffee shop stamps a loyalty card: visit five times, get a free drink. A cookie is that stamp in digital form — “you’ve been here before.” A tracking cookie is more like a note shared with partners so they know which other shops you’ve visited. One helps the experience; the other raises privacy questions.

First-party cookies come from the site you’re on; third-party cookies come from other domains (ads, embeds). Browsers increasingly limit third-party tracking. For users, the padlock (HTTPS) and thoughtful consent matter as much as the cookie itself.