
內容簡介
總結:
IL Privacy & Cookie Consent 是一個全面且可投產的外掛程式,用於顯示Cookie同意橫幅,封鎖非必要腳本直到獲得同意,記錄同意事件(符合以色列隱私保護法第13修正案),創建隱私政策頁面,支援RTL和可存取性,並具有希伯來文默認值。
問題與答案:
1. IL Privacy & Cookie Consent的核心功能是什麼?
- 可定制的同意橫幅
- 詳細的偏好選擇模式
- 腳本封鎖功能
- 同意事件記錄功能
- CSV日誌導出
- 隱私政策頁面自動創建
- Cookie目錄顯示
- 表格營銷同意
- RTL和無障礙支援
- 輕量級且無jQuery依賴
- DNT支援選項
2. IL Privacy & Cookie Consent的最低要求是什麼?
- WordPress 5.8或更高版本
- PHP 7.4或更高版本(支援PHP 8.1+)
3. 描述IL Privacy & Cookie Consent的使用方式:
- 內建的短代碼可以用於顯示隱私政策、Cookie表格和行銷同意
- 程式API可用於:
- 獲取當前同意狀態
- 監聽同意狀態變化
- 啟用/檢查特定分類
- 開啟偏好選擇模式
- 撤銷同意
4. IL Privacy & Cookie Consent是如何協助遵循法規的?
- 該外掛設計用於協助遵守以色列隱私保護法第13修正案和歐洲GDPR法規
- 使用該外掛並不代表提供法律建議或完全保證合法遵循
- 建議諮詢法律顧問以瞭解特定的法律要求
5. IL Privacy & Cookie Consent外掛會存儲哪些數據?
- 使用者ID(如果使用者已登入)
- 會話ID(UUID)
- IP地址的散列值(SHA256加鹽)
- 使用者代理
- 同意狀態(分類、版本、日期)
- 該外掛不會存儲原始IP地址。
外掛標籤
開發者團隊
原文外掛簡介
IL Privacy & Cookie Consent is a comprehensive, production-ready plugin for displaying cookie consent banners, blocking non-essential scripts until consent is obtained, logging consent events (compliant with Amendment 13 of the Israeli Privacy Protection Law), creating privacy policy pages, supporting RTL and accessibility, with Hebrew defaults.
Key Features
Customizable consent banner – Floating window at the bottom of the page with options: “Accept All”, “Reject Non-Essential Cookies”, “Preferences”
Detailed preferences modal – Granular selection of categories: Essential (required), Analytics, Marketing, Functional
Script blocking – Map scripts to categories and block them until appropriate consent is obtained
Consent event logging – Database storage with IP hash, User Agent, date, version (compliant with Amendment 13)
CSV log export – Export consent data for reporting
Privacy policy page – Automatic creation of draft page with [ilpramco_policy] shortcode
Cookies table – [il_cookies_table] shortcode to display cookie catalog
Marketing consent for forms – [il_marketing_consent] shortcode for forms
RTL and accessibility – Full RTL support, WCAG, keyboard navigation, focus trap
Lightweight – Very small JS+CSS (< 10KB gzipped), no jQuery dependency
DNT support – Option to respect Do Not Track
Minimum Requirements
WordPress 5.8 or higher
PHP 7.4 or higher (supports PHP 8.1+)
Usage
Shortcodes:
[ilpramco_policy] – Displays the full privacy policy
[ilpramco_cookies_table] – Displays cookies table
[ilpramco_marketing_consent] – Marketing consent checkbox for forms
JavaScript API:
`javascript
// Get current consent
const consent = window.ILPrivacy.getConsent();
// Register callback for changes
window.ILPrivacy.onChange(function(consent) {
console.log(‘Consent updated:’, consent);
});
// Enable a category
window.ILPrivacy.enableCategory(‘analytics’);
// Check if category is enabled
if (window.ILPrivacy.isCategoryEnabled(‘marketing’)) {
// Load marketing scripts
}
// Open preferences modal
window.ILPrivacy.openPreferences();
// Revoke consent
window.ILPrivacy.revokeConsent();
`
Script Mapping:
`php
// Add script to category
add_action(‘wp_enqueue_scripts’, function() {
wp_enqueue_script(‘google-analytics’, ‘…’, [], ‘1.0’, true);
// Map to category
$mapping = get_option('ilpramco_script_mapping', []);
$mapping['google-analytics'] = 'analytics';
update_option('ilpramco_script_mapping', $mapping);
});
`
Privacy & Legal
This plugin is designed to help comply with Amendment 13 of the Israeli Privacy Protection Law and GDPR regulations in Europe. However, using this plugin does not constitute legal advice and does not guarantee full legal compliance. It is recommended to consult with a legal advisor regarding your specific legal requirements.
The plugin stores the following data:
* User ID (if user is logged in)
* Session ID (UUID)
* Hash of IP address (SHA256 with salt)
* User Agent
* Consent (categories, version, date)
The plugin does not store raw IP addresses.
