
內容簡介
Lean Cookie Consent 是一款簡約的 WordPress 外掛,專為 Lean Cookie Consent SaaS 平台設計。它能夠在每個前端頁面上加載本地運行時,並從 Lean Cookie Consent 儀表板管理所有與 Cookie 同意相關的設定,協助網站擁有者遵循訪客的選擇。
【主要功能】
• 簡單連接 Lean Cookie Consent SaaS 平台
• 自動加載 Cookie 同意橫幅配置
• 支援 Google Consent Mode v2 信號
外掛標籤
開發者團隊
原文外掛簡介
Lean Cookie Consent is a minimal WordPress connector for the Lean Cookie Consent SaaS platform. The plugin stores a single Site Key in the WordPress options table and enqueues a bundled local runtime on every frontend page. The runtime fetches public site configuration from https://api.leancookieconsent.com/v1/config?site=YOUR_SITE_KEY.
Banner copy, layout, colors, cookie categories, services, languages, policy links and consent records are all managed inside the Lean Cookie Consent dashboard. The WordPress plugin bundles only the static runtime, does not keep a custom consent log table, does not set any additional first-party cookies and does not expose any way to insert or execute arbitrary JavaScript.
The plugin is a SaaS connector only. A Lean Cookie Consent account and a valid Site Key are required.
Lean Cookie Consent supports Google Consent Mode v2 signaling through the hosted configuration managed in the Lean Cookie Consent dashboard, helping site owners align analytics and advertising consent behavior with visitor choices.
External services
This plugin connects to the Lean Cookie Consent SaaS platform to fetch public banner configuration and to record visitor consent choices.
Service: Lean Cookie Consent configuration API
URL: https://api.leancookieconsent.com/v1/config
When: On every frontend page load when a Site Key is configured in Settings → Lean Cookie Consent.
What is sent: The configured Site Key (passed as a site URL query parameter, character-whitelist [a-z0-9_-], max 64 chars), and the visitor’s browser context (User-Agent, Accept-Language, current URL) needed by the SaaS to return the correct public configuration.
What is received: A JSON configuration payload used by the bundled local runtime to render the cookie banner, preference center and consent-mode signaling on the visitor’s browser. The payload also includes the consent record API endpoint used by the banner and the consent-mode settings applied by the local runtime.
Why: To display the cookie banner and record consent choices that match the configuration you set up in your Lean Cookie Consent dashboard.
Account: A Lean Cookie Consent account and Site Key are required. The Site Key is entered manually in Settings → Lean Cookie Consent.
Service provider: Black Lotus Consulting Srl (https://leancookieconsent.com/)
Privacy Policy: https://leancookieconsent.com/privacy-policy
Terms of Service: https://leancookieconsent.com/terms
Service: Lean Cookie Consent consent API
URL: https://api.leancookieconsent.com/api/consent
When: Only when a visitor interacts with the bundled local banner and saves, denies or accepts consent choices.
What is sent: The configured Site Key, the visitor’s selected consent categories/action, banner/policy metadata from the SaaS configuration and technical browser request metadata needed to store the consent evidence.
What is received: A JSON response confirming whether the consent event was stored.
Why: To keep an auditable consent record for the site configuration managed in Lean Cookie Consent.
The WordPress plugin itself does not send any other data to any other service. The only data stored by this plugin is the Site Key, kept in the WordPress wp_options table under the option name lean_cookie_consent_site_key. The plugin does not set any first-party cookies, does not keep any custom database tables and does not record consent locally.
Privacy
This plugin does not collect, store or transmit visitor data on its own. The only data it stores in WordPress is the Site Key configured by the site owner.
The cookie consent banner, preference collection and consent records are handled by the Lean Cookie Consent SaaS. Please review the Lean Cookie Consent Privacy Policy (https://leancookieconsent.com/privacy-policy) for details on what the SaaS collects and how it is processed.
This plugin adds a short suggested text to the WordPress Privacy Policy Guide describing the SaaS integration and the data handled by the SaaS.
