---
title: "How does the DPDP Act treat website tracking? | dpdpr.in"
description: "If a website tag identifies a person, the DPDP Act treats that as personal data. From 13 May 2027 you need a clear notice and a lawful ground."
url: "https://dpdpr.in/learn/websites/dpdp-website-tracking/"
canonical: "https://dpdpr.in/learn/websites/dpdp-website-tracking/"
site: "dpdpr.in"
updated: "2026-11-24"
disclaimer: "Independent reference, not legal advice. Not affiliated with the Government of India or MeitY."
license: "https://creativecommons.org/licenses/by/4.0/"
attribution: "Credit dpdpr.in and link to https://dpdpr.in/learn/websites/dpdp-website-tracking/"
---

# How does the DPDP Act treat website tracking?

If a website tag identifies a person, the DPDP Act treats that as personal data. From 13 May 2027 you need a clear notice and a lawful ground.

By Subhash Dasyam. Last reviewed 24 November 2026.

## Learning objectives

After reading this page you will be able to:

- Tell when a website tag processes personal data
- Apply notice, consent and processor rules to analytics, ads, replay and server-side tagging
- Avoid treating an unnamed tool, or a server-side design, as exempt

**Related content:** [Do Indian websites need a cookie consent banner?](https://dpdpr.in/learn/websites/cookie-consent-banner-india/) · [What is a Data Fiduciary under the DPDP Act?](https://dpdpr.in/learn/basics/what-is-a-data-fiduciary/)

## In simple words

- **Tag or pixel:** A small piece of code, or a server process, that records how people use a website or app.
- **Session replay:** A tool that records or reconstructs a visit, sometimes including what was typed or clicked.
- **Server-side tagging:** Sending the same kind of data from your server, rather than only from the person's browser.
- **Lawful ground:** Consent, or a use the Act itself lists. Ordinary analytics and advertising are not automatically listed.

## Key takeaways

- If a tag identifies a person, the DPDP Act applies, even if the official text never names the tool.
- From 13 May 2027, ordinary analytics and advertising tags usually need a clear notice and consent. Server-side tagging has no special exemption.
- You stay responsible if you decide to deploy the tag. A vendor may be a processor, or in some cases also a Data Fiduciary. That is fact-specific.

## How does the DPDP Act treat website tracking?

If a tracking tag identifies a person, it is personal data under the Act. From 13 May 2027 you need a clear notice and a lawful ground, usually consent, before you use it. The official text does not name GA4, the Meta Pixel, session replay or server-side tagging, and it gives those tools no special exemption.

If a tracking tag identifies a person, the Act treats that data as personal data. From 13 May 2027 you need a clear notice and a lawful ground, which for ordinary analytics and advertising is usually consent. The official text does not name GA4, the Meta Pixel, session replay or server-side tagging. It also gives them no special exemption.

## When is a tag personal data?

Ask whether a person can be identified by, or in relation to, the data. A name, email, phone number, or a unique ID that points to a person can be personal data. A raw count of visits, with no way to tell one person from another, may not be. Many common tags sit in the first group. You have to look at what your tag actually collects, not at its brand name.

## What about GA4 and similar analytics tools?

The official text does not mention Google Analytics 4. If you use an analytics tool that stores unique IDs, or other details that identify a person, you are processing personal data. You decide to put the tool on your site, so you are usually the Data Fiduciary. You need a notice that states this purpose, and a lawful ground. Do not assume that "analytics" is already allowed as a listed legitimate use. If you cannot point to a clause in section 7, you need consent. You also need a valid contract if the vendor processes the data on your behalf, and you stay responsible for that processing.

## What about the Meta Pixel and advertising tags?

The official text does not mention the Meta Pixel. An advertising pixel that measures visits, builds audiences, or aims ads at people is, in most setups, processing personal data for a marketing purpose. That purpose needs a specific, informed consent if no listed legitimate use applies. If the person is a child, targeted advertising directed at children is not allowed, except within the narrow Fourth Schedule conditions, which do not include ordinary marketing. Whether the vendor is only a processor, or also a Data Fiduciary for its own purposes, depends on who decides why and how the data is used. The official text does not settle that for any named vendor.

## What about session replay?

Session replay tools can record a visit, including clicks, movements, and sometimes what was typed. If those recordings identify a person, they are personal data. The notice must describe this purpose in clear words. Consent, where required, must be specific to this use, not hidden inside a general "we use cookies" line. Think carefully before recording fields that may include passwords or other sensitive details. The official text does not name these tools, but the general duties still apply. Security and purpose limitation apply too.

## Does server-side tagging avoid the Act?

No. Server-side tagging means your server sends the data, rather than only the browser. If personal data is still processed, the same duties apply. There is no official exemption for this design. You may still need consent, a notice, a processor contract, and the child-data rules. The design may change your security and contract picture. It does not take the site out of the Act.

## Is a cookie banner enough?

A banner that only says "we use cookies" is unlikely to meet the notice and consent rules, if personal data is being processed. The notice must itemise the personal data and the purposes, in clear and plain language. Consent must be a clear yes, specific to the purpose, and as easy to take back as it was to give. See [the cookie banner page](https://dpdpr.in/learn/websites/cookie-consent-banner-india/) for the general consent-screen questions. These DPDP notice and consent duties start on 13 May 2027.

## What does this mean for you?

These are made up examples to show how the rule works. They are not real businesses, and they are not legal advice.

- **A coaching site with an analytics tag.** Imagine a coaching centre that adds an analytics tag to count visitors and also stores a unique ID for each browser. If that ID can identify a person, the centre is processing personal data. From 13 May 2027 it needs a clear notice and a lawful ground, usually consent, before it runs that tag.
- **A shop with an advertising pixel.** Imagine a shop that puts an advertising pixel on its order thank-you page to retarget buyers. That is a marketing purpose. The shop should not treat it as automatically allowed without consent, and it must not aim such ads at children.
- **A clinic with session replay.** Imagine a clinic website that records visits, including what patients type into a callback form. Those recordings can be personal data, and may include health-related details the person types. The clinic would need a specific notice and a lawful ground, and should think hard before recording that form at all.
- **A travel agent who moves tags to the server.** Imagine a travel agent who is told that server-side tagging avoids privacy law. If the agent's server still sends customer IDs to a vendor, the Act still applies. The move does not create an official exemption.

## What do you need to do?

1. List every tag, pixel, replay tool and server-side stream on your site or app, and write down what data each one sends.
2. For each one, decide whether a person can be identified. If yes, treat it as personal data.
3. Add each purpose to your notice, in clear words, and decide the ground. For ordinary analytics and advertising, plan for consent.
4. Put a valid contract in place with each vendor that processes the data on your behalf, and do not assume the vendor has taken your place as Data Fiduciary.
5. Turn off tracking, behavioural monitoring and targeted ads directed at children, unless a Fourth Schedule condition clearly applies.
6. Do not treat server-side tagging as a way around the Act. Re-run the same tests after you change the design.

## Myth or fact?

- **Myth:** If the official text does not name GA4 or the Meta Pixel, those tools are outside the Act.
**Fact:** No. The Act applies to personal data, whatever tool you use. The brand name is not the test.
- **Myth:** Server-side tagging is exempt.
**Fact:** No. The official text has no such exemption. If personal data is processed, the duties apply.
- **Myth:** A single 'accept cookies' bar covers analytics, ads and session replay together.
**Fact:** Consent must be specific to the purpose. A general bar that does not itemise purposes is unlikely to meet that test.

## Do I need a lawyer?

A small site can inventory its tags and fix its notice without a lawyer. Get advice if a vendor's role is unclear, if you record form input, if you advertise to a mixed adult and child audience, or if you transfer tag data abroad. This page is not legal advice, and it is not an official ruling on any named product.

**Does the DPDP Act apply to you?** Answer up to six questions with the free [Am I covered?](https://dpdpr.in/am-i-covered/) checker, then work through the [compliance checklist](https://dpdpr.in/guides/compliance-checklist/).

## What does the law say exactly?

This part is for readers who want the exact legal position. It uses legal terms and gives the section and rule numbers, with links to the official text.

### When is website tracking personal data processing?

[section 2](https://dpdpr.in/act/section-2/)(t) defines personal data as any data about an individual who is identifiable by or in relation to such data. [section 2](https://dpdpr.in/act/section-2/)(x) and [section 2](https://dpdpr.in/act/section-2/)(n) cover processing and digital personal data. Identifiers commonly stored by website tags, such as a unique cookie identifier, a mobile advertising identifier, an email, or a phone number, can be personal data if the individual is identifiable by or in relation to that data. The official text does not name Google Analytics 4, the Meta Pixel, session replay tools, or server-side tagging. Those names appear on this page only as widely used examples of tracking techniques. Whether a particular implementation identifies a person is a question of fact.

### What ground and notice are required?

From 13 May 2027, [section 4](https://dpdpr.in/act/section-4/) allows processing of personal data only in accordance with the Act, and for a lawful purpose, on the basis of consent or a certain legitimate use in [section 7](https://dpdpr.in/act/section-7/). [section 5](https://dpdpr.in/act/section-5/) and [rule 3](https://dpdpr.in/rules/rule-3/) require a notice in clear and plain language that itemises the personal data and the purposes. [section 6](https://dpdpr.in/act/section-6/) requires consent to be free, specific, informed, unconditional and unambiguous, by a clear affirmative action, limited to the data needed for the specified purpose. Withdrawal must be comparable in ease. The official text does not say that a pre-ticked box, or a banner that says only "we use cookies", is enough. It also does not create a standalone "cookie law". The test is whether personal data is processed, and whether consent or a listed legitimate use, plus notice, is in place.

[section 7](https://dpdpr.in/act/section-7/) lists certain legitimate uses. Marketing and analytics tags do not automatically fall within those uses. If you rely on a legitimate use, you must be able to point to a listed clause. If you cannot, you need consent.

### Who is the Data Fiduciary, and who is the processor?

The site or app operator that decides to deploy a tag, and decides why the data is collected, is typically the person who determines purpose and means, and is therefore a Data Fiduciary under [section 2](https://dpdpr.in/act/section-2/)(i). A tag vendor may be a Data Processor under [section 2](https://dpdpr.in/act/section-2/)(k) if it only processes on that operator's behalf. Some vendors also decide their own purposes, for example to improve a separate advertising network. The official text does not classify any named vendor. If a vendor determines purpose and means, alone or in conjunction with the operator, it may itself be a Data Fiduciary. That is a fact-specific question. [section 8](https://dpdpr.in/act/section-8/)(2) requires a valid contract before you engage a Data Processor. [section 8](https://dpdpr.in/act/section-8/)(1) keeps the Data Fiduciary responsible for processing done on its behalf.

### What if children use the site?

[section 9](https://dpdpr.in/act/section-9/)(3) prohibits tracking or behavioural monitoring of children and targeted advertising directed at children, subject only to [rule 12](https://dpdpr.in/rules/rule-12/) and the Fourth Schedule. A tag used for those ends on a child is not saved by a general analytics purpose. See the [children's data guide](https://dpdpr.in/guides/childrens-data/).

### Does server-side tagging change the legal test?

No official text creates a special exemption for server-side tagging. If personal data is still processed, the same duties apply: notice, a lawful ground, purpose limitation, a processor contract where a vendor acts on your behalf, security, and the child-data rules. Moving a tag from the browser to your server may change who technically sends the data. It does not, in the official text, remove the Act.

These duties start on 13 May 2027 under G.S.R. 843(E). Other laws, including the Information Technology Act, 2000, may also apply.

## FAQs

### Does this page mean GA4 is illegal in India?

No. It means that if the tool processes personal data, the Act's duties apply from 13 May 2027. The official text does not ban the tool by name, and it does not exempt it either.

### Can I rely on a legitimate use instead of consent for analytics?

Only if you can point to a clause in section 7. Ordinary analytics and advertising are not named there. If you are not sure, do not invent a ground.

### Does a contract with the vendor shift all duty to them?

No. Section 8(1) keeps the Data Fiduciary responsible for processing done on its behalf. A valid contract is required, but it cannot write that responsibility away.

## Related terms

- [personal data](https://dpdpr.in/glossary/#personal-data): Any data about an identifiable individual.
- [Data Fiduciary](https://dpdpr.in/glossary/#data-fiduciary): The organisation or person that decides why and how personal data is used.
- [Data Processor](https://dpdpr.in/glossary/#data-processor): Someone who processes data on behalf of a Data Fiduciary.
- [processing](https://dpdpr.in/glossary/#processing): Almost anything done with personal data by automated means, from collection to erasure.

## More about websites, cookies and marketing

- [Do Indian websites need a cookie consent banner?](https://dpdpr.in/learn/websites/cookie-consent-banner-india/)
- [How does the DPDP Act treat children's data?](https://dpdpr.in/guides/childrens-data/)
- [Section 6. Consent](https://dpdpr.in/act/section-6/)
- [All websites, cookies and marketing questions](https://dpdpr.in/learn/websites/)

## Sources

Every fact on this page is checked against these documents. Where a law firm analysis is used, the page says so.

- [The Digital Personal Data Protection Act, 2023 (MeitY copy of the Gazette)](https://www.meity.gov.in/static/uploads/2024/02/Digital-Personal-Data-Protection-Act-2023.pdf) Official source
- [Digital Personal Data Protection Rules, 2025, G.S.R. 846(E) (MeitY copy of the Gazette)](https://www.meity.gov.in/static/uploads/2025/11/53450e6e5dc0bfa85ebd78686cadad39.pdf) Official source
- [Notification G.S.R. 843(E), 13 November 2025: commencement dates of the DPDP Act](https://www.meity.gov.in/static/uploads/2025/11/c56ceae6c383460ca69577428d36828b.pdf) Official source

Written and reviewed by Subhash Dasyam. Published 24 November 2026. Last reviewed 24 November 2026. Independent explainer, not legal advice. Found an error? See [corrections](https://dpdpr.in/corrections/).
