SunnyGDPR
Lightweight, high-performance GDPR cookie consent banner with zero frontend dependencies and post-consent code injection.
Use with caution
SunnyGDPR works, but test it on a staging site before relying on it in 2026. Was last updated 1 month ago, and scores 60/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where SunnyGDPR stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cookie banner | >100 |
| cookie consent | >100 |
| GDPR | >100 |
| privacy | >100 |
| tracking code | >100 |
About SunnyGDPR
From the official readme · v1.1.0Description
SunnyGDPR provides a simple, ultra-fast, and compliant cookie banner for your WordPress website.
Unlike heavy, resource-intensive GDPR “all-in-one” plugins that try to catch, block, and analyze every single request on the fly, SunnyGDPR follows a smart, developer-friendly logic:
As a site owner or developer, you already know exactly which scripts require consent before firing (such as Google Analytics, Yandex Metrika, Facebook Pixel, or ad tracking codes). In version 1.1, SunnyGDPR introduces a dedicated field in the admin settings where you can paste these conditional scripts.
How it works:
- Before consent: Tracking codes and analytical scripts remain completely omitted from the HTML output.
- Upon consent: The user accepts the GDPR terms, a consent cookie is written for 1 year, and the page automatically reloads to inject and execute the approved scripts.
- If declined: The user is redirected to an isolated static HTML page (
cookie-declined.html), preventing unnecessary server and database queries.
No overhead, no bloat, and zero impact on your site speed.
Key Features
- Lightweight & Blazing Fast: Built with pure Vanilla JS and clean CSS without external dependencies.
- Conditional Script Output: Inject tracking, analytics, or marketing scripts only after explicit user consent.
- One-Year Consent Cookie: Remembers user choice for 365 days (
sunnygdpr_consent). - Autonomous Decline Handler: Static HTML page for declined users to save server resources.
- Fully Customizable: Easily edit consent texts, button labels, and code snippets from WP Admin.
- Clean Uninstall: Automatically removes all stored settings upon uninstallation.
Installation
- Upload the
sunnygdprfolder to your/wp-content/plugins/directory (or upload the.zipfile via WP Admin). - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Settings -> SunnyGDPR to configure your banner text, redirect settings, and conditional tracking scripts.
Frequently asked questions
Does this plugin affect site speed?
No. Unlike complex GDPR plugins that parse and block requests dynamically, SunnyGDPR only injects scripts after consent. It relies on pure JavaScript and lightweight PHP, causing virtually zero performance overhead.
How do I add my Google Analytics or tracking pixels?
Go to Settings -> SunnyGDPR and paste your script tags into the designated post-consent code field. The plugin will automatically hold back these scripts until the visitor clicks “Accept”.
Where are the plugin settings stored?
All options are saved under a single array key sunnygdpr_options in your WordPress options table.
What happens when a user declines cookies?
The user is redirected to a static HTML page (cookie-declined.html) located inside the plugin directory. They will not be able to browse the site until they accept the cookie policy.
Changelog
1.1.0
- New Feature: Added a dedicated field in Admin Settings to inject scripts (analytics, ads, tracking pixels) strictly after user consent.
- Performance: Optimized consent logic — automatic page reload upon consent to deliver accepted scripts with 1-year cookie storage.
- Refinement: Minor UI improvements in the admin panel and updated plugin description.
1.0.0
- Initial official release.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best SunnyGDPR alternatives
All cookie banner plugins →FAQ
SunnyGDPR: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 1, 2026
Is SunnyGDPR free?
Yes. SunnyGDPR is free to download and use from the official WordPress.org plugin directory.
Is SunnyGDPR safe to use in 2026?
SunnyGDPR works, but test it on a staging site before relying on it in 2026. Was last updated 1 month ago, and scores 60/100 on our health check.
How many websites use SunnyGDPR?
SunnyGDPR is active on <10 WordPress websites and has been downloaded 178 times since it launched in August 2026. It was downloaded 61 times in the last 30 days.
Does SunnyGDPR work with WordPress 7.1?
Yes. The developer has tested SunnyGDPR up to WordPress 7.1.2, the latest release. It requires WordPress 5.6 or newer.
What PHP version does SunnyGDPR need?
SunnyGDPR requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was SunnyGDPR last updated?
The latest version, 1.1.0, was released on August 24, 2026 (1 month ago).
Who makes SunnyGDPR?
SunnyGDPR is developed and maintained by sunnywebstudio.
What are the best alternatives to SunnyGDPR?
The most popular alternatives to SunnyGDPR are CookieYes (1M+ installs), Complianz GDPR/CCPA Cookie… (1M+ installs) and GDPR Cookie Compliance (300K+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card

