[WordPress] 外掛分享: Caching Compatible Cookie Opt-In and JavaScript

WordPress 外掛 Caching Compatible Cookie Opt-In and JavaScript 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Caching Compatible Cookie Opt-In and JavaScript」是 2020-05-07 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2025-04-16,距離現在已有 21 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

matthiaswagner |

外掛標籤

cache | Optin | cookie | caching | fastest cache |

內容簡介

這個輕量級的外掛程式讓使用者免於在啟用伺服器端快取外掛程式(如 WP Fastest Cache、W3 Total Cache 等)的超快網站上操作第三方追蹤等腳本時,仍需使用麻煩的 Cookie 標題的困擾。

這個外掛程式非常簡單:
* 使用者透過點擊 Cookie 標題中的按鈕來做出選擇(使用所有 Cookie 或只使用必要的 Cookie)
* 選擇會被儲存在一個 Cookie 中
* 現在每當一個頁面載入,我們的 JavaScript 會檢查該 Cookie 並根據使用者的選擇非同步地載入該允許的腳本
* 您還可以在您的內容中放置帶有相同功能和內聯警告的內聯腳本和 HTML。
* 您還可以放置一個短代碼以顯示訪問者的決定並允許他撤銷該決定,如果您想要使用符合 GDPR 標準的 Cookie 解決方案,這似乎是必要的

我們的文檔包括關於活動和篩選器鉤子的資訊可在此找到

原文外掛簡介

This lightweight plugin closes the gap between the annoying need for a cookie-banner to opt-in to some scripts (third party tracking, …) and super fast websites enabled by server-side caching plugins like WP Fastest Cache, W3 Total Cache and so on.
It is very simple:
* A visitor makes his selection by clicking the buttons in the cookie banner (use all cookies or use only necessary cookies)
* The selection is stored in a cookie
* Now after every page load our JS checks the cookie and asynchronously fetches the allowed scripts depending on the users selection
* You can also place shortcodes with inline scripts and html in your content with the same functionality and inline-warnings if no optin was made
* You can also place a shortcode to show the visitor his decision and allow him to revoke that decision, which seems necessary if you want to be gdpr compliant with your cookie solution
Our documentation including information on action and filter hooks can be found here

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Caching Compatible Cookie Opt-In and JavaScript」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.0.3 | 0.0.4 | 0.0.5 | 0.0.6 | 0.0.7 | 0.0.8 | 0.0.9 | 0.0.10 |

延伸相關外掛(你可能也想知道)

文章
Filter
Apply Filters
Mastodon