Skip to content

Privacy and compliance guide

Cookie Consent, Consent Mode and the DPDP Act: What Indian Websites Need

Consent banners are now common on Indian websites, partly because of India's own data protection law and partly because Google requires certain consent signals for advertising and measurement in Europe. The rules are often explained badly, mixing legal requirements with platform policies. This guide separates the two and explains what a typical business website should do. It is general information, not legal advice; speak to a lawyer for your specific situation.

Updated 9 min read

Two separate sets of rules

The first set is law. India's Digital Personal Data Protection Act, 2023 governs how businesses process digital personal data of individuals in India. Its rules for implementation have been notified in phases, so check the current status before relying on any summary. If you have visitors from the European Union or the UK, the GDPR and the ePrivacy rules can also apply to how you treat them.

The second set is platform policy. Google's EU user consent policy requires publishers and advertisers using its products to obtain valid consent from users in the European Economic Area, the UK and Switzerland. For AdSense and other publisher products, Google requires a certified consent management platform for those users. These requirements apply because you use Google's services, regardless of where your business is registered.

What the DPDP Act means for a typical website

For a business website, personal data usually means enquiry form details, email newsletter sign-ups, account registrations and potentially identifiers collected by analytics or advertising tools. The Act centres on notice and consent: tell people what data you collect and why, collect it for a specified purpose, and let them withdraw consent as easily as they gave it.

Practical steps include a clear privacy notice in plain language, consent checkboxes that are not pre-ticked where consent is the basis, a contact for privacy requests, deleting data you no longer need and making sure vendors such as email or CRM providers handle data appropriately.

  • Plain-language privacy notice linked from forms and the footer
  • No pre-ticked consent boxes
  • A way to withdraw consent and request deletion
  • Only collect fields you actually use
  • Know which vendors receive the data

What Google Consent Mode does

Consent Mode is a technical framework that lets Google tags adjust their behaviour based on the user's consent choices. Your site sets default consent states before any tags load, typically denied for visitors who have not chosen yet, and then updates them when the visitor makes a choice. Version 2, which Google required for EEA traffic from March 2024 for advertising features, added two signals: ad_user_data and ad_personalization, alongside the original ad_storage and analytics_storage.

In basic mode, Google tags do not load until consent is granted. In advanced mode, tags load but send cookieless pings when consent is denied, which Google uses for modelling. Advanced mode recovers more measurement but sends some data before consent, so choose deliberately.

Custom banner or certified CMP

A custom banner built by your developer can work well for Indian visitors and can drive Consent Mode correctly. What it cannot do is meet Google's certified CMP requirement for serving ads to EEA, UK and Swiss users, because certification applies to specific vendors that implement the IAB Transparency and Consent Framework.

If you plan to run AdSense, the simplest approach is to enable a GDPR message through AdSense's Privacy and messaging section, which is a Google-certified CMP. It shows only to visitors in the relevant regions. You can keep your own banner for everyone else, as long as your code detects the Google message and avoids showing two prompts to the same visitor.

Design a banner people can actually use

Offer accept and reject with equal prominence. A large accept button next to a small grey reject link is a dark pattern that regulators in several jurisdictions have criticised. Explain briefly what each category does and link to the privacy policy. Remember the choice, and give people a way to change it later, such as a 'cookie settings' link in the footer.

Keep the banner from covering the main content on mobile, and make sure it does not cause layout shift as it appears. Test with screen readers and keyboard navigation.

Common implementation mistakes

The most frequent mistake is loading analytics or advertising tags before consent defaults are set, so the first page view is collected regardless of the choice. Another is setting defaults to granted for everyone and only updating to denied when someone clicks reject. A third is forgetting to update consent when the visitor returns, so their saved choice is ignored.

Check your implementation with Tag Assistant: load the page in a fresh browser profile, confirm the default state is denied, accept, and confirm the update fires. Then repeat with reject.

A sensible setup for an Indian business site

Set Consent Mode defaults to denied before any Google tags. Show a clear custom banner with equal accept and reject options, and load analytics only after acceptance. If you serve Google ads, enable the AdSense Privacy and messaging GDPR message for European visitors and let it take precedence. Keep your privacy policy aligned with what your site actually does, and review it whenever you add a new tool.

Keep records and review regularly

Write down which tools run on your site, what data they collect, which consent category they belong to and who is responsible for them. Revisit the list whenever marketing adds a new pixel or a developer adds a third-party script. Keep your consent banner, Consent Mode configuration and privacy policy in sync, because a policy that describes tools you do not use, or misses tools you do use, undermines trust and could create legal exposure.

Questions

Does every Indian website need a cookie banner?

Not necessarily for every site, but if you use analytics or advertising cookies and want to follow consent principles, or have European visitors, a banner with Consent Mode is the cleanest approach. Get legal advice for your circumstances.

Can I use my own banner with AdSense?

For visitors outside the EEA, UK and Switzerland, yes. For those regions, Google requires a certified CMP, such as its own Privacy and messaging tool.

Plan your next step

Compare scope, prepare your brief and understand the decisions before starting.

Have a project in mind?

Tell us what you want to market, build or improve. The studio is in Noida and works with businesses across Delhi NCR and India.