PN Cookies Manager is a lightweight, privacy-focused WordPress plugin that helps your website comply with GDPR, CCPA, LGPD and ePrivacy Directive regulations.
Display a fully customizable cookie consent banner, register the cookies your site uses, and let visitors manage their preferences with granular category-based controls.
Cookie Consent Banner
- Fully customizable banner with three layout options: full-width bar, compact box, and floating card.
- Position the banner at the top, bottom, or center of the screen.
- Horizontal alignment control (left, center, right) for box and floating layouts.
- Three action buttons always visible: Accept All, Reject All, and Cookie Settings.
- Background overlay option to focus user attention on the banner.
- Configurable border radius for buttons and banner corners.
- Responsive design that adapts to mobile and tablet screens.
- Smooth open/close animations.
- Re-open floating button so visitors can change their preferences at any time.
Cookie Preferences Panel
- Slide-in settings panel with cookie categories: Necessary, Functional, Analytics, Performance, and Advertising.
- Toggle switches per category (Necessary is always on and cannot be disabled).
- Expandable sections showing the registered cookies for each category with name, duration, and description.
- Accept All and Save Preferences buttons within the panel.
Cookie Registry
- Register the cookies your site uses organized by category.
- Define cookie name, duration, and description for each entry.
- Quick-add preset buttons for common cookies: WordPress defaults, Google Analytics (GA4), Google Ads, Google Merchant, Facebook Pixel, and more.
- “Add all” button to insert all presets for a category at once.
Customizable Design
- Full color control: background, text, accept button, reject button, and settings button colors.
- All colors applied via CSS custom properties for consistent theming.
- Admin preview button to see how the banner will look before publishing.
Google Consent Mode v2
- Built-in Google Consent Mode v2 integration.
- Outputs default consent state in the page head before any Google tag scripts load.
- Automatically updates consent signals (ad_storage, ad_user_data, ad_personalization, analytics_storage, functionality_storage, personalization_storage) when visitors change their preferences.
- Works with Google Analytics 4, Google Ads, and Google Tag Manager.
Privacy & Compliance
- Configurable consent cookie duration (1-395 days) following GDPR/CNIL/EDPB guidelines (max 13 months recommended).
- Privacy Policy link option in the banner.
- Consent stored in a browser cookie (no server-side tracking).
- All banner texts are translatable by default; custom text overrides are also supported.
Translations
- Fully translation-ready with complete .pot file.
- All default texts (button labels, category names, descriptions) are translatable via standard WordPress i18n.
- Spanish (es_ES) translation included.
- Compatible with translation plugins like Loco Translate and Polylang.
Lightweight & Developer Friendly
- No external dependencies for the front-end banner (jQuery only).
- Deferred script loading for minimal performance impact.
- Clean CSS class naming convention (pn-cookies-manager-*) for easy custom styling.
- Hooks and filters for developer extensibility.