Description
India’s Digital Personal Data Protection Act, 2023 requires consent that is free, specific and as easy to withdraw as to give. Kavin DPDP Cookie Consent makes sure no analytics or advertising tag runs until a visitor agrees.
What happens on your site
- On the first visit, nothing optional loads. Google Consent Mode v2 is set to “denied” before any tag can run.
- The banner offers Accept all and Reject all with equal weight, plus a Choose option with a switch for Analytics and one for Advertising.
- Each category shows exactly which tools it covers, what they collect, their cookies, how long they are kept and who receives the data.
- Tags load only for the categories the visitor allows. Allowing Analytics does not allow Advertising.
- A “Privacy choices” button stays on every page, so visitors can change or withdraw their choice at any time. Withdrawing deletes that category’s cookies.
- Every choice is saved as a consent record with the time and notice version. No name, email or raw IP address is stored.
Tools the plugin can load for you
Google Analytics 4, Google Ads, Meta Pixel, Microsoft Clarity and Microsoft Ads (UET). Enter the ID and the plugin adds the tag only after consent.
Tags added by your theme or other plugins
Known tracking scripts added elsewhere, including Google Analytics, Google Ads, Google Tag Manager, AdSense, Meta Pixel, Microsoft Clarity and Ads, Hotjar, Jetpack Stats, WooCommerce order attribution, TikTok and LinkedIn, are held back the same way and released after consent.
“Scan my site now” opens your key pages as a visitor would and lists every tag it finds, with its ID and the plugin that added it: Site Kit, Rank Math, MonsterInsights, GTM4WP, PixelYourSite, Facebook for WooCommerce, WPCode, or code pasted into the theme.
If Site Kit by Google is installed, its Analytics, Ads, Tag Manager and AdSense IDs are read automatically. Nothing needs copying across.
WooCommerce
- Separate, unticked boxes for email offers and WhatsApp offers at checkout and account signup. Works with the classic checkout and the Checkout block.
- Each order gets a note saying what the customer agreed to and declined, with the notice version, shown on the order screen.
- Customers change or withdraw their choice in My Account Account details. An unticked box at checkout never cancels an earlier yes.
Also included
[kvn_dpdp_form_notice]– the one-line privacy notice to place under a contact form.[kvn_dpdp_choices]– a “Privacy choices” link for your footer or menu.- “Ask everyone again” – raise the notice version and every visitor is asked again.
- CSV export of all consent records.
Kavin DPDP Cookie Consent Pro (optional, paid)
This plugin is complete on its own, and nothing in it is locked. If you also need the rest of the DPDP Act’s notice and rights work, Kavin DPDP Cookie Consent Pro is a separate plugin that adds to this one:
- The consent banner in all 22 languages of the Eighth Schedule, in place of English and Hindi.
- A privacy notice page built from what your site actually does, in English and every language your banner offers.
- A privacy request form with a response clock and a list of what is due, so visitors can ask for their data, correction, deletion, or withdraw consent.
- Re-notice emails to the people whose data you already hold.
Pro costs $20 a year or $80 once, with a 14-day money-back guarantee. Details and purchase: kavinstudios.com/wordpress/kavin-dpdp-cookie-consent
This plugin helps you meet the DPDP Act’s consent requirements. It is not legal advice, and your privacy notice must still describe what your site actually does.
External services
This plugin can load the tracking tools below on your site. Each one loads only when you enter its ID on the Tracking tools tab (or Site Kit by Google already holds it), and only after the visitor allows that tool’s category in the banner. Nothing is sent to these services before consent, and nothing is sent to Kavin Studios at any time.
Google tag (Google Analytics 4 and Google Ads)
Loaded from googletagmanager.com when the visitor allows Analytics (Google Analytics) or Advertising (Google Ads). Google receives the pages viewed, device and browser details, approximate location, and for Google Ads, ad clicks and purchases, as described in the banner.
Terms · Privacy policy
Meta Pixel
Loaded from connect.facebook.net when the visitor allows Advertising. Meta receives pages viewed, products added to cart and purchases, which it can link to the visitor’s Facebook or Instagram account.
Terms · Privacy policy
Microsoft Clarity
Loaded from clarity.ms when the visitor allows Analytics. Microsoft receives clicks, scrolling and mouse movement, and session replays with typed text hidden.
Terms · Privacy statement
Microsoft Advertising (UET)
Loaded from bat.bing.com when the visitor allows Advertising. Microsoft receives ad clicks and purchases from Bing and Microsoft ads.
Terms · Privacy statement
Tags that your theme or other plugins add are not loaded by this plugin; it only holds them back until consent.
Screenshots





Installation
- Upload the plugin and activate it.
- Go to Kavin Studios DPDP Consent.
- Enter the IDs of the tools you want the plugin to load, or leave the switch on to hold back tags added by other plugins.
- On the Banner and notice tab, choose your privacy notice page and enter your grievance contact email.
- Open your site in a private window to see the banner.
FAQ
-
Is there a Pro version?
-
Yes. Kavin DPDP Cookie Consent Pro is a separate, paid plugin that adds 22 banner languages, a privacy notice page, a privacy request form and re-notice emails. This plugin does not connect to any Pro service and works fully without it. See the Pro page.
-
Yes. The page is always sent with tags held back, and the choice is read in the visitor’s browser, so a cached page never has tracking switched on.
-
Which Google Consent Mode is used?
-
Basic mode. Google tags are not loaded at all until the visitor allows them, so nothing reaches Google before consent.
-
No. With no tracking tools configured or found, no banner is shown. The form notice shortcode still works.
-
Where is the consent record kept?
-
In a table in your WordPress database. The IP address is stored only as a one-way hash.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Kavin DPDP Cookie Consent” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Kavin DPDP Cookie Consent” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.2
- First release on WordPress.org.
- The plugin’s cookie icon at the top of its settings screen and on the Kavin Studios All Plugins page.
0.1.0
- Site scan: finds every tracking tag on the site with its ID and the plugin that added it. Reads IDs from Site Kit automatically. AdSense added.
- WooCommerce: separate, unticked email and WhatsApp offer choices at checkout, signup and My Account.
- English / Hindi switch in the banner, and a line naming the business and privacy contact with notice, withdrawal, rights and grievance links.
- First version: banner, script blocking, Google Consent Mode v2, consent records, form notice.
