Home / Solutions / E-commerce and D2C
DPDP compliance for e-commerce, from first click to delivery.
Online brands collect personal data at every step and share it with a fast-changing growth stack. Whorl holds trackers back until people choose, records marketing consent by purpose and keeps every partner on the map.
The sector view
What DPDP means in e-commerce
Online brands collect personal data at every step: browsing, sign-up, checkout, delivery, reviews and retargeting. Much of it flows to ad platforms, messaging tools, payment gateways, logistics partners and analytics providers, many added by growth teams without a privacy review.
Consent for trackers and marketing must be free, specific and as easy to withdraw as to give. The Central Consumer Protection Authority's 2023 guidelines on dark patterns already treat tricks such as forced action, nagging and disguised choices as unfair trade practices, which applies directly to consent banners.
Large platforms have an extra duty. Under Rule 8 and the Third Schedule, e-commerce entities with at least two crore registered users in India must erase personal data after three years without contact from the user, with at least 48 hours' notice before erasure.
Delivery is where data leaves your control most often. Addresses and phone numbers travel to logistics partners, who are processors you remain responsible for.
Co-regulation
Rules that sit alongside the Act
The DPDP Act applies in addition to the rules you already follow. Where another law requires you to keep data, the Act allows it. This table shows where they meet.
| Rule | What it means for personal data | How Whorl records it |
|---|---|---|
| DPDP Rules, 2025, Rule 8 and Third Schedule | E-commerce entities with two crore or more registered users must erase data after three years of inactivity, with 48 hours' notice. | Inactivity clock per account, notices scheduled and erasure recorded. |
| Consumer Protection (E-Commerce) Rules, 2020 | Grievance officer, disclosures and complaint handling for e-commerce entities. | Grievance route shared with DPDP grievance redressal. |
| CCPA Guidelines for Prevention and Regulation of Dark Patterns, 2023 | Forced action, nagging, disguised choices and similar patterns are unfair practices. | Banner design with equal choices; every choice recorded with the design version. |
| TRAI Telecom Commercial Communications Customer Preference Regulations, 2018 | Commercial SMS and calls follow registered consent and preference rules. | SMS and call consent recorded by channel and synced with your messaging provider. |
| RBI card-on-file tokenisation rules | Merchants may not store customers' card data. | Payment data flows mapped to confirm no card data is stored. |
A summary for planning, not legal advice. Confirm how each rule applies to your organisation with your counsel.
Obligation map
Every DPDP duty, read for e-commerce
The Act and the DPDP Rules, 2025, section by section: what each duty means in this sector, and the evidence that shows it is met. Most duties apply from May 2027.
| Duty | What it means here | Evidence to keep |
|---|---|---|
| Section 5 and Rule 3Notice | Every point where a shopper gives data needs a notice: sign-up, guest checkout, newsletter pop-ups and app install. The notice must list each purpose, including retargeting and sharing with marketplaces or ad platforms, in clear language. | Notice versions by channel, with the date each went live and the version each shopper saw. |
| Section 6Consent and withdrawal | Consent for marketing, trackers and personalisation must be specific to each purpose and given freely, without pre-ticked boxes or forced bundling at checkout. Withdrawal must be as easy as consent, so an unsubscribe link or app toggle has to stop every channel and tool. | Consent records by purpose and channel, banner design versions and withdrawal timestamps with system confirmations. |
| Section 7Legitimate uses | Data a shopper voluntarily provides to complete an order can be used to fulfil that order, such as delivery and payment, without separate consent. Marketing, profiling and sharing with ad platforms are not covered and need consent. | A register of processing activities showing which rest on a legitimate use and which on consent. |
| Section 8(1) and 8(2)Processors | Payment gateways, logistics partners, messaging providers and analytics tools that process data on your behalf must be engaged under a valid contract. You remain responsible for what they do with customer data. | Signed contracts, data shared with each processor and review records. |
| Section 8(3)Accuracy | Where personal data is used to make a decision about a shopper or is shared with another fiduciary, it must be complete, accurate and consistent. Wrong addresses and phone numbers cause failed deliveries and messages to the wrong person. | Correction logs and address verification records for orders shared with partners. |
| Section 8(5) and Rule 6Security safeguards | Customer accounts, order history and saved addresses are attractive to attackers, especially through credential stuffing. Safeguards include encryption, access controls, monitoring and keeping logs for at least one year. | Safeguards register, access reviews, log retention settings and penetration test results. |
| Section 8(6) and Rule 7Breach intimation | A leak of customer lists or order data must be reported to the Board and each affected shopper without delay, with a detailed report to the Board within 72 hours. Specified cyber incidents also go to CERT-In within six hours. | Incident record with timestamps for each notification and copies of messages sent to shoppers. |
| Section 8(7) and Rule 8Erasure and retention | Data must be erased once the purpose is served or consent is withdrawn, unless law requires it to be kept, such as invoices for tax. Entities with two crore or more registered users in India must erase data after three years of inactivity, with 48 hours' notice. | Retention rules by data category, inactivity notices sent and erasure confirmations. |
| Section 8(9) and 8(10)Contact person and grievance redressal | You must publish contact details of the person who answers data questions and run an effective grievance mechanism. This can sit with the grievance officer you already appoint under the Consumer Protection (E-Commerce) Rules, 2020. | Published contact details, grievance log with dates received and resolved. |
| Sections 11 and 12Access, correction and erasure | Shoppers can ask what data you hold, who you shared it with, and ask for correction or deletion. Requests arrive through chat, email, app reviews and social media, and erasure must reach every tool. | Request log with identity checks, tasks per system and the response sent. |
| Sections 13 and 14Grievance and nomination | A shopper must exhaust your grievance route before approaching the Board, and grievances must be answered within the period the Rules set, up to 90 days. Shoppers can nominate someone to exercise their rights on death or incapacity. | Grievance timelines, escalation records and nominations on file. |
| Section 9Children's data | Many stores sell to teenagers, and anyone under 18 is a child under the Act. If you knowingly process children's data you need verifiable parental consent, and you cannot target ads at children or track their behaviour. | Age signals at sign-up, parental consent records and ad audience exclusions. |
| Sections 10 and 16Significant Data Fiduciary and cross-border transfer | Large platforms processing high volumes of data could be notified as Significant Data Fiduciaries, with a DPO in India, audits and DPIAs. Transfers abroad, such as to overseas analytics or ad tools, are allowed unless the destination is restricted by notification. | Data location for every tool, a watch on notifications and an SDF readiness file. |
Data inventory
The personal data you are likely to hold
A starting inventory for this sector: the main categories, where they come from, the usual legal basis, what drives how long you keep them, and how much harm a breach would cause.
| Category | Examples | Source | Usual basis | Retention driver | Sensitivity |
|---|---|---|---|---|---|
| Account data | Name, email, phone, password hash, login history | Sign-up and login | Consent and voluntary provision for the account | Account activity and the three-year inactivity rule for large platforms | Medium |
| Order and invoice data | Items, prices, invoices, GSTIN for business buyers | Checkout | Voluntary provision to complete the order | Tax law record-keeping periods | Medium |
| Delivery data | Address, phone, delivery instructions, proof of delivery photos | Checkout and logistics partners | Voluntary provision to deliver the order | Returns window and dispute period | Medium |
| Payment data | Payment token, UPI reference, refund details | Payment gateway | Voluntary provision; card data held only as tokens | Refund, chargeback and tax periods | High |
| Browsing and tracker data | Cookies, device IDs, pages viewed, ad identifiers | Website and app | Consent for non-essential trackers | Consent period set in your cookie policy | Medium |
| Marketing data | Email and SMS preferences, segments, campaign responses | CRM and marketing tools | Consent by purpose and channel | Until consent is withdrawn | Low |
| Support data | Chats, emails, call recordings, complaint notes | Support desk and social media | Voluntary provision to resolve the issue | Complaint resolution and legal claims periods | Medium |
| Reviews and user content | Reviews, photos, questions, display names | Product pages and app | Consent and voluntary provision | While the review is published, then erasure | Low |
Legal basis and retention depend on your facts. Treat this as a starting point for your own records of processing.
Journey map
Where personal data lives in your journeys
Each stage of the customer or employee journey collects different data and triggers different duties. Whorl gives each stage a control and an owner.
| Stage | Personal data collected | DPDP duty | Control in Whorl |
|---|---|---|---|
| Browsing | Cookies, device IDs, pages viewed, ad identifiers | Consent before non-essential trackers | Site scan; trackers held until consent |
| Sign-up and checkout | Name, phone, email, address, payment token | Notice before collection; purpose limited | Notice versions; checkout data mapped |
| Marketing | Email, SMS and WhatsApp preferences, segments, lookalike audiences | Consent by purpose and channel; easy withdrawal | Consent API checked by campaign tools |
| Delivery and returns | Address, phone, delivery photos, return reasons | Processor contracts and limits | Logistics partners with contracts and instructions |
| Support and reviews | Chats, emails, call recordings, reviews | Rights handled on time; grievance redressal | Requests from chat, email and social in one queue |
| Inactivity | Dormant accounts and order history | Erasure after three years for large platforms | Inactivity notices and erasure scheduled |
The hard parts
Where it gets hard
These are the issues we see most often when organisations in this sector start their DPDP programme.
Trackers before consent
Pixels and tags fire on page load unless they are held back, which is the most common gap on Indian sites.
Banners that nudge
Pre-ticked boxes and hard-to-find reject buttons are both a DPDP and a dark patterns problem.
A growth stack that changes weekly
New tools are added for every campaign, each receiving customer lists.
Customer lists everywhere
Segments are exported to ad platforms and agencies, and withdrawals do not follow them.
Delivery partners
Addresses and phone numbers go to many logistics and returns partners.
Requests through social media
Customers ask for deletion in chat, email, app reviews and on social media.
Four gates
How Whorl helps, pillar by pillar
Consent people can trust
- Cookie consent that scans your site and holds trackers until people choose
- Equal accept and reject choices, with every choice recorded
- Marketing consent by purpose and channel: email, SMS, WhatsApp and calls
- Withdrawal synced to campaign and ad tools
Requests from every channel
- Requests from chat, email, the website and social media in one queue
- Identity checks using the account or order
- Erasure routed to every tool holding the customer
- Evidence of every response
The growth stack on the map
- Inventory of trackers, martech, analytics and logistics tools
- Processor contracts and data shared with each
- Card data confirmed out of scope
- Inactivity tracking for the three-year rule
Proof of consent and control
- Consent records for every choice and banner version
- Breach workflow for customer data incidents
- Evidence for audits, marketplaces and partners
- DPIAs for new personalisation and AI features
In the product
See it in Whorl

A worked example
A shopper rejects marketing cookies
A first-time visitor lands on a product page and taps Reject non-essential.
- 0 s
Choice recorded with the banner version, time and a pseudonymous ID.
- 0 s
Trackers held. Advertising and attribution tags stay blocked; essential cookies run.
- Checkout
Notice shown at sign-up, with optional marketing consent by channel, unticked.
- Day 30
Choice respected. The shopper is excluded from retargeting audiences automatically.
- Audit
Proof on hand. The consent ledger shows the choice, the banner design and the tags held back.
Partners and processors
The partners who hold your data
You remain responsible for every processor under Section 8. This is the partner list we usually see in this sector, the role each usually plays, and what the contract should say.
| Partner | Usual role | Contract terms to include | Review |
|---|---|---|---|
| Payment gateways and aggregators | Depends on the arrangement | Tokenisation only, no card storage on your side, breach notice, data location in India for payment data. | Annual |
| Logistics and returns partners | Processor | Use addresses only for delivery, mask phone numbers, delete after delivery and returns window, breach notice. | Twice a year |
| Email, SMS and WhatsApp providers | Processor | Send only to consented lists, honour withdrawals within a day, no reuse of lists, TRAI rules for SMS. | Annual |
| Ad platforms and attribution tools | Depends on the arrangement | Receive data only after consent, no audiences built from children's data, clear terms on their own use. | Every quarter |
| Analytics and CDP providers | Processor | Purpose limits, data location, retention settings, deletion on request and on contract end. | Annual |
| Marketplaces and sellers | Fiduciary | Defined roles for customer data shared on orders, request forwarding and breach cooperation. | Annual |
Breach scenarios
Four incidents to rehearse
Under Rule 7, you must tell the Data Protection Board and each affected person without delay, and send the Board a detailed report within 72 hours. These are the incidents most worth drilling in this sector.
Credential stuffing on customer accounts
Attackers use leaked passwords to log in to accounts and see addresses and order history.
Force password resets for affected accounts, block the attacking sources and confirm which accounts were accessed. Open an incident record and start the Board, CERT-In and customer notification clocks.
Data Protection Board, affected customers, CERT-In
Customer list exposed by a marketing tool
A misconfigured export or shared link exposes a customer segment held in a marketing platform.
Revoke the link, ask the vendor to confirm access logs and lock the export feature. Identify the customers in the segment and draft plain-language notices.
Data Protection Board, affected customers, the vendor
Logistics partner breach
A courier's system is breached and delivery addresses and phone numbers are taken.
Get the partner's incident details in writing and suspend new data sharing if needed. Work out which of your orders were affected and prepare customer notices.
Data Protection Board, affected customers
Tracker leak through a third-party script
A tag on the checkout page sends personal data to an outside domain.
Remove the tag, preserve evidence of what was sent and to whom, and scan every page for similar scripts. Assess whether personal data left your control and record the decision.
Data Protection Board and affected customers if personal data was exposed
Measures
KPIs your board will ask for
Eight measures that show whether the programme works in practice, each tracked in Whorl. Set targets that match your published timelines and risk appetite.
Trackers firing before consent
The most common site exposure.
Target: zeroReject rate on the banner
A very low rate can signal a nudging design.
Watch: stable and plausibleMarketing consents with a channel recorded
Email, SMS, WhatsApp and calls separately.
Target: 100 per centDeletion requests closed on time
Including those from social and chat.
Target: 100 per cent within your published timelineTools with a contract and data map entry
The growth stack under control.
Target: every tool receiving customer dataWithdrawals synced to ad audiences
Stops lists outliving consent.
Target: within one dayDormant accounts notified before erasure
For platforms under the Third Schedule.
Target: 48 hours' notice every timeConsent records with a banner version
Proof for audits and disputes.
Target: 100 per centPenalty exposure
Where the penalties sit for this sector
The Data Protection Board decides penalties case by case, up to the maximums in the Schedule to the Act, taking into account the nature, gravity and duration of the breach and the steps taken to mitigate it.
| Failure | Maximum penalty | How it could happen here |
|---|---|---|
| Failure to take reasonable security safeguards | Up to ₹250 crore | Customer accounts taken over because there was no rate limiting or monitoring. |
| Failure to notify a personal data breach | Up to ₹200 crore | A leaked customer list handled quietly without telling the Board or customers. |
| Breach of children's data obligations | Up to ₹200 crore | Retargeting ads shown to teenage shoppers built from their browsing data. |
| Breach of other provisions | Up to ₹50 crore | Trackers firing without consent, or dormant accounts not erased under the three-year rule. |
See DPDP penalties for the full Schedule.
Getting started
A practical first 90 days
Weeks 1 to 2: assess
Scan the site and app; review sign-up, checkout, marketing and delivery flows.
Weeks 3 to 6: map
Inventory trackers, martech, analytics and logistics tools; record contracts.
Weeks 7 to 10: operate
Launch cookie consent, marketing consent by channel and the request queue.
Weeks 11 to 13: prove
Report consent rates and tracker controls; set up inactivity tracking if you are a large platform.
Ownership
Who does what
A starting point for ownership, adapted to how organisations in this sector are usually structured. Titles will differ; the split of accountability matters more.
| Activity | Accountable | Responsible | Consulted | What Whorl does |
|---|---|---|---|---|
| Cookie and tracker consent | Chief marketing officer | Growth and web teams | DPO, legal | Site scan, banner, tracker control and records |
| Marketing consent | Head of CRM | Lifecycle marketing | DPO | Consent by purpose and channel; sync to tools |
| Martech and logistics partners | Chief technology officer | Engineering and operations | DPO, legal | Contracts, data shared and reviews |
| Customer requests | DPO | Customer support | Engineering, legal | Queue, verification and erasure across tools |
| Breach response | CISO | Security and engineering | DPO, communications | Board and customer intimation |
Self-check
A 20-point readiness checklist
Tick what is already in place. Nothing you tick leaves this page. For a scored result, take the readiness assessment.
0 of 20 in place
Learn from others
Common mistakes in this sector
Loading tags before the banner
Most tag managers fire pixels on page load unless they are wired to the consent choice. A banner that records a choice but does not block tags gives no protection.
Bundling marketing into checkout
A single box that agrees to terms and marketing together is not specific consent. Marketing consent needs its own unticked choice.
Treating unsubscribe as one channel
A shopper who unsubscribes from email often still gets SMS and WhatsApp. Withdrawal should apply to the purpose, across channels.
Forgetting exported audiences
Customer lists uploaded to ad platforms stay there after consent is withdrawn. Audiences need to be refreshed or deleted on a schedule.
Keeping everything for tax
Tax law covers invoices, not browsing history or marketing segments. Keep only what the law requires and erase the rest.
Governance
Six questions your board should ask
Questions directors can put to management at the next audit or risk committee. Each one has an answer in Whorl.
- Do any trackers fire on our site before a shopper makes a choice?
- How long does a withdrawal take to reach every marketing and ad tool?
- Which partners hold our customers' addresses, and when did we last review them?
- Are we within the two crore user threshold for the three-year erasure rule, and are we ready?
- Has our consent banner been reviewed against the dark patterns guidelines?
- When did we last rehearse a breach involving a partner?
Questions this sector asks first
Do we need consent for every marketing message?
Where consent is the basis, it must be specific to the purpose. Whorl records consent by purpose and channel so campaigns can check it before sending.
What about trackers on our site?
Whorl's cookie consent scans your site, holds back non-essential trackers until consent and records every choice with the banner version.
Does the three-year erasure rule apply to us?
It applies to e-commerce entities with at least two crore registered users in India. Smaller brands still must erase data once the purpose is served. Whorl tracks inactivity and schedules notices either way.
Are logistics partners our processors?
Where they process customer data on your behalf, yes. Whorl keeps their contracts and instructions on file.
How do dark patterns rules affect our banner?
The CCPA's 2023 guidelines treat forced action, nagging and disguised choices as unfair practices. A banner with equal, clear choices meets both those guidelines and the Act's standard for free consent.
Can we keep order history for tax?
Yes, where tax or other law requires it. Whorl records the rule and keeps only what it covers, while marketing data is erased.
Can we use order data to recommend products?
Recommendations based on past orders go beyond fulfilling the order, so rely on consent for personalisation and let shoppers switch it off.
Do guest checkouts need a notice?
Yes. Guest buyers are Data Principals too. Show a short notice at checkout and record the version given.
What should we do with abandoned cart emails?
Abandoned cart reminders are marketing. Send them only where the shopper has consented to that purpose and channel.
How do we handle a deletion request when an order is open?
Complete what the open order and the law require, erase everything else, and tell the shopper what you are keeping and why.
Bring one journey from your own business.
We will map it through notice, consent, rights, processors and evidence in thirty minutes.