HyIMPACT plugin: Consent module

This guide is part of the docs for HyIMPACT for WordPress, the plugin that connects your AI to your site.

What it does today. While live: the cookie banner with its preferences dialog and a “Cookie settings” link; the visitor’s choice per category (functional, preferences, statistics, marketing) and per service; law profiles (opt-in, opt-out, notice) and Global Privacy Control; region rules (a profile per country, US state or EU / EEA) that keep pages the same for every visitor, so page caches keep working; Google Consent Mode v2 from the visitor’s choice; and the WP Consent API.

Blocking and records. Services the site lists (YouTube, Vimeo, Google Maps, reCAPTCHA, Meta Pixel, LinkedIn Insight Tag, TikTok Pixel, Hotjar, Microsoft Clarity, HubSpot, Calendly, Google Fonts, X and Instagram) wait until the visitor allows them, and blocked embeds show a placeholder. A cookie scan builds the cookie inventory; HyIMPACT writes a draft cookie policy page with a cookie table (a starting point, not legal advice); dated snapshots of the settings and optional consent records (off by default) keep proof of consent; and a data request form turns visitors’ requests into WordPress privacy requests.

Modes. off · shadow · live. Off and shadow print nothing on pages; in shadow the region check answers, so the host’s location header and caches can be tested on the live site first. While Complianz, CookieYes, Cookiebot, Borlabs Cookie, Real Cookie Banner or GDPR Cookie Compliance (Moove) is active the module can’t go live (shadow at most) unless forced.

Settings (hyimpact_consent): the law profile and region rules, the policy version, how long a choice is kept, Global Privacy Control, the Consent Mode type, the banner’s layout, texts, links and colours (contrast is checked on save), the cookie settings link and the listed services.

Abilities. consent-scan, consent-get-inventory / consent-set-inventory, consent-get-policy, consent-write-policy, consent-bump-policy, consent-get-records, consent-get-snapshots, consent-get-requests, consent-import-scan / consent-import-run (from Complianz), modules-set (module: consent), modules-conflicts, settings-get / settings-set.

Replaces. Complianz, CookieYes, Cookiebot, Borlabs Cookie, Real Cookie Banner, GDPR Cookie Compliance, and the WP Consent API plugin.

When to switch the old plugin off. Only once the services the site loads are listed, unless a tracking scan shows the site loads no third-party services that need blocking. Never leave a site without a banner where one is required: the switch-over (HyIMPACT banner live, old plugin deactivated) is one approved change, followed by a browser check that no tracking cookie is set before consent.

HyIMPACT’s consent code is written clean-room: nothing is copied from Complianz or other consent plugins.