[WordPress] 外掛分享: SunnyGDPR

首頁外掛目錄 › SunnyGDPR
全新外掛
安裝啟用
尚無評分
7 天前
最後更新
問題解決
WordPress 5.6+ PHP 7.4+ v1.1.0 上架:2026-08-11

內容簡介

SunnyGDPR 提供一個簡單、超快速且符合規範的 Cookie 通知橫幅,專為 WordPress 網站設計。此外掛以效能為核心,使用純 JavaScript,避免依賴 jQuery 等外部庫。

【主要功能】
• 輕量且快速:使用純 Vanilla JS 和乾淨的 CSS
• 自動拒絕處理:為拒絕用戶提供靜態 HTML 回應
• 完全可自訂:可從控制台輕鬆編輯文本和按鈕標籤
• 符合 GDPR 規範:設置標準 1 年同意 Cookie
• 乾淨卸載:卸載時自動移除所有儲存設置

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SunnyGDPR」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Mastodon