Cookie
The web's memory — a small file in your browser that keeps you logged in, keeps your cart full, and made ad tracking possible.
- Term
- Cookie
- Is
- A small file stored in the browser
- Invented
- Lou Montulli, Netscape, 1994
- Split
- First-party vs third-party
Forms & parts of speech
Definition in plain terms
A cookie is a small text file that a website stores in your browser so it can remember you — across pages, and across visits. Without cookies the web has no memory: every click would arrive as a stranger. With them, a site can keep you logged in, hold your shopping cart, save your language choice, and recognize you when you come back. That same memory is what made digital advertising's tracking layer possible, which is why cookies sit at the center of the privacy fight.
The mechanics
When your browser requests a page, the site's server can answer with a Set-Cookie instruction. The browser saves that small piece of data and sends it back with every later request to the same domain, so the site can stitch your visits together. The crucial split is who set it. A FIRST-PARTY cookie belongs to the site you are actually visiting — the login session on amazon.com, the cart on your own store. A THIRD-PARTY cookie is set by a different domain embedded in the page, classically an ad server present on thousands of sites, which let ad platforms follow one browser across the web and build interest profiles for targeting and measurement. That second kind powered RETARGETING and cross-site attribution for two decades, and it is the kind now being shut off. Safari and Firefox block third-party cookies by default, and regulators (GDPR, the ePrivacy rules, CCPA) require consent for most tracking uses. Lou Montulli, a 23-year-old engineer at Netscape, invented the cookie in June 1994 — the immediate problem was building a shopping cart that survived page loads without the server holding state. First-party cookies remain fundamental and largely unthreatened; the third-party kind is being replaced by server-side tracking, first-party data strategies, and privacy-preserving APIs.
When it matters
Cookies matter to you on two fronts. As a site owner, your login sessions, carts, preferences, and analytics all ride on first-party cookies — they are infrastructure, and consent banners and retention limits are now part of running them properly. As an advertiser, the death of the third-party cookie is the defining measurement shift of the decade. Campaigns that quietly depended on cross-site cookies for targeting and attribution lose signal as browsers block them, which is why platforms push the Conversions API, enhanced first-party matching, and modeled conversions. The discipline is to know which of your numbers still depend on a mechanism that is disappearing, and to move them onto first-party ground before the gap shows up in your reports.
Synonyms & antonyms
Synonyms
Antonyms
Origin & history
Lou Montulli coined the web use of 'cookie' at Netscape in June 1994, borrowing the established computing term 'magic cookie' — a small opaque token passed between programs — which he knew from an operating-systems course and liked the sound of. The first cookie shipped in Mosaic Netscape 0.9beta that October, checking whether a visitor had been to Netscape's site before; Montulli's patent was granted in 1998.
Etymology: source.
Usage trends
Search interest for this term over the last five years:
Common questions
- What is a cookie?
- A small text file a website stores in your browser so it can remember you across pages and visits — sessions, carts, preferences, and historically ad tracking.
- What is the difference between first-party and third-party cookies?
- First-party cookies are set by the site you are visiting and power logins and carts; third-party cookies are set by other domains embedded in the page and enabled cross-site ad tracking — browsers now block them.
- Who invented the cookie?
- Lou Montulli, an engineer at Netscape, in June 1994 — originally so an online shopping cart could survive between page loads without the server storing state.
Related tools & calculators
- toolCAC calculator
- toolLTV:CAC calculator
Resources & people to follow
- referenceWikipedia — HTTP cookie
- referenceLou Montulli — The reasoning behind web cookies
- referenceRGM analysis — know which numbers still ride on third-party cookies, then move them to first-party ground
Curated, non-competitor resources verified per term.
Related training
- modulePerformance marketing
Disciplines
Areas of marketing where cookie is a core concern: