← All 13 Plugins

Nomos

Cookie Consent Manager

Νόμος (Nómos) — Law, custom, regulation. In ancient Greek thought, Nomos embodies the shared order, statutory law, and sacred conventions that govern society.

Category: Legal & Compliance Version: 1.0.0 Requirements: PHP 7.4+ · WP 5.8+ Runtime: <10kb runtime · 0ms layout shift

Overview

Nomos (Greek for law or custom) is a lightweight, robust, and accessible solution for GDPR/CCPA compliance. Engineered with modern web standards, it entirely offloads animations to the browser layout engine and provides deep integration with Google Consent Mode v2. Unlike bloated alternatives, Nomos relies on zero heavy frameworks, inherits your theme's native button styling, and protects user privacy right out of the box.

Architectural Rationale: Most cookie consent plugins inject massive client-side JavaScript frameworks (React, Vue, jQuery) and block initial rendering, destroying Core Web Vitals and causing significant cumulative layout shift (CLS). Nomos solves this by utilizing CSS-native modal dialogs and @starting-style, offloading animations entirely to the browser layout engine. It configures Google Consent Mode v2 defaults instantly and updates dataLayer records with zero external runtime dependencies.

Key Features

  • Google Consent Mode v2 Built-in

    Automatically configures GCMv2 defaults and updates the dataLayer instantly upon user consent.

  • Crawler & SEO Optimized

    "Delay Until Interaction" defers modal rendering until interaction; "Auto-Decline for Bots" bypasses modal logic for Googlebot & Lighthouse.

  • Hybrid Tracking Support

    Asynchronously loads supported providers (GA4, GTM, Matomo, Piwik Pro, Umami, Plausible, Fathom, Meta Pixel, TikTok Pixel, Hotjar, Clarity) only upon consent.

  • Universal Script Blocker

    Dynamically intercepts rogue scripts and iframes injected by third-party plugins before execution.

  • Tracker Scanner

    Built-in admin tool that scans your live homepage to detect external scripts, cookies, and network requests.

  • Consent Logs & Analytics

    Visual dashboard of Accept/Decline/Partial ratios with automated CSV export and IP-anonymized database logging.

  • Modern Web Standards

    Utilizes CSS interpolate-size, @starting-style, and native dialogs with sub-10kb runtime.

  • Accessibility First

    Full programmatic focus management, keyboard navigation, and WCAG 2.1 AA compliance.

  • Multisite & Multilingual

    Network-wide configuration and deep Polylang, WPML, and Glossa integration.

Technical Specifications

Architecture Zero-framework vanilla JS runtime (<10kb gzipped), CSS-only animations
Compliance GDPR, CCPA, ePrivacy Directive, Google Consent Mode v2
Database wp_nomos_consent_logs (lightweight, auto-purged retention policy)
Integrations Google Analytics 4, GTM, Matomo, Piwik Pro, Meta Pixel, TikTok, Hotjar, Clarity
Caching Support 100% NGINX FastCGI cache compatible, 0 session cookies
Accessibility WCAG 2.1 AA compliant, programmatic focus trap, aria-modal

Developer Integration

// Developer filter: Customize cookie banner options in functions.php
add_filter('nomos_banner_settings', function($settings) {
    $settings['delay_until_interaction'] = true;
    $settings['auto_decline_bots'] = true;
    $settings['default_consent_mode'] = 'denied';
    return $settings;
});
WP-CLI: $ wp nomos export-logs --format=csv > consent-audit.csv

Deployment Notes

Nomos complies with strict German and Austrian data protection authority standards (DSGVO / TKG 2021). Its tracker scanner can be triggered directly in WP-Admin or scheduled via cron.