NexaGuard CMP

外掛說明

NexaGuard CMP makes it easy to integrate the NexaGuard Consent Management Platform into WordPress.

Highlights
– Auto-injects the official NexaGuard loader into <head>.
– One-click Reset Consent (clears cookies/storage and hard-reloads).
Debug view to force banner display and verify event flow.
– Google Consent Mode v2 stub included (optional).
– Shortcode [nexaguard_preferences] to open the preferences modal.
– Admin dashboard “Live check” to confirm the loader tag exists.
– Clean uninstall — removes plugin settings.

External Services
This plugin loads assets from:
https://cmp.nexaguard.com (loader/assets)
https://api.nexaguard.io (configuration/API)

NexaGuard may set cookies such as nexaguard_cmp_consent to store user choices.

安裝方式

  1. Install the plugin and activate it.
  2. Go to NexaGuard CMP (left menu).
  3. Enter your App ID (settings-id) from your NexaGuard dashboard.
  4. (Optional) Toggle Google Consent Mode v2.
  5. Open your site — the consent banner should appear for new visitors.

Use [nexaguard_preferences] to place a “Privacy settings” link anywhere.

常見問題集

I don’t see the banner

Check page/caching and CDN. Use Reset consent and the Debug link. Ensure no other CMP is injecting.

Does this store personal data in WordPress?

No. The plugin stores only configuration options (App ID, toggles). User choices are stored client-side (cookies/storage) by the CMP.

Multisite?

Yes, activate per-site and set each site’s App ID.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈NexaGuard CMP〉的開發相關工作。

參與者

將〈NexaGuard CMP〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.2.1

  • Fix — Always-on WP Consent API bridge listener with safe defaults.
  • Fix — Ensures bridge enqueues after official WP Consent API script.
  • New — Registers “marketing”, “statistics”, “personalization” categories via wp_register_consent_category.
  • Improvement — Verified x.3.b compliance for Google CMP Gold Tier.

0.2.0

  • New: WordPress Consent API integration (required for Google CMP Gold x.3.b). NexaGuard consent states now sync to WP plugins via wp_set_consent()/wp_has_consent().
  • Improvement: Bridge script auto-detects API presence and maps GCM v2 keys: analytics_storage statistics, ad_storage/ad_user_data marketing, ad_personalization personalization.
  • Dev: Filter nxg_wp_consent_mapping allows site-specific category remaps.

0.1.1

  • Nonce alignment, enqueue/escaping polish.

0.1.0

  • First public release.