What are the Cookies & types?

Cookies are text files with small pieces of data - Like a username and Password - that are used to identify your computer as you use a computer network. Specific Cookies Known as HTTP cookies are used to identify specific users and improve your web browsing experience. When a user send a Requests to the server, then each of that request is treated as a new request sent by the different user.       So, to recognize the old user, We need to add the cookies with the response from the server. Now, Wherever a sends requests to the server, the cookies is added with that request automatically. Due to the cookie, the server recognize the users.

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.

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 is used for purposes like calculating pageviews, sessions, and 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 behavior 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 chatbot, social plugins, or ads) on their website. 

Once installed, third-party cookies also track users and save their information for ad targeting and behavioral advertising. 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.



Session Cookies

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 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 in 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 expiration date.

Persistent cookies are used by publishers to track a single user and his/her interaction with their website. 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 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.

Ask any Doubt related to this site...

Post a Comment

Ask any Doubt related to this site...

Post a Comment (0)

Previous Post Next Post