First-Party Cookie
Written by Andy Sim
Last updated
A first-party cookie is a small file that the website you are visiting stores in your browser, to remember things about your visit on that site.
It is used for helpful, basic things: keeping you signed in, remembering items in a cart, saving your language and counting visits for analytics. Because it comes from the same site, browsers treat it more kindly than third-party cookies, but privacy laws can still require you to tell visitors about it.
Examples
- A cookie that keeps a customer logged in.
- A cookie that remembers the Khmer or English language choice.
- A cookie that holds the items in a shopping cart.
Why it matters for your website
First-party cookies are the safest way to make a site convenient. List them in your cookie policy and ask for consent where the rules require it, particularly for analytics and marketing.