# Do Indian websites need a cookie banner under the DPDP Act?

Updated 28 November 2026

The DPDP Act has no cookie-specific rule. But analytics tools and ad pixels that identify or track visitors process personal data, so the Act's notice and consent duties apply. Most Indian websites using Google Analytics, Meta Pixel or similar tools should ask for consent before loading them, with an equal option to say no.

Canonical page: https://ruly.in/blog/cookie-consent-dpdp

## What the DPDP Act actually says about cookies

Nothing directly. The word cookie does not appear in the DPDP Act or the DPDP Rules, 2025. Unlike Europe, India has no separate cookie law that tells websites to show a banner.

What the Act does cover is digital personal data: any data about a person who can be identified from it. Many cookies and tracking pixels store a unique ID tied to a browser, link it to an IP address, a login or a purchase, and send it to an analytics or ad company. That is personal data processing, and the normal DPDP rules apply: a lawful ground, a clear notice, and consent where no legitimate use fits.

So the honest answer is that India does not require a cookie banner as such. It requires consent for certain processing, and for most websites a banner is simply the practical way to ask.

## Which cookies and pixels need consent?

Sort what your site loads by purpose. The Act's legitimate uses include data a person voluntarily gives for a specific purpose, which can cover what is strictly needed to deliver what they asked for, such as keeping them logged in. Tracking for analytics or advertising goes beyond that, so ask first.

Open your site's tag manager or page source and list every tool it loads, then sort them with this table.

| Type | Examples | What to do |
| --- | --- | --- |
| Strictly necessary | Login session, cart, security checks, load balancing | No banner choice needed, but explain them in your privacy notice |
| Preferences | Language, city, dark mode | Low risk. Explain in the notice; ask if tied to an account profile |
| Analytics | Google Analytics, Microsoft Clarity, Hotjar, heatmaps | Ask for consent before loading |
| Advertising and retargeting | Meta Pixel, Google Ads tag, LinkedIn Insight | Ask for consent before loading |
| Session recording | Tools that replay mouse moves and form typing | Ask for consent, and mask form fields |
| Chat and support widgets | WhatsApp chat button, live chat tools | Explain in the notice; ask if the vendor tracks across sites |

## What a DPDP-ready cookie banner looks like

Consent under Section 6 must be free, specific, informed, unambiguous and given by a clear action. Withdrawing it must be as easy as giving it. Translate that into banner design and you get a short list.

Check your current banner against each point.

- **Accept and Reject look the same:** Same size, same colour, same screen. A tiny 'manage settings' link next to a big Accept button is not a free choice.
- **Nothing pre-ticked:** Analytics and ads toggles start off. Scrolling or closing the banner is not consent.
- **One line per purpose:** Separate toggles for analytics and advertising, each with a plain sentence on what it does and which companies receive data.
- **Link to the full notice:** The banner links to your privacy notice, which lists the data, purposes and how to complain to the Board.
- **Easy to change later:** A 'Cookie settings' link in the footer reopens the banner so people can withdraw in one click.
- **Language choice:** If your visitors read Hindi or another Eighth Schedule language, offer the banner and notice in that language.

## Do not load trackers before the yes

The most common mistake is a banner that looks right while every tag fires on page load anyway. Consent given after data has already gone to an ad platform is not consent for that data.

Ask your developer to load analytics and ad tags only after the visitor accepts that purpose. Tag managers and most consent tools support this. Then test it: open your site in a private window, reject everything, and check in the browser's developer tools that no analytics or pixel requests go out.

Repeat the test whenever someone adds a new marketing tool. New pixels are often pasted into the site header by an agency and bypass the banner entirely.

## Children and cookie tracking

Section 9 of the Act bars tracking, behavioural monitoring and targeted advertising directed at children under 18. If your site serves students, kids' products, gaming or coaching, a consent banner is not enough. Turn off ad pixels and behavioural tracking for child users altogether, and get verifiable parental consent before processing a child's data.

Breaking the children's data duties can attract a penalty of up to ₹200 crore, so audit these sites first.

## Keep proof of every choice

The burden of proving notice and consent is on the business. Store each consent choice with the date and time, the banner version, and which purposes were accepted or rejected. Most consent tools keep this log; check that yours does and that you can export it.

Keep the record as long as you rely on the consent, and remember the Rules ask businesses to keep logs for at least a year.

## How Ruly helps

Ruly gives you a plain language privacy page to link from your banner and footer, consent links with proof of every yes for forms and campaigns, and a requests inbox for visitors who want to withdraw or ask what you hold. Ruly works through links, not integrations, so it does not block scripts on your site; your developer or a cookie tool does that part.

Take the free 2 minute check at /check to get your website to-do list.

## Sources

1. DPDP Act, 2023 (India Code): https://www.indiacode.nic.in/bitstream/123456789/22037/1/a2023-22.pdf
2. DPDP Rules, 2025 (MeitY): https://www.meity.gov.in/static/uploads/2025/11/53450e6e5dc0bfa85ebd78686cadad39.pdf
3. DPDP Act Section 6: Consent: https://indiacode.ecourtsindia.com/digital-personal-data-protection-act-2023/section/6/
4. DPDP Act Section 9: Processing of personal data of children: https://indiacode.ecourtsindia.com/digital-personal-data-protection-act-2023/section/9/

## Questions

### Is a cookie banner mandatory in India?

There is no Indian law that says 'show a cookie banner'. The DPDP Act requires notice and consent for processing personal data where no legitimate use applies. Analytics and advertising cookies usually process personal data, so a banner that asks before loading them is the simplest way for most websites to meet the Act.

### Does Google Analytics need consent under the DPDP Act?

In most cases treat it as needing consent. Google Analytics sets identifiers and sends data about visits to Google, which goes beyond what is strictly needed to show the page a visitor asked for. Load it only after the visitor accepts analytics, and describe it in your privacy notice.

### Do I need consent for the Meta Pixel on my website?

Yes, ask first. The Meta Pixel sends data about what visitors view and buy to Meta for advertising and retargeting. That is tracking for a purpose the visitor did not come to your site for. Load the pixel only after the visitor accepts advertising, and never load it for child users.

### Are strictly necessary cookies allowed without consent?

Cookies needed to deliver what the visitor asked for, such as staying logged in or keeping items in a cart, can usually rely on the Act's legitimate use for data a person voluntarily provides for a specific purpose. Explain them in your privacy notice. Do not label tracking cookies as necessary to dodge consent.

### Can I copy a GDPR cookie banner for my Indian website?

A good GDPR banner with equal Accept and Reject buttons and per-purpose toggles is a reasonable starting point. Adjust the text to the DPDP Act: link a notice that lists data and purposes, offer withdrawal as easily as consent, give contact details, mention complaints to the Data Protection Board and offer Indian languages if your visitors need them.

### What if my cookie banner is ignored or closed?

Treat it as no consent. Under the DPDP Act consent needs a clear affirmative action, so closing the banner, scrolling or continuing to browse does not count. Keep analytics and ad tags off until the visitor actively accepts, and let them browse normally either way.

### When do cookie consent duties start?

Almost all business duties under the DPDP Act and Rules apply from 13 May 2027. Websites take time to fix because tags are spread across tools and agencies, so audit what your site loads, set up consent, and test it well before that date.

## Related

- [Privacy notice under DPDP](https://ruly.in/privacy-notice)
- [Free privacy notice generator](https://ruly.in/tools/privacy-notice-generator)
- [Consent Managers explained](https://ruly.in/consent-manager)
- [DPDP vs GDPR](https://ruly.in/dpdp-vs-gdpr)
- [Children's data under DPDP](https://ruly.in/childrens-data)
- [What counts as consent](https://ruly.in/glossary/consent)

---

Ruly: Get any business DPDP ready. Free 2 minute DPDP check at https://ruly.in/check. Contact hello@ruly.in. General information, not legal advice.
