Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/epifive/website-privacy-kit-wp/archive/refs/heads/main.zipEpiFive Website Privacy Kit for WordPress
WordPress plugin that connects your site to your own EpiFive Website Privacy Kit server: a DPDP consent banner, script gating, Google Consent Mode v2 defaults, privacy hub links and consent checkboxes for forms (Contact Form 7, WPForms).
Not legal advice. It helps you organise DPDP Act 2023 / DPDP Rules 2025 tasks; it does not make a website compliant on its own. You are the Data Fiduciary. Legal texts are drafts pending lawyer review. The Privacy Kit is not a Consent Manager registered with the Data Protection Board of India.
Features
- Loads the banner (
w.js) from your Privacy Kit server with your site key, async in the head. - Script gating:
script-handle=purpose_keylines turn enqueued scripts intotype="text/plain" data-wpk-purpose="…", so they run only after consent. Developers can use theepifive_wpk_gated_handlesfilter. - Google Consent Mode v2 "denied" defaults printed before any Google tag.
[wpk_privacy_link text="Privacy centre"],[wpk_privacy_choices text="Privacy choices"]and a Privacy hub link block.[wpk_form_consent purposes="marketing_email" field="email"]for any form, a[wpk_consent marketing_email field:your-email]Contact Form 7 form tag, and optional checkboxes in every Contact Form 7 or WPForms form. Choices are recorded in the consent log with the email.- Translation-ready (
languages/), Hindi included. - No external calls except the server address you configure; no tracking.
Install
- Run a Privacy Kit server: Free (MIT) https://github.com/epifive/website-privacy-kit or Pro https://www.epifive.com/products/website-privacy-kit-pro. Hosted plans coming soon.
- In its dashboard: publish your notice, add this website (Dashboard → Websites) and copy the site key. Add your WordPress domain as the website's domain or an allowed origin.
- Copy this folder to
wp-content/plugins/epifive-website-privacy-kit/(or upload the ZIP) and activate EpiFive Website Privacy Kit. - Settings → Website Privacy Kit: server address, site key, Test connection.
Development
- PHP 7.4+ and WordPress 6.3+.
php -lon every file; follows the WordPress coding standards (escaping, sanitising, nonces, prefixed namesepifive_wpk_/EpiFive_WPK_). - The block editor script (
blocks/privacy-link/index.js) uses thewp.*globals: no build step. readme.txtis the WordPress.org listing.
More open-source projects: https://www.epifive.com/open-source · Custom setup: https://www.epifive.com/services#custom-app-development
Licence
GPL-2.0-or-later © 2026 EpiFive