Answered straight

Does India's DPDP Act apply to your website analytics?

The short answer

Yes, for most Indian sites. Your GA4 client ID, the visitor's IP, any user ID you send after login and every lead record are data about an identifiable individual, which the Act treats as personal data. Aggregate counts are not. What changes in practice is narrower than the panic suggests, and the expensive mistakes are all over-corrections.

Updated 31 August 2026 · Written by the Last Agency team · See what SEO actually costs

The short version

  • Identifiability, not names. A persistent cookie ID that lets you single out one visitor is personal data. A count of sessions is not.
  • India has no ePrivacy-style rule, so storing a cookie is not itself the trigger — processing personal data is. That is why European cookie-banner advice maps badly here.
  • The Act's list of uses that don't need consent is closed, and marketing analytics is not on it. There is no Indian equivalent of legitimate interests to argue.
  • The most common real violation isn't the pixel. It's an email address sitting in a page URL or an event parameter, which breaks Google's own policy too.
  • Over-compliance costs you data and buys nothing: two-month retention, deleted history, cookie walls. Fix the lead form first.

Start with scope, not with a banner

Almost everything written about this in India is European material with the nouns swapped, and the swap breaks in two specific places worth knowing before you spend a rupee.

First, the EU's cookie banner does not come from GDPR. It comes from a separate rule that makes storing or reading information on a user's device the thing requiring consent. India has no equivalent. Under the DPDP Act the trigger is processing personal data, so the question is never "is this a cookie" but "does this identify a person". A first-party cookie holding a random string that never links to anything is a much weaker case than the same cookie joined to a logged-in account.

Second, GDPR gives you legitimate interests as a lawful basis, which is what most European analytics arguments actually rest on. The Act gives you consent, plus a short closed list of legitimate uses — medical emergencies, state functions, employment purposes and similar. Website analytics is not on that list and cannot be argued onto it. That is a real difference and it runs the opposite way to what most imported guidance implies.

The Act applies to digital personal data processed within India, and to processing outside India that relates to offering goods or services to people in India. So a Bangalore D2C brand is in scope, and so is the US-hosted analytics stack it uses. It does not apply to personal data an individual has themselves made public, or to purely personal or domestic processing — neither of which describes your site.

What in a standard setup is personal data, and what isn't

The Act defines personal data as any data about an individual who is identifiable by or in relation to that data. No name required — the test is whether you can single someone out. Run your own stack against this list before anyone sells you a compliance project.

A standard Indian analytics and ads setup, item by item.
What you collectPersonal data?Why
GA4 client ID (the _ga cookie)Treat as yesA persistent identifier that lets you follow one visitor across sessions. Singling out is the test, not naming.
Visitor IP addressTreat as yesGoogle's commitment not to log or store individual IPs is scoped to EU, Switzerland and UK traffic. Indian traffic is outside that scope.
User ID you send after loginYesIt is your own key back to a named account in your CRM. The least arguable item here.
gclid, ad cookies, remarketing audiencesTreat as yesThese exist to attribute a conversion to a person rather than a page, and to follow that person elsewhere.
Form submissions and lead exportsYes, unambiguouslyName, phone, email. The item that actually matters and the one privacy projects usually skip.
Session recordings and heatmapsYes, often sensitiveA replay of somebody typing into your checkout is about as identifiable as data gets.
Sessions, users, bounce rate, average positionNoNobody is identifiable in a count. Search Console query data is aggregated and thresholded before you see it.

The over-compliance that costs data and buys nothing

We have a direct stake in this. We're judged contractually on numbers that come out of these tools, so we watch clients destroy their own measurement in the name of a risk they haven't assessed. These are the five we see most, in rough order of damage.

None of these is a legal opinion. Each is a measurement cost with no matching compliance benefit.

  1. Dropping GA4 retention to two months. It doesn't reduce your exposure — the setting governs user- and event-level data used in explorations, and aggregate reports are unaffected either way. What it does is remove your ability to run a year-on-year path analysis. Fourteen months is the usual right answer, chosen deliberately.
  2. Deleting historical data "to be safe". You delete your baseline. Every measurement of whether anything worked afterwards is now an opinion. If a specific field has to go, delete that field.
  3. Blocking analytics entirely and falling back on server logs. Server logs contain full IP addresses and user agents. You swapped a documented, controllable pipeline for an undocumented one and called it caution.
  4. Cookie walls that block the page until the visitor accepts. Consent has to be free and unconditional, which sits badly with pay-with-your-data. It is also a conversion disaster on Indian mobile traffic.
  5. Turning off granular location and device data across the board while the lead form still posts unencrypted to a shared inbox. This is the pattern in miniature: the fix lands where it's easy, not where the personal data is.

What it does to your reporting, and to any number you're judged on

This is the part nobody warns founders about, and it matters more than the banner design.

Once a consent choice exists, some visitors decline, and the tags that would have measured them don't fire. Your analytics stops being a census and becomes a sample with an unknown response rate. Google's consent mode fills part of that hole with modelled numbers — estimates, clearly, and better than a hole, but not observations. Meanwhile the platforms keep reporting conversions their own way, so your GA4 total, your Ads total and your CRM count drift further apart than they already did.

Three practical consequences:

  • Deploying consent management breaks your baseline. Organic sessions can drop overnight with no change in actual visits. Either freeze the baseline before you deploy, or re-baseline immediately after — and write down which you did, with the date.
  • Year-on-year comparisons across the deployment date are not comparisons. Say so in the report rather than explaining it in month nine.
  • Guarantees have to be written against a number that survives. Ours is your trailing-90-day count of qualified leads from organic search, taken from your CRM, frozen on day one. We use the CRM deliberately: it is the one system whose count doesn't move when a tag stops firing. Beat it in 90 days or we keep working free until we do — and that only means anything if the number is stable. How we set a baseline has the full method.

Sources

  1. The Digital Personal Data Protection Act, 2023 (No. 22 of 2023)The Gazette of India, Ministry of Law and Justice · 2023-08-11
  2. Best practices to avoid sending Personally Identifiable Information (PII)Google Analytics Help
  3. EU, Switzerland, or UK-focused data and privacyGoogle Analytics Help
  4. Privacy controls in Google AnalyticsGoogle Analytics Help
  5. Set up consent mode on websitesGoogle for Developers, Tag Platform

Every source above was checked on 31 August 2026.

Related questions.

Is Google Analytics legal in India?

Nothing in the DPDP Act bans a named tool. The question is whether your processing has a lawful basis, an adequate notice and a real consent choice, and whether you're keeping personal data longer than the purpose requires. A properly configured GA4 with no PII in URLs or event parameters is a very different object from a default install.

Does the DPDP Act require a cookie banner?

It requires notice and consent for processing personal data, and a banner is the usual way to deliver both. But the trigger is different from Europe's: India has no rule making cookie storage itself the issue. So copy the mechanism if it helps, and don't copy the reasoning.

Is an IP address personal data under the DPDP Act?

Treat it as personal data. The Act's test is whether an individual is identifiable by or in relation to the data, and an IP combined with a timestamp and behaviour usually satisfies that. Note that Google's commitment not to log individual IPs is scoped to EU, Swiss and UK traffic, not Indian traffic.

Do small business websites in India need to comply?

The Act has no general small-business exemption, though it allows the government to notify classes of fiduciary, including startups, to whom some provisions don't apply. Assume you're in scope, then be proportionate: notice, a working consent choice, minimal collection and a short retention period covers most small sites.

Will consent banners hurt my analytics numbers?

Yes, and the drop is measurement, not reality. Some visitors decline, those tags don't fire, and modelled estimates fill part of the gap. Expect your reported organic sessions to fall on deployment day with no change in actual visits, and re-baseline rather than arguing about it later.

What is the single biggest DPDP mistake on Indian marketing sites?

Personally identifiable information leaking into places built for aggregate data — an email address in a thank-you page URL, a phone number in a site-search parameter, a name in a custom event. It's free to fix, it breaks Google's own policy as well as the Act's minimisation logic, and almost nobody checks.

Keep reading

Next, the thing you’ll ask after this.

Last slot's open

Make this the last growth call you book.

Grab the free strategy call and walk away with a 90-day growth plan — hired or not. Or just text us. Either way, you'll know exactly how we'd win.

Guaranteed or it's free · No lock-in · Free strategy call