[WordPress] 外掛分享: Soglasno: Cookie Consent & 152-FZ

首頁 › 外掛目錄 › Soglasno: Cookie Consent & 152-FZ
WordPress 外掛 Soglasno: Cookie Consent & 152-FZ 的封面圖片
全新外掛
安裝啟用
—
尚無評分
8 天前
最後更新
—
問題解決
WordPress 6.2+ PHP 7.4+ v1.0.2 上架:2026-11-14

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Soglasno: Cookie Consent & 152-FZ」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Soglasno helps a WordPress site owner in Russia handle cookies and consent to personal data processing under Federal Law No. 152-FZ “On Personal Data”.
The plugin interface is in Russian.
What it does

Cookie banner with three modes: consent with categories, consent (accept / reject), or notice only.
Four categories: necessary, analytics, marketing, functional. Names and descriptions are editable.
Analytics and advertising scripts run only after the visitor agrees to their category. Built-in setup by ID for Yandex Metrika (Webvisor, click map, accurate bounce), Top.Mail.ru, VK Ads pixel, Google Analytics 4 and Google Tag Manager.
Auto-blocking: tracking scripts added by the theme, other plugins or pasted into the site code are found by their address and held until consent. The list is extendable.
Withdrawing consent is as easy as giving it: a floating cookie button or a [soglasno_settings] link in the footer. Cookies of withdrawn categories are deleted.
Links to your documents: pick a page of the site or paste a link to the consent document, cookie policy and privacy policy. They are used in the banner and in form checkboxes. Since 1 September 2025 consent to personal data processing must be a separate document.
Consent checkbox (unchecked by default, required) in WordPress comments, registration and Contact Form 7.
Compliance checklist and a home page check for trackers.
Works with page caching: the decision is made in the browser, so the cached page is the same for everyone.
The banner is rendered in Shadow DOM, so theme styles do not break it. Keyboard accessible, no layout shift.

Developer API

JavaScript: window.soglasno.has('analytics'), soglasno.open(), events soglasno:consent and soglasno:change on document.
PHP: sglsn_has_consent( 'marketing' ) for non-cached pages; filters sglsn/blocked_domains, sglsn/front_config, sglsn/form_checkbox, sglsn/settings_defaults; action sglsn/consent_saved.
Any

延伸相關外掛

文章
Filter
Mastodon