跳到内容

Vlad Enterprises Cookie Consent

v1.2.1

nextdoorentertainment · 2026年7月8日 上架

GDPR cookie consent with script gating, category-based blocking, a preferences modal, and auto-clearing of analytics and marketing cookies.

正在使用
10 以下
评分
暂无
累计下载
292
最近更新
2026年7月8日
需要 WordPress 5.0+已测试到 7.0.9PHP 7.0+

Vlad Enterprises Cookie Consent is a lightweight, GDPR-minded cookie consent solution. It shows a consent banner on the first visit, gates analytics and marketing scripts until the visitor opts in, and automatically clears tracking cookies when consent is withdrawn.

Scripts are blocked before they run (not just hidden), so no analytics or marketing code executes without consent. A preferences modal lets visitors toggle categories at any time, and a shortcode or JavaScript API lets them reopen it later.

Key features

  • Consent banner shown automatically on first visit.
  • Preferences modal with per-category toggles (Necessary, Analytics, Marketing).
  • Script gating by consent: mark scripts with type="text/plain" and data-category and they only run once allowed.
  • Auto-clear of common analytics/marketing cookies (_ga, _gid, _gcl_au, _fbp, fr, hubspotutk, and more) when a category is declined.
  • Customizable banner position (5 positions), light/dark theme, cookie name and expiry.
  • [ccve_settings] shortcode to drop a “Cookie Settings” link anywhere.
  • JavaScript API: CookieConsent.show(), .showPreferences(), .acceptAll(), .rejectAll(), .getPreferences(), .reset().
  • Block and widget for the settings link.
  • Built-in English and Romanian text, fully editable.
  • Responsive design; runs early on wp_head so gating applies before third-party code loads.

This plugin helps you collect and respect consent. It does not, by itself, make your site legally compliant — you are responsible for your cookie policy and for categorizing your own scripts correctly.

External services

This plugin does not connect to, or send any data to, any external service. It runs entirely on your own site.

Cookie and tag detection is performed locally in the visitor’s browser by inspecting the cookies and <script> tags already present on the page. Service names such as googletagmanager.com or connect.facebook.net appear in the plugin only as text patterns used to recognise tags that your own site has added — the plugin itself never makes requests to those domains.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums