2. Types of cookiesAll cookies are not created equal. There are 3 types of them:
- Session: They expire when you close your browser (or if you stay inactive for a certain time). They’re used for example on e-commerce websites so you can continue browsing without losing what you put in your cart.
- Permanent: They persist even when the browser is closed. They have an expiration date though and by law, you can’t make them last more than 6 months. They’re used to remember your passwords and login info so you don’t have to re-enter them every time.
- Third-party: Cookies attributes usually corresponds to the website domain they are on. Not for third-party cookies—as you probably gathered from the name, they are installed by … third-party websites (no wayy), such as advertisers. They gather data about your browsing habits, and allow them to track you across multiple websites. Other websites using third-party cookies: Facebook, Flickr, Google Analytics, Google Maps, Google Plus, SoundCloud, Tumblr, Twitter and YouTube.
First of all, you probably already are using them, if you have an A/B Testing or Personalization solution for example. Cookies help you remember information and settings about your visitors to make their future experience on your website faster, convenient and personalized.
Example: remember which language they picked and directly show them the right version when they come back.