
內容簡介
CookieVJ 是一款幫助網站遵循 GDPR 和 CCPA 規範的外掛,透過可自訂的 Cookie 同意橫幅通知訪客有關 Cookie 的使用並獲得他們的同意。此外掛還整合了 Google Tag Manager,方便進行分析和行銷標籤管理。
【主要功能】
• 零配置麻煩,開箱即用
• 符合 GDPR 和 CCPA 規範
• 輕量快速,無 jQuery 依賴
• 開發者友好,提供豐富的鉤子和過濾器
• 完全支援 WPML 和 Polylang 翻譯
外掛標籤
開發者團隊
② 後台搜尋「CookieVJ – Cookie Notice & Consent Banner」→ 直接安裝(推薦)
原文外掛簡介
CookieVJ helps your website comply with GDPR and CCPA regulations by displaying a customizable cookie consent banner to inform visitors about cookie usage and obtain their consent. Now with Google Tag Manager integration for seamless analytics and marketing tag management.
Why Choose CookieVJ?
Zero Configuration Hassle – Works out of the box with sensible defaults
Privacy First – GDPR and CCPA compliant by design
Lightweight & Fast – Minimal JavaScript, no jQuery dependency
Developer Friendly – Extensive hooks, filters, and clean code
Translation Ready – Fully compatible with WPML, Polylang, and translation plugins
Core Features
Immutable first landing page/source/medium/campaign/referrer and click IDs.
Last landing/source/medium/campaign/referrer updated on every page view.
Exit page is always the most recently tracked page.
First and last touch are identical on the first recorded visit.
Region-aware Europe, USA, and Global banner templates with separate consent cookies and expiries.
Premium responsive consent card with a persistent left-side privacy/cookie control so visitors can change their choice anytime.
Google Consent Mode v2 fields: ad_storage, analytics_storage, ad_user_data, ad_personalization, functionality_storage, security_storage, personalization_storage.
Standard GTM bootstrap and dataLayer events.
Optional IP storage, disabled by default.
No third-party GeoIP request from the browser. Auto-region detection uses common CDN country headers when available and provides a WordPress filter for custom detection.
Easy Setup – Configure in minutes from Settings → CookieVJ
GDPR & CCPA Compliant – Meet privacy regulations without legal headaches
Google Tag Manager Integration – Add your GTM container ID and manage tags based on consent
Customizable Design – Choose colors, position, and button text to match your brand
Multiple Positions – Display banner at bottom (full width), bottom left, or bottom right
Lightweight Performance – Minimal impact on page load speed (< 5KB minified)
Cookie-Based Storage – Uses proper browser cookies (not localStorage)
Translation Ready – Fully translatable with .pot file included
Clean Code – Object-oriented architecture following WordPress coding standards
GeoIP Integration – Automatically fetch and log user country using a free GeoIP service
Consent-Based Tag Loading – GTM tags respect user consent choices
No External Dependencies – Everything runs on your server
Banner Customization Options
Enable/Disable cookie banner
Customize banner message (supports HTML)
Change accept/reject button text
Choose banner position (bottom full width, bottom left, bottom right)
Select background color with color picker
Select button color with color picker
Add Google Tag Manager container ID
Set cookie expiration time (filterable)
Google Tag Manager Integration
The plugin integrates seamlessly with Google Tag Manager:
Simple Setup – Just add your GTM container ID (GTM-XXXXXXX) in the settings
Consent-Based Loading – GTM script loads automatically only after user accepts cookies
JavaScript API – Consent status available via window.cookievjConsent for conditional tag firing
DataLayer Events – Automatic dataLayer push events for consent changes
Consent Mode v2 – Compatible with Google Consent Mode v2 for enhanced privacy
No Code Required – Works immediately without custom JavaScript
Privacy & Compliance
This plugin helps you display cookie consent notices but does not provide legal advice. Please consult with a legal professional to ensure your website complies with applicable privacy laws.
Developer Information
CookieVJ is built with developers in mind:
Code Quality:
* Object-oriented architecture
* PSR-4 autoloading
* Proper sanitization and escaping
* Nonce verification for security
* Translation-ready with all strings wrapped
* No jQuery dependency
* Follows WordPress coding standards
Support
Need Help?
Bug Reports: GitHub Issues
Privacy Policy
Data Collection
CookieVJ stores minimal data to function:
GeoIP Service:
* Uses ipapi.co’s free GeoIP service to determine user country
* Country code is logged temporarily for compliance targeting
* No personally identifiable information (PII) is stored
* No data is shared with third parties
Third-Party Services
GeoIP Data: Provided by ipapi.co (free tier)
Love CookieVJ? Please leave a review ⭐⭐⭐⭐⭐
