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/empirextech/empire-cookie-consent-wp/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Empire Cookie Consent for WordPress
Free GDPR cookie bar (RO/EN). Necessary cookies vs all. Analytics stay off until consent.
Built by SC EMPIRE GLOBAL SOLUTIONS SRL (EMPIREX Tech).
Shop: empirex.tech/shop/empire-cookie-consent-wp
SKU EMP-WP-COOKIE-FREE · WordPress 5.8+ / 6.x · PHP 8.0+ · GPL-2.0-or-later
Original EMPIREX module. Not a client dump. Not a legal opinion — your privacy policy URL still belongs in Settings.
What it does
- Banner until
empire_cookie_consentis set (necessary|all) window.empireCookieAnalyticsis0or1inwp_head- Gate third-party scripts with
if (window.empireCookieAnalytics) { ... } - Event
empire-cookie-consentafter a choice - 180-day
SameSite=Laxcookie
Install
- Download the ZIP from Empire Shop (free) or clone this repo
- Plugins → Upload → Activate
- Settings → Empire Cookie (privacy URL, language)
Tests
php tests/run.php