
外掛標籤
開發者團隊
② 後台搜尋「Vlad Enterprises Cookie Consent」→ 直接安裝(推薦)
原文外掛簡介
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
