Consent Mode v2 and India’s DPDP Act: A Practical Setup

Consent Mode was engineered for European law. India's framework is shaped differently, and copying an EU banner gives you a worse experience and no extra protection. What to actually build.

Most Indian websites that have added a consent banner in the last two years copied a European one. The wording, the structure, the two buttons, the legal basis language underneath. It looks like compliance and it is mostly cargo cult, because the framework it was designed for is not the framework India has.

This post is about building something that fits. We are not lawyers and this is not legal advice. Get the legal position from someone qualified, particularly because the operational detail of India’s regime has been moving through consultation and has shifted more than once. Check where it currently stands before you rely on any timeline.

The two things being conflated

Consent Mode and consent are different things, and treating them as the same is the root of most of the confusion.

Consent, the legal obligation. Whether you are permitted to collect and process somebody’s personal data, on what basis, having told them what. That is determined by law and by what you actually do.

Consent Mode, the Google mechanism. A way of telling Google’s tags what a visitor has agreed to, so those tags adjust their behaviour. It is a technical signal, built by a vendor, to help that vendor’s products behave acceptably under a particular legal regime.

Implementing Consent Mode does not make you compliant. Being compliant does not require Consent Mode. You may well want both, for different reasons, and you should know which problem each one is solving.

It carries four signals: whether storage for advertising is allowed, whether storage for analytics is allowed, whether user data may be sent to Google for advertising purposes, and whether personalisation is permitted. The last two were added in the second version, ahead of European obligations that required a clearer signal about data sharing.

There are two ways to wire it. In the basic implementation, tags do not load at all until consent is given, so a visitor who declines produces no data whatsoever. In the advanced implementation, tags load in a restricted state and send signals without identifiers, which Google then uses to model the gap.

Be honest with yourself about the advanced version. It gives you fuller-looking reports, and part of what you are looking at is modelled rather than observed. That is not illegitimate, and it is also not the same as measurement. If you are making spend decisions from those numbers, you should know which parts are estimates. The wider version of that argument is in full-funnel attribution for B2B.

Where India’s framework differs in ways that matter

Three differences change the design of what you build.

There is no broad legitimate interest basis. European practice leans heavily on legitimate interest for a range of analytics and marketing processing. India’s framework does not offer an equivalent general-purpose basis. The practical effect is that the comfortable middle ground many EU sites operate in is narrower here, and more of what you do needs actual consent.

Consent has to be specific and unbundled. A single accept covering everything you might ever do is the pattern India’s framework is written against. Purposes should be stated and agreed to individually, which means your banner needs real granularity rather than a cosmetic manage preferences link that nobody can use.

Withdrawal must be as easy as giving it. This is the requirement most Indian sites fail outright. A banner that takes one click to accept and a support email to withdraw is not a design oversight, it is the thing the rule exists to prevent. You need a persistent, reachable way to change the decision, on every page.

There is also a significant provision around children’s data, requiring verifiable parental consent and restricting behavioural advertising aimed at children. If your audience plausibly includes minors, that is a conversation to have with your legal adviser before you build anything, not after.

A setup that actually works

Here is the shape we build, adapted to the specific site.

  1. Inventory first. List every tag, pixel, embed, chat widget, font loader, map and video player on the site, and for each one what data it receives and where that data goes. Most teams discover two or three things nobody remembered adding. You cannot write an honest notice about a system you have not catalogued.
  2. Group by purpose, not by vendor. Strictly necessary, analytics, advertising, personalisation. A visitor is agreeing to a purpose, not to a list of brand names they do not recognise.
  3. Default everything optional to denied. Nothing non-essential fires before a choice is made. Pre-ticked boxes and implied consent from continued browsing are the patterns being legislated against.
  4. Make reject as prominent as accept. Same size, same visual weight, same number of clicks. A dark pattern here undermines the validity of every consent you collect.
  5. Wire Consent Mode to the real choice. The four signals should reflect what the visitor actually selected, per purpose. Hard-coding them to granted because the reports look better is worse than not implementing it.
  6. Put a persistent control on every page. A footer link that reopens the preferences, always available.
  7. Log the consent. What was agreed, to which purposes, under which version of your notice, at what time. If you are ever asked to demonstrate consent, a screenshot of your banner is not evidence.
  8. Version your notice. When purposes change, the notice changes and prior consent may no longer cover the new purpose.

The performance cost nobody budgets for

Consent platforms are heavy. A third-party banner script that must load and execute before anything else can decide what to do sits directly in front of your page rendering, and many of them are substantially larger than they need to be.

On the mid-range Android devices most Indian traffic arrives on, a poorly chosen consent platform can cost you more in abandoned visits than the analytics it is gating would have told you about. Measure it. If the banner script is among your heaviest assets, that is a finding, not a detail.

Self-hosting the banner, or using a lighter implementation, is worth the engineering time on a site with real traffic.

What is a waste of effort

Copying a European banner wholesale. Different legal bases, different wording, often references to regulations that do not apply to you, and no coverage of the obligations that do.

Blocking visitors who decline. Service should not be conditional on consent to non-essential processing, and conditioning it is the kind of thing that attracts attention.

Implementing Consent Mode and considering the job finished. It is a signal to one vendor. Your other tags, embeds and widgets are unaffected by it and must be gated separately.

Treating this as a one-time project. Every new tool added to the site changes the inventory. Without a step in your process that catches that, the notice becomes inaccurate within a quarter.

The part that is genuinely good for you

Doing this properly forces an audit that most organisations have never run, and the audit itself is valuable independently of any legal obligation.

You will find tools nobody uses still loading on every page. You will find a pixel from an agency you stopped working with. You will find data going to a vendor nobody can name. Removing those makes the site faster, reduces your exposure, and simplifies the analytics setup described in GA4 settings that matter. The security angle on the same clean-up is in website security that protects your SEO.

There is also a measurement consequence worth facing. If a meaningful share of visitors decline, your analytics will show less than it used to, and that is the accurate picture rather than a problem to engineer around. Plan your reporting and your return calculations on that basis, using something like the model in calculating SEO and GEO ROI, rather than chasing completeness you are no longer entitled to.

What the notice should actually say

The notice is the part most organisations copy and the part most likely to be wrong, because a copied notice describes somebody else’s processing.

Write it from your inventory. What you collect, why, who it goes to, how long you keep it, and how somebody exercises their rights. Specific to your site, in the languages your audience reads, in sentences a person can follow.

Two things are worth getting right that are usually skipped. State the purposes separately rather than as a single paragraph, because the consent you are collecting is per purpose and a bundled description undermines it. And name the categories of recipient in a way that means something, not third-party service providers, which tells the reader nothing.

Keep a dated version of every notice you publish. When somebody asks what they agreed to in March, the answer has to be the March text, not the current one.

Handling rights requests before you get one

Consent is the part everyone builds. The requests that follow are the part nobody prepares for, and they arrive by email to whoever is listed as the contact.

Decide the operational answers now. Who receives these. How you verify that the person asking is who they say they are, without collecting more personal data in order to check. Where the data actually lives, which in most organisations means several systems nobody has mapped. How long you have to respond. What a deletion request means for your backups, which is the question that catches everyone.

Write it down as a short procedure with a named owner. The common failure is not refusing a request, it is a request sitting unanswered in a shared inbox for six weeks because nobody owned it.

A grievance contact has to be reachable and has to be a real person. An address that bounces, or one nobody monitors, converts a routine request into a complaint.

The useful side effect of preparing for this is the data map it forces. Most organisations genuinely do not know everywhere a customer’s details sit, and finding out is valuable well beyond compliance.

A sensible order of work

  1. Inventory every third party on the site and what each one receives.
  2. Remove whatever is not actually used. This is usually a third of the list.
  3. Take legal advice on your specific purposes and the current state of the rules.
  4. Write the notice in plain language, in the languages your audience reads.
  5. Implement granular, denied-by-default consent with equal-weight choices.
  6. Wire Consent Mode to the real selections and nothing else.
  7. Add the persistent preferences link and the consent log.
  8. Measure the banner’s performance cost and fix it if it is significant.
  9. Add a checkpoint to your process so new tools update the inventory.

If you want the inventory and implementation handled alongside your analytics setup, get in touch.