GDPR Cookie Consent (emdash-privacy)

EmDash 的 GDPR Cookie 同意:帶主題的明暗雙模式橫幅(德語/英語),支援 Google Consent Mode v2 和 GPC,由 c15t 驅動。同意證明儲存在你自己的 D1 資料庫中。

外掛

GDPR Cookie Consent (emdash-privacy)

EmDash 的 GDPR Cookie 同意:帶主題的明暗雙模式橫幅(德語/英語),支援 Google Consent Mode v2 和 GPC,由 c15t 驅動。同意證明儲存在你自己的 D1 資料庫中。

  • 分類: 安全
  • 狀態: 可用
  • 版本: 0.1.0
  • 價格: 未知
  • 來源: npm 套件
  • 安裝方式: npm 原生整合
  • 核實日期: 2026-11-01

EmDash 的 GDPR Cookie 同意:帶主題的明暗雙模式橫幅(德語/英語),支援 Google Consent Mode v2 和 GPC,由 c15t 驅動。同意證明儲存在你自己的 D1 資料庫中。

安裝

從 npm 安裝此套件:

npm install emdash-privacy

在 Astro 設定中註冊此外掛:

// astro.config.mjs
import { privacyPlugin } from "emdash-privacy";

emdash({
  plugins: [privacyPlugin()],
});

詳細資訊