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
- 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.cookievjConsentfor 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 ⭐⭐⭐⭐⭐
