What Are Cookies & Different Types of Web Cookies, Explained (2024)

What are cookies? They’re small pieces of information that websites store on your computer. But why does it reside in your PC, and what exactly is its purpose? Here’s a closer look at different types of cookies and how they work.

‘What are cookies?’- this question has become ubiquitous ever since GDPR came into effect.

Cookies have been of great importance in the ad tech industry since the advent of digital and programmatic advertising. According to Epsilon, about 80% of advertisers rely on third-party cookies. If those cookies were to disappear, those businesses would need to explore other methods of marketing and advertising that would allow them to reach their target audiences.

What Are Cookies & Different Types of Web Cookies, Explained (1)

However, now the scenario is changing, and the reliance upon cookie-based information is about to fade, as Google’s decision to phase-out cookies will take effect in less than a year.

Due to this, publishers and advertisers will have to turn to other solutions for earning ad revenue and serving relevant ads to users.

But, before publishers start to look for other solutions, it is equally important for them to understand how cookies have been functioning in the ad tech industry, as it’ll help them understand the functioning of alternate solutions.

Also Read: What are the Types of Cookieless Data for Publishers

Table of Contents:

What is a Cookie?

Cookies are essentially pieces of code saved by websites onto the user’s web browser when a session is initiated. Cookies have a lot of uses, but the most important ones are session management, user personalization, and tracking.

All websites that use Cookies have agreed that Cookies enhance the browsing experience by allowing a website to store small snippets of data on a user’s device.

By doing so, the website can keep track of a user’s preferences and tailor content accordingly. According to W3 techs, cookies are used by 40.8% of all websites.

Cookies are not programs, they do not perform any functions. These are simple text files that can be opened using Notepad. In ad tech, cookies are used to track users across the web. For instance, if a user visits a website, then the cookies of that website will be saved on the browser.

Now when the user visits the website again after a few days, the website will know it is the same user. Some cookies can track users across websites and devices.

Types of Cookies

First-Party Cookies

First-party cookies are set by the website visited by the user. The data collected using first-party cookies are used for purposes like calculating pageviews, sessions, and the number of users.

Primarily, publishers have access to data collected using first-party cookies, which can later be shared with advertisers or agencies for ad targeting.

Apart from that, analytics tools – like Google Analytics – use first-party cookies to understand user behaviour and present it in tabular or graphical form for the publisher’s understanding.

Third-Party Cookies

Third-party cookies are set by domains that are not directly visited by the user. This happens when publishers add third-party elements (like chatbots, social plugins, or ads) to their websites.

Once installed, third-party cookies also track users and save their information for behavioural targeting. For example: Let’s say that you added a YouTube link to one of your blogs. Whenever this YouTube link gets a click, a YouTube cookie will be added to the user’s browser. This cookie can track him/her until it expires.

Also Read: First-Party vs Third-Party Cookies: What’s the Difference?

Session Cookies

What Are Cookies & Different Types of Web Cookies, Explained (3)

Session cookies either expire immediately or within a few seconds of the user leaving the web browser. Among other uses, these cookies are used by e-commerce websites to remember the product placed in the cart by the user, to keep users logged in, and to calculate each user session for analytical purposes.

For example, if an e-commerce website does not use session cookies, then the items added to the cart will be removed by the time the user reaches the checkout page. And the server will forget the user and treat him/her like a completely new visitor.

Persistent Cookies

As the name suggests, persistent cookies stay on the user’s browser for a very long time. Generally, persistent cookies are required to have an expiration date which could be anything between a second to 10 years. The above-shared screenshot is an example of persistent cookies with an expiration date.

Persistent cookies are used by publishers to track a single user and his/her interaction with their website. These types of cookies are used by 22.9% of all the websites – W3Techs.

To check whether your browser has persistent cookies, try this. If you are logged in to Gmail on the browser, then close the tab(s) and restart your device.

When your device turns back on, open the same browser and visit the same service or account (Gmail); if you are still logged in, then you have persistent cookies saved on the browser, dropped by Google mail service.

Browsers are making it harder to use cookies. Web browsers like Firefox and Safari are updating their products to kill these cookies as soon as users are done with the websites. And Chrome is soon to join this bandwagon and will start blocking third-party cookies by 2022.

Secure Cookies

Only HTTPS websites can set secure cookies, i.e., cookies with encrypted data. Mostly, the checkout or payment pages of e-commerce websites have secure cookies to facilitate safer transactions. Similarly, online banking websites are required to use secure cookies for security reasons.

Use of Cookies in Ad Tech

An average website has 23 cookies. And most of these are third-party persistent cookies.

Since the evolution of programmatic advertising, we have created an ecosystem where ad campaigns require third-party data to be successful. Advertisers purchase second-party and third-party data from publishers and agencies, store them in their DMPs and use it to target the right audience.

Future of Cookies: Insights from Experts

Chrome, along with other web browsers, phasing out third-party cookies is alarming for web publishers. While the industry is trying to understand the future without 3P cookies, some are developing solutions to curb the effects.

The publisher’s revenue will definitely be affected by the removal of 3P cookies. If you look at your Safari CPMs, you will find they are lower than Chrome’s. The same can be true for your Chrome CPMs once the browser removes the use of 3P cookies.

There has never been a better time (partly because of Coronavirus) for publishers to show their value propositions to their users. Explain to your users why you need to show ads or send newsletters to keep up with high quality content.

Rob Beeler, Chairperson at AdMonsters and CEO of Beeler.Tech

Subscription models are going to be the next hit thing in user engagement.

Apart from making essential coverage free during the pandemic, multivariate A/B testing, focus on newsletter blasts, reminding people of our mission and our importance in the moment have worked for us.

Micheal Finnegan, President, Atlantic Media

Once you have your audience on your side, it’s time to optimize the demand.

Re-think, how you think of partners and vendors. In programmatic space, it’s super easy to just sign a contract, put them in your header, see if they work, if not, drop them. Continue to do tests that you have no time to do.

Rob Beeler, Chairperson at AdMonsters and CEO of Beeler.Tech

In hindsight, the use of third-party cookies was not doing any good to ad tech. From invading user privacy to discrepancies in user demographics, third-party cookies have their own list of cons.

Third-party cookies were never the best thing. If you check how all companies perceive you, you will find – I am a man and I am a woman and I am 95 years old and I am 20 and I am buying a car – only some of that is true. But there is a cookie that is allowing me to be whatever they (brands) want me to be and that’s not the best approach. So, better things might be coming down the line.

Rob Beeler, Chairperson at AdMonsters and CEO of Beeler.Tech

These quotes are taken from a webinar we hosted with Rob Beeler. Check the whole webinar here.

What to Read Next:

  • Google’s Privacy Sandbox
  • What are TURTLEDOVE and SPARROW
  • What is PARRROT

Final Thoughts

Cookies have been around for a while now, and most people are pretty comfortable with them. But now, privacy concerns are flying around everywhere, and people are starting to question the way that cookies are used on the internet. However, this is a discussion for another blog post.

We hope by now you have understood what cookies are in the world of the internet, their different types, and their uses.

Frequently Asked Questions

1. What is an example of an internet cookie?


Internet cookie store information that relates to a user’s preferences and behaviour. By keeping track of how users interact with a website, cookies help to provide a smoother and more personalized experience.

2. What are the two types of cookies?

There are two types of cookies:

The first type is the session cookie, which is temporary and only lasts for the duration of the user’s visit to the website.

The second type is the persistent cookie, which is stored on the user’s computer for a longer period of time.

3. What is the difference between third-party cookies and third-party cookies?


First-party cookies are created by the website that you are visiting.
Third-party cookies are created by other websites that have elements on the page that you are visiting. Third-party cookies can be used for advertising or other purposes.

What Are Cookies & Different Types of Web Cookies, Explained (4)

Shubham Grover

Shubham is a digital marketer with rich experience working in the advertisem*nt technology industry. He has vast experience in the programmatic industry, driving business strategy and scaling functions including but not limited to growth and marketing, Operations, process optimization, and Sales.

What Are Cookies & Different Types of Web Cookies, Explained (2024)

FAQs

What Are Cookies & Different Types of Web Cookies, Explained? ›

There are two types of cookies: The first type is the session cookie, which is temporary and only lasts for the duration of the user's visit to the website. The second type is the persistent cookie, which is stored on the user's computer for a longer period of time.

What are cookies and types of cookies? ›

Cookies are small text files that websites send to your device so that they can keep track of your activities on the site. There are two main types of cookies: session cookies and persistent cookies. Session cookies are temporary files that are deleted when you close your browser.

What are cookies explained? ›

Cookies are small files of information that a web server generates and sends to a web browser. Web browsers store the cookies they receive for a predetermined period of time, or for the length of a user's session on a website.

What types of cookies are there on a website? ›

Types of web cookies
  • Session cookies. These are temporary web cookies that are only present as long as your web browser stays open or your session is active. ...
  • Persistent cookies. ...
  • Third-party cookies. ...
  • First-party cookies. ...
  • User experience. ...
  • Advertising and marketing. ...
  • Analytics and web optimization.
May 22, 2023

What is a cookie in an Internet domain? ›

A cookie (also known as a web cookie or browser cookie) is a small piece of data a server sends to a user's web browser. The browser may store cookies, create new cookies, modify existing ones, and send them back to the same server with later requests.

What are the 3 different types of cookie methods are there? ›

The five basic types of cookies are drop, rolled, icebox, molded and bar cookies. It is easier to clas- sify cookies by their type than by their mixing method. Mixing methods are relatively simple, but cookie types can vary a great amount.

What happens if you don't accept cookies? ›

If you do not accept cookies – The potential problem with refusing to accept cookies is that some website owners may not allow you to use their websites if you do not accept their cookies. Another downside is that without acceptance, you may not receive the full user experience on certain websites.

What happens if you accept cookies? ›

Accepting all cookies gives third-party entities, like advertisers, your data. Accepting "necessary cookies" helps the website function properly. And closing the box without choosing will either opt you in or out depending on the website's default settings. "Generally you have complete control.

Should you accept cookies? ›

Accepting cookies from trusted sources can help maintain the security of your online interactions. Control - Most modern browsers provide options to control cookie settings. You can choose to accept all cookies, block all cookies, or selectively accept cookies from specific websites.

What is the difference between cache and cookies? ›

How cache & cookies work. Cookies are files created by sites you visit. They make your online experience easier by saving browsing data. The cache remembers parts of pages, like images, to help them open faster during your next visit.

How do cookies track you? ›

Tracking cookies are small text files that websites place on a user's browser to collect data about their online activities. These files contain data that allows websites to remember specific user preferences, maintain login sessions, and track user behavior across different sites.

How do you find what cookies are on my website? ›

In Google Chrome, open an Incognito window and insert the address of your website.
  1. Click the lock icon in the browser URL box.
  2. Click on cookies. You can also see right here how many cookies are placed.
  3. The active cookies on your web page are displayed. For more information, click on the little triangles in front of it.

Who sets cookies in the browser? ›

Cookies are set using the Set-Cookie header field, sent in an HTTP response from the web server. This header field instructs the web browser to store the cookie and send it back in future requests to the server (the browser will ignore this header field if it does not support cookies or has disabled cookies).

What is an example of cookies? ›

A simple example of cookies is when you open up a website and your username and password are auto-filled. Cookies provided your login information to the website. Another example is when you go online shopping on Amazon and find items that are still in your cart from your last purchasing spree.

Where are cookies stored? ›

Cookies get created when you visit a website. These text files identify you and help streamline your online experience. Once created, cookies are stored in a file on your hard drive or browser, depending on your operating system and the browser you use.

What are the 6 basic types of cookies? ›

  • Bar Cookies. Baked in shallow pan and then cut into bars or squares. ...
  • Drop Cookies. Made from soft dough dropped onto a cookie sheet. ...
  • Rolled Cookies. Made from stiff chilled dough cut into different shapes with cookie cutters. ...
  • Molded Cookies. Shaped by hand. ...
  • Refrigerator Cookies. ...
  • Pressed Cookies.

How types of cookies are there? ›

50 Different Types of Cookies You Have to Try
  • White Chocolate Strawberry Cookies. ...
  • Pineapple Semi-Sweet Cookies. ...
  • Chewy Chocolate Chip Cookies. ...
  • Sugar Cookies. ...
  • White Chocolate Macadamia Nut Cookies. ...
  • Peanut Butter Blossoms. ...
  • Soft Chewy Oatmeal Raisin Cookies. ...
  • Salted Honey Pistachio Cookies.
Apr 24, 2024

What are the 8 cookie methods? ›

There are many varieties of classifications for cookies. This refers to the way in which the cookie is prepared after the dough has been made. For example, there are drop, icebox, bar, sheet, cut out, pressed, rolled, molded or wafer. Let's take a minute to look at these methods.

Top Articles
55 Marvelous Prom Suits for Men – Step Out in Style
14 Vegan Keto Breakfast Recipes
Moonrise Tonight Near Me
Salons Open Near Me Today
Craigslist Kentucky Cars And Trucks - By Owner
Ups Drop Off Newton Ks
Rs3 Rituals
True Or False Security Is A Team Effort
Urology Match Spreadsheet
Ecolab Mppa Charges
Myzmanim Edison Nj
Thomas the Tank Engine
Maritime News Archives
Mobile Maher Terminal
Ktbs Payroll Login
JPMorgan and 6 More Companies That Are Hiring in 2024, Defying the Layoffs Trend
Aston Carter hiring HR Specialist in Inwood, WV | LinkedIn
G 037 White Oblong Pill
Tani Ahrefs
102Km To Mph
Missing 2023 Showtimes Near Lucas Cinemas Albertville
Laura Coates Parents Nationality
Danielle Moodie-Mills Net Worth
Usc Human Biology
Maintenance Required Gear Selector Ecu
Fort Worth Craiglist
Charlotte North Carolina Craigslist Pets
Wall Street Journal Currency Exchange Rates Historical
Kemono Party Imbapovi
Hose Woe Crossword Clue
On-Campus Student Employment
Family Violence Prevention Program - YWCA Wheeling
Voyeur Mature Bikini
Gunblood Unblocked 66
Bdo Obsidian Blackstar
Liv Morgan Wedgie
Enlightenment Egg Calculator
Tires Shop Santoyo
Bridger Elementary Logan
Ma Scratch Tickets Codes
SYSTEMAX Software Development - PaintTool SAI
Ryker Webb 2022
Foolproof Module 6 Test Answers
Edye Ellis Obituary
Intel Core i3-4130 - CM8064601483615 / BX80646I34130
Einschlafen in nur wenigen Minuten: Was bringt die 4-7-8-Methode?
Shaws Myaci
358 Edgewood Drive Denver Colorado Zillow
Thirza (tier-sa) Caldwell on LinkedIn: #choosewell #orlandohealth
Cambridge Assessor Database
High Balance Bins 2023
Clarakitty 2022
Latest Posts
Article information

Author: Kimberely Baumbach CPA

Last Updated:

Views: 6448

Rating: 4 / 5 (41 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Kimberely Baumbach CPA

Birthday: 1996-01-14

Address: 8381 Boyce Course, Imeldachester, ND 74681

Phone: +3571286597580

Job: Product Banking Analyst

Hobby: Cosplaying, Inline skating, Amateur radio, Baton twirling, Mountaineering, Flying, Archery

Introduction: My name is Kimberely Baumbach CPA, I am a gorgeous, bright, charming, encouraging, zealous, lively, good person who loves writing and wants to share my knowledge and understanding with you.