NexaGuard
    NexaGuard
    • NexaGuard Onboarding
    • iOS Setup
    • Android Setup
    • Web Setup
    • Webflow and Wix
    • WordPress Integration
    • Drupal Integration
    • Shopify Integration
    • LICENSE

    WordPress Integration

    Integrate NexaGuard CMP with WordPress#

    The NexaGuard Consent Management Platform (CMP) provides a seamless and compliant consent experience for WordPress websites.
    It helps site owners meet GDPR, ePrivacy, and Google Consent Mode v2 requirements by handling banner display, consent storage, and automatic Consent Mode signaling.

    Overview#

    NexaGuard CMP is a privacy compliance solution that manages cookie and consent interactions across your website.
    The official NexaGuard CMP WordPress Plugin offers a complete plug-and-play setup that automatically injects the CMP loader into your WordPress site’s <head> section.
    Once activated, the plugin will:
    Display a fully customizable consent banner.
    Manage user consent preferences (accept, reject, customize).
    Trigger Google Consent Mode v2 default and update events automatically.
    Keep your site compliant with privacy regulations across multiple regions.

    Plugin Details#

    PropertyValue
    Plugin NameNexaGuard CMP
    Slugnexaguard-cmp
    AuthorNexaGuard Inc.
    LicenseGPL-2.0-or-later
    Requires at leastWordPress 5.8
    Tested up toWordPress 6.6
    Requires PHP8.1 or higher
    Tagsgdpr, consent, privacy, cookies, compliance, google-consent-mode
    📦 WordPress.org Listing: https://wordpress.org/plugins/nexaguard-cmp/

    Installation#

    Option 1 — Install via WordPress Admin#

    1.
    Log in to your WordPress Admin Dashboard.
    2.
    Navigate to Plugins → Add New.
    3.
    Search for “NexaGuard CMP”.
    4.
    Click Install Now, then Activate.
    After activation, NexaGuard CMP will automatically start working using default settings.

    Option 2 — Manual Installation (via ZIP or FTP)#

    1.
    Download the plugin from the official repository:
    https://wordpress.org/plugins/nexaguard-cmp/
    2.
    In your WordPress Admin Dashboard, go to Plugins → Add New → Upload Plugin.
    3.
    Upload the downloaded .zip file.
    4.
    Click Install Now, then Activate Plugin.

    Configuration#

    Once activated, configure the plugin using these steps:
    1.
    Go to Settings → NexaGuard CMP.
    2.
    Enter your Settings ID (from your NexaGuard Dashboard).
    3.
    (Optional) Modify advanced options:
    Auto-inject CMP script.
    Enable Google Consent Mode v2.
    Restrict script injection to anonymous visitors.
    Exclude admin pages from CMP display.
    4.
    Click Save Configuration.

    Script Behavior#

    The plugin automatically injects the CMP loader script into the <head> tag:
    If you enable Google Consent Mode, it will automatically run gtag('consent', 'default') and gtag('consent', 'update') events based on user choices.

    Verification#

    Option 1 — Browser Developer Tools#

    1.
    Open your live site.
    2.
    Press F12 or right-click → Inspect.
    3.
    Go to the Network tab.
    4.
    Search for loader.js or consent events.
    5.
    You should see the NexaGuard CMP banner and Consent Mode signals.

    Option 2 — Tag Assistant#

    1.
    Install Google Tag Assistant.
    2.
    Enable it for your site.
    3.
    Refresh your page and check for “Consent Mode active”.

    Shortcodes and Block Support#

    NexaGuard CMP supports Gutenberg blocks and shortcodes.

    Block#

    Search for “CMP Block” in the block editor and drag it into any page or post.
    You can display custom consent status or embed your own consent button.

    Shortcode#

    You can insert the CMP anywhere using:
    [nexaguard_cmp]

    Troubleshooting#

    IssueCauseSolution
    Banner doesn’t appearPlugin not configured or ID missingGo to Settings → NexaGuard CMP and enter your Settings ID
    Consent updates not sentCached JS or plugin conflictClear cache and ensure no optimization plugin blocks loader.js
    “Consent Mode inactive” in Tag AssistantGoogle Tag Manager not configuredEnable Enable GCM option under settings
    Duplicate bannerMultiple embeds detectedEnsure CMP is not manually embedded elsewhere

    Advanced Options#

    Anonymous Users Only: Displays banner only for logged-out visitors.
    Exclude Admin Routes: CMP will skip admin URLs to avoid admin panel interference.
    Debug Mode: Add ?nxg_debug=1 to your URL for real-time CMP status overlay.
    Custom Loader URL: Developers can specify alternate asset or API URLs for testing.

    Uninstalling#

    1.
    Go to Plugins → Installed Plugins → NexaGuard CMP.
    2.
    Click Deactivate, then Delete.
    3.
    All configuration data will be removed cleanly.

    Compliance & Security#

    NexaGuard CMP ensures compliance with major privacy frameworks:
    GDPR (EU General Data Protection Regulation)
    ePrivacy Directive (EU Cookie Law)
    Google Consent Mode v2 (EEA & UK)
    CCPA / CPRA (California)
    All communications are secure, using HTTPS with TLS encryption.
    The CMP never stores identifiable user data—only hashed consent states.

    Support#

    For support, feature requests, or bug reports, contact:
    📧 [email protected]
    🌐 https://www.nexaguard.com

    © NexaGuard Inc. — All Rights Reserved.
    Version: 1.0.0 | Last Updated: October 2025
    Previous
    Webflow and Wix
    Next
    Drupal Integration