[WordPress] 外掛分享: MaxtDesign Cookie Consent – Google Consent Mode v2

WordPress 外掛 MaxtDesign Cookie Consent – Google Consent Mode v2 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「MaxtDesign Cookie Consent – Google Consent Mode v2」是 2025-12-02 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2026-02-11,距離現在已有 15 天。
  • 外掛最低要求 WordPress 5.8 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 1 人給過評分。
  • 論壇上目前有 2 個提問,問題解答率 100% ,不低,算是個很有心解決問題的開發者團隊了!

外掛協作開發者

slaacr |

外掛標籤

CCPA | GDPR | analytics | cookie consent | google consent mode |

內容簡介

段落總結:MaxtDesign Cookie Consent 是一個實際運作的 WordPress Cookie 同意管理器,相較於其他外掛,它以少於 10KB 的容量正確實作了 Google Consent Mode v2。

### 問題與答案:
1. 這個 WordPress 外掛有哪些使用者群體需求?
- 答:對於網站擁有者來說,他們需要 CCPA/GDPR 的合規性,但不想犧牲網站效能或處理複雜的配置;開發者則希望有符合 WordPress 標準、不與其他外掛衝突的乾淨、高效代碼;而對於代理機構來說,他們需要一個可靠、輕量級且實際運作的解決方案。

2. 這個外掛的關鍵特點有哪些?
- 答:它實際控制追蹤,而不僅僅顯示表單;提供 Google Consent Mode v2 的正確實作;擁有小於 10KB 的極致速度;提供輕巧的 localStorage 基礎同意管理;並設有三種弹出樣式預置選項、提供主題自訂配色、與任何主題兼容、可與 Elementor 配合、支援手機呈現、符合無障礙訪問性 (WCAG 2.1 AA);對開發者友好,遵循 WordPress 標準清潔代碼,提供兩個易於整合的短代碼,不依賴 jQuery,使用純 JavaScript;以隱私為本,無伺服器端追踪、無外部 API 呼叫、使用者同意本地存儲,並符合設計上的 GDPR/CCPA 合規性。

3. Google Consent Mode v2 是什麼?
- 答:Google Consent Mode v2 (GCM v2) 自 2024 年 3 月對歐盟的 GA4 和 Google Ads 來說是強制要求的。這是 Google 管理使用者同意信號的框架,跨其廣告和分析產品。這個外掛實作了四種所需的同意類型:`analytics_storage` - Google Analytics cookies;`ad_storage` - 廣告 cookie ;`ad_user_data` - U ...。

原文外掛簡介

The MaxtDesign Cookie Consent Manager That Actually Works
Most WordPress consent plugins either don’t actually control tracking (they just show a form) or they’re so bloated they slow down your site significantly. MaxtDesign Cookie Consent is different: proper Google Consent Mode v2 implementation in under 10KB.
Why This Plugin?
For Site Owners:
You need CCPA/GDPR compliance but don’t want to sacrifice site performance or deal with complex configuration.
For Developers:
You want clean, efficient code that follows WordPress standards and doesn’t conflict with other plugins.
For Agencies:
You manage multiple client sites and need a reliable, lightweight solution that just works.
Key Features
✓ Actually Controls Tracking
Unlike “checkbox theater” plugins that only show forms, this plugin properly implements Google Consent Mode v2, ensuring GA4 and Google Ads respect user choices.
✓ Blazing Fast (<10KB) Zero performance overhead. No database queries during page load. Pure localStorage-based consent management. ✓ Three Style Presets Choose from Minimal, Modern, or Bold popup styles. Customize colors to match your brand. ✓ Works Everywhere Compatible with any theme. Works with Elementor (optional). Mobile responsive. Accessibility compliant (WCAG 2.1 AA). ✓ Developer-Friendly Clean code following WordPress standards. Two shortcodes for easy integration. No jQuery dependency. Vanilla JavaScript. ✓ Privacy-First No server-side user tracking. No external API calls. User consent stored locally. GDPR/CCPA compliant by design. What is Google Consent Mode v2? Google Consent Mode v2 (GCM v2) became mandatory in March 2024 for GA4 and Google Ads in the EU. It’s Google’s framework for managing user consent signals across their advertising and analytics products. This plugin implements all four required consent types: analytics_storage – Google Analytics cookies ad_storage – Advertising cookies ad_user_data – User data for advertising ad_personalization – Personalized advertising Without proper GCM v2 implementation, your GA4 and Google Ads tracking may be unreliable or non-compliant. How It Works Visitor arrives → Consent popup appears (customizable position, style, timing) User chooses → Three options: Accept All, Analytics Only, or Decline All Consent stored → User choice saved in localStorage (privacy-friendly, no server tracking) GCM signals updated → Google Analytics and Ads respect the user’s choice immediately No repeat popup → Cookie remembers they’ve seen popup (configurable duration) Popup Customization Style Presets: * Minimal – Clean and subtle * Modern – Rounded and polished * Bold – Strong and prominent Position Options: * Top banner * Bottom banner * Center modal Animation Options: * Slide in * Fade in * No animation Color Customization: Primary color picker to match your brand Shortcodes Display Current Status: [mdcc_consent_status] Shows consent chips: “Analytics: On/Off” and “Ads: On/Off” Manage Consent Interface: [mdcc_manage_consent title="Your Privacy Choices"] Full consent management with Accept/Analytics/Decline buttons and current status display. Both shortcodes update in real-time when consent changes. Optional Elementor Integration Prefer to use a custom Elementor popup? Simply enter your Elementor Popup ID in settings, and the plugin will use your custom popup instead while maintaining proper GCM v2 functionality. Technical Specifications Size: <10KB total (CSS + JS combined, gzipped) Performance: Zero database queries during page load Storage: localStorage-based (no server-side user tracking) Dependencies: None (vanilla JavaScript, no jQuery) Compatibility: WordPress 5.8+, PHP 7.4+ Standards: WCAG 2.1 AA accessible, mobile responsive Perfect For WordPress sites using GA4 or Google Ads CCPA/GDPR compliance requirements Performance-conscious developers Agency client sites needing scalable consent management Anyone tired of bloated consent plugins What This Plugin Doesn’t Do Not a cookie scanner – Doesn’t automatically detect all cookies on your site Not a full compliance suite – Focuses on consent management for Google tracking Not multi-platform tracking – Free version handles GA4/Ads only (Pro version coming with Facebook, Hotjar, etc.) For comprehensive cookie auditing and multi-platform tracking control, consider our Pro version (launching 2025). Coming in Pro Version Facebook Pixel control Hotjar tracking control LinkedIn Insight Tag TikTok Pixel Custom script control Consent analytics dashboard Geolocation-based prompts White-label mode for agencies Privacy Policy MaxtDesign Cookie Consent does not collect, store, or transmit any user data. All consent preferences are stored locally in the user’s browser using localStorage. No information is sent to external servers. However, this plugin manages consent for third-party services (Google Analytics, Google Ads). Those services have their own privacy policies: Google Analytics Privacy Policy: https://policies.google.com/privacy Google Ads Privacy Policy: https://policies.google.com/technologies/ads It is your responsibility to include appropriate disclosures in your site’s privacy policy about the tracking services you use. Support For support, please use the WordPress.org support forum. Credits Developed by MaxtDesign – https://maxtdesign.com Special thanks to the WordPress community for feedback and testing.

各版本下載點

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

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


1.6.0 | 1.7.2 | trunk |

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

文章
Filter
Apply Filters
Mastodon