Tech News

Why Do Websites Ask You to Accept Cookies?

 


You open a website to read an article, check a product or book a ticket. Before you can continue, a small window appears:

"Accept all cookies."

You may also see options such as "Reject all", "Manage preferences" or "Cookie settings".

Many people click Accept simply because they want the pop-up to disappear. However, that button can allow a website to store information about your visit and, depending on the choices offered, permit additional tracking or advertising-related processing.

So what exactly are cookies? Why do websites use them, and what happens when you accept them?

Understanding the difference can help you make better privacy decisions whenever you browse the internet.





1. What Are Website Cookies?

Cookies are small pieces of information that websites store in your browser or on your device.

They help websites remember information between visits or between different pages of the same visit.

For example, imagine you log in to an online shopping website. Without a session cookie or another authentication mechanism, the website might repeatedly ask you to sign in while navigating between pages.

Cookies can help websites:

  • Keep users signed in.

  • Remember language and display preferences.

  • Maintain shopping cart information.

  • Understand how visitors use their websites.

  • Support advertising and content personalisation.

Google explains that cookies can make browsing more convenient by remembering information about previous visits.

However, not all cookies perform the same function. Some are essential for a website's operation, while others support analytics, advertising or personalisation.

Source: Google Chrome Help – Understand and Manage Cookies.

2. What Is the Difference Between First-Party and Third-Party Cookies?

One of the most important distinctions is where a cookie comes from.

First-party cookies

First-party cookies are associated with the website you are visiting.

For example, when you visit an online shopping website, it may use first-party cookies to remember:

  • Your login session.

  • Your preferred language.

  • Items in your shopping cart.

  • Certain website preferences.

These cookies can make the website easier to use.

Third-party cookies

Third-party cookies are associated with a different domain from the website displayed in your browser's address bar.

For example, a website may include advertising, analytics or embedded services provided by other companies.

Those external services may use third-party cookies for purposes such as advertising personalisation or cross-site tracking, depending on the browser's restrictions and the relevant permissions.

This is one reason cookie consent windows often include advertising and tracking preferences.

An important distinction: Third-party cookies are not the only way websites can track activity. Other technologies, including pixels, scripts and device identification techniques, can also be used.

Source: Mozilla – Third-Party Cookies.

3. What Happens When You Click "Accept All Cookies"?

The exact result depends on the website's consent system and the choices presented.

On a website that separates cookies into different categories, selecting "Accept all" may allow the categories it offers, potentially including:

Necessary cookies: Used for functions such as login sessions, security and shopping cart operations.

Analytics cookies: Help website owners understand visitor activity, such as which pages are visited and how people navigate the website.

Personalisation cookies: Help remember preferences or tailor certain experiences.

Advertising cookies: May support personalised advertisements, advertising measurement and related services.

For example, imagine visiting an online electronics store.

You browse headphones, compare laptops and leave the website. If advertising-related tracking is enabled, information about your browsing activity may be used to support relevant advertisements on other participating websites or platforms.

This does not mean every website shares every browsing detail with every advertiser. The actual data collection and sharing depend on the services, settings and privacy policies involved.

Clicking Accept also does not necessarily mean that every possible tracking technology is activated. It depends on how the website implements its consent system.

4. What Happens If You Click "Reject All"?

Rejecting optional cookies can limit certain forms of tracking and personalisation.

However, it does not necessarily disable every cookie.

A website may still use cookies that are necessary to provide a service, maintain a login session or protect against security threats.

For example:

  • A shopping cart may still need to remember selected products.

  • A login session may still need to remain active.

  • Security-related functions may still operate.

Some websites may also provide a separate option to customise preferences instead of accepting or rejecting everything together.

The important point is that rejecting optional cookies does not automatically mean you cannot use the website.

Some websites may restrict certain features if particular cookies or related technologies are unavailable.

5. Can Cookies Track You Across Different Websites?

Yes, certain cookies and associated tracking technologies can help recognise browsing activity across different websites.

Consider this example:

  1. You visit a website selling smartphones.

  2. The website includes an advertising service.

  3. You interact with content that allows the service to process certain information.

  4. You later visit another participating website.

  5. You may see an advertisement related to smartphones.

This is one example of how cross-site advertising can work.

However, modern browsers increasingly restrict third-party cookies and other tracking methods.

For instance, Google Chrome provides controls for allowing or blocking third-party cookies. Firefox also has tracking protection that blocks cross-site tracking cookies by default.

This means the same tracking behaviour may not work identically across all browsers.

Sources:

6. Are Cookies Dangerous?

Cookies are not automatically dangerous, and they are not computer viruses.

Their purpose depends on how a website or service uses them.

A cookie that remembers your language preference is very different from a tracking mechanism used to build advertising profiles.

However, there are privacy and security considerations.

Privacy concerns: Some cookies and related technologies can be used to collect information about browsing behaviour.

Session security: If authentication cookies are stolen, an attacker may potentially misuse an active login session.

Unnecessary tracking: Some websites may use advertising or analytics technologies that collect more information than visitors expect.

Third-party services: A website may include external services whose data practices differ from those of the website itself.

This is why it is useful to understand cookie categories instead of treating every cookie as either completely safe or completely harmful.

7. How to Check and Manage Cookies in Google Chrome

You can review your cookie settings without installing an additional application.

On a Windows or Mac computer

Follow these steps:

  1. Open Google Chrome.

  2. Click the three-dot menu in the top-right corner.

  3. Select Settings.

  4. Open Privacy and security.

  5. Select Third-party cookies.

  6. Review the available options for allowing or blocking third-party cookies.

Chrome also allows you to view site data and permissions.

You can search for a particular website and remove its stored site data if you no longer want it saved in your browser.

On Android

The steps are similar:

  1. Open Chrome.

  2. Tap the three-dot menu.

  3. Select Settings.

  4. Open Site settings.

  5. Look for Third-party cookies or the available cookie controls.

The exact menu names may vary with the Chrome version and device.

Before blocking cookies: Remember that some websites may not work as expected if you block certain cookies. You may need to sign in again or adjust settings for individual websites.

Official instructions: Google Chrome – Delete, Allow and Manage Cookies.

8. What Does India's Data Protection Law Say About Cookies?

India's Digital Personal Data Protection Act, 2023 (DPDP Act) establishes a framework for processing digital personal data.

The Act does not create a separate category of legislation called a cookie law. Instead, its requirements may apply when information collected through cookies or similar technologies constitutes personal data and is processed under the Act.

Section 6 describes consent as needing to be free, specific, informed, unconditional and unambiguous, with a clear affirmative action.

The Act also provides for withdrawal of consent.

However, it is important to understand the implementation timeline.

The Government notified the Digital Personal Data Protection Rules, 2025, on 14 November 2025. Implementation is phased, and the main provisions in sections 4–9 of the Act, including the relevant consent provisions, are scheduled to commence on 13 May 2027.

Therefore, as of November 2026, those provisions should not be described as already fully in force.

For website visitors, the practical takeaway is to understand what information a website collects and how it explains its purposes and privacy choices.

Sources:

9. Five Things to Check Before Accepting Cookies

The next time a website displays a cookie pop-up, take a few seconds to review it.

1. Look for a Reject All option. You do not have to automatically select Accept All if the website provides meaningful alternatives.

2. Check the cookie categories. Understand whether the website separates necessary, analytics, personalisation and advertising cookies.

3. Read the privacy notice. Look for information about which organisations receive data and why it is processed.

4. Review your browser settings. You can manage third-party cookies and remove previously stored site data.

5. Revisit your preferences. Some websites allow you to change your choices later through a privacy or cookie settings link.

These steps will not eliminate every form of online tracking, but they can help you make more informed decisions.

Frequently Asked Questions

Do cookies store passwords?

Cookies can sometimes contain session identifiers used to maintain a login session, but websites should not store plain-text passwords in cookies. Authentication systems use different security mechanisms.

Can websites see everything I do on my computer through cookies?

No. Cookies do not give a website unrestricted access to your computer. They store or provide information within the browser's permitted website context.

Does accepting cookies mean I will receive more advertisements?

Not necessarily more advertisements. Accepting advertising-related cookies may allow advertisements to be personalised or measured, depending on the website and advertising services involved.

Does Incognito mode block all cookies?

No. Incognito mode does not mean cookies are completely disabled. Chrome blocks third-party cookies by default in Incognito mode, but websites can still use certain cookies during the session.

Should I delete cookies regularly?

There is no universal requirement to delete cookies every day. Removing them can clear stored website information and sign you out of services, but it can also remove useful preferences.

Sources and Further Reading

  1. Google Chrome Help – Delete, Allow and Manage Cookies

  2. Mozilla Developer Network – Third-Party Cookies

  3. Mozilla Support – Third-Party Cookies and Tracking Protection

  4. Digital Personal Data Protection Act, 2023

  5. PIB – DPDP Rules, 2025

This article is intended for general educational purposes. Cookie behaviour and privacy controls can vary across websites, browsers and devices.

Found a mistake or have a tip?

Free on Android

Get Informed Media’s apps

Try TicketStub and Informed RSS Feed on Google Play.

Pranav writes about business, finance and technology for Informed Media, along with opinion pieces. More about Pranav →

Comments