Title: CookieConsentHQ
Author: hamzaahmadaslam
Published: <strong>November 12, 2026</strong>
Last modified: November 12, 2026

---

Search plugins

![](https://ps.w.org/cookieconsenthq/assets/banner-772x250.png?rev=3799336)

![](https://ps.w.org/cookieconsenthq/assets/icon.svg?rev=3799336)

# CookieConsentHQ

 By [hamzaahmadaslam](https://profiles.wordpress.org/hamzaahmadaslam/)

[Download](https://downloads.wordpress.org/plugin/cookieconsenthq.1.1.1.zip)

 * [Details](https://wordpress.org/plugins/cookieconsenthq/#description)
 * [Reviews](https://wordpress.org/plugins/cookieconsenthq/#reviews)
 *  [Installation](https://wordpress.org/plugins/cookieconsenthq/#installation)
 * [Development](https://wordpress.org/plugins/cookieconsenthq/#developers)

 [Support](https://wordpress.org/support/plugin/cookieconsenthq/)

## Description

CookieConsentHQ adds your cookie banner to every page of your WordPress site. The
banner script loads first in the head, so it can hold back trackers until the visitor
agrees. It helps you comply with privacy laws such as the GDPR, the UK GDPR, the
ePrivacy Directive and the CCPA/CPRA; you remain responsible for how your site uses
cookies.

What the plugin does:

 * Adds your CookieConsentHQ banner script first in `<head>` on every front-end 
   page.
 * Shows the right banner for each visitor’s region (opt-in in the EU, EEA, UK and
   Switzerland; opt-out or notice elsewhere, as you set it in your dashboard).
 * Blocks known trackers until consent, and sends the visitor’s choice to Google
   Consent Mode v2.
 * Supports the WP Consent API, so other plugins that read it follow the visitor’s
   choice.
 * Honors Global Privacy Control signals where your region rules ask for it.
 * `[cchq_cookie_table]` shortcode: shows the cookies found on your site, grouped
   by category, on your cookie policy page.

Every feature of this plugin is free. Your banner design, region rules, cookie scans
and consent records are managed in your CookieConsentHQ account.

#### External service

This plugin loads your banner from CookieConsentHQ’s content delivery network, `
https://cdn.cookieconsenthq.com/`. The banner asks `https://api.cookieconsenthq.
com/` which region the visitor is in, to show the right banner, and sends each consent
decision there (a random consent ID, the categories chosen, the page path, the region,
the banner version and A/B test variant shown, and whether a Global Privacy Control
signal was present; the service stores a shortened IP address and a hash of the 
browser’s user agent) so you can show when and how consent was given. On about 1
in 100 page views the banner also sends your site key to `https://api.cookieconsenthq.
com/pv`, with no visitor data, to count page views against your plan. Nothing is
loaded until you paste your site script URL in Settings  CookieConsentHQ.

 * Service: https://cookieconsenthq.com/
 * Terms of service: https://cookieconsenthq.com/legal/terms
 * Privacy policy: https://cookieconsenthq.com/legal/privacy

## Installation

 1. Install and activate the plugin from Plugins  Add New.
 2. Sign in to your CookieConsentHQ dashboard, open your site, and go to the Install
    tab.
 3. Copy the script URL. It looks like `https://cdn.cookieconsenthq.com/s/sk_xxxxxxxx.
    js`.
 4. In WordPress, go to Settings  CookieConsentHQ, paste the URL, and click Save Changes.
 5. If you use a caching or optimization plugin, clear its cache and exclude the CookieConsentHQ
    script from “delay JavaScript”, “defer” and “combine” options.
 6. Optional: add `[cchq_cookie_table]` to your cookie policy page.

## FAQ

### Does this plugin make my site compliant?

No plugin can do that on its own. CookieConsentHQ helps you comply: it asks for 
consent, blocks trackers until visitors agree, and keeps a record of each choice.
Whether your site complies also depends on what it does with the data and what your
privacy policy says.

### Do I need a CookieConsentHQ account?

Yes. The banner, its settings and your consent records live in your CookieConsentHQ
account. The plugin connects your WordPress site to it.

### Does the banner show a credit link?

Not unless you choose to. The banner leaves out its “Powered by CookieConsentHQ”
link on sites that use this plugin. If you want to show it, tick “Show a Powered
by CookieConsentHQ link in the banner” under Settings, CookieConsentHQ. The link
is marked nofollow.

### Where does the banner appear?

On every front-end page. It is not added to the admin area, feeds, REST API responses,
or AMP pages (AMP pages cannot run the banner script).

### Can I paste the whole script tag?

Yes. You can paste the script URL, the full `<script>` tag from the Install tab,
or just the site key; the plugin saves the site key.

### Does it work with Google Tag Manager?

Yes. Because the banner loads before Google Tag Manager, it sets Consent Mode defaults
before any Google tag runs. If you prefer to load the banner from Google Tag Manager
instead, download the CookieConsentHQ Google Tag Manager template from https://cookieconsenthq.
com/integrations/google-tag-manager (it is not yet in the Community Template Gallery)
and do not use this plugin on the same site.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CookieConsentHQ” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ hamzaahmadaslam ](https://profiles.wordpress.org/hamzaahmadaslam/)

[Translate “CookieConsentHQ” into your language.](https://translate.wordpress.org/projects/wp-plugins/cookieconsenthq)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cookieconsenthq/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/cookieconsenthq/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/cookieconsenthq/)
by [RSS](https://plugins.trac.wordpress.org/log/cookieconsenthq/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.1

 * Settings: an invalid script URL now shows its error once, not twice.

#### 1.1.0

 * The “Powered by CookieConsentHQ” link is off by default; a setting turns it on.

#### 1.0.0

 * First release: banner script first in head, WP Consent API support, `[cchq_cookie_table]`
   shortcode.

## Meta

 *  Version **1.1.1**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [CCPA](https://wordpress.org/plugins/tags/ccpa/)[consent mode](https://wordpress.org/plugins/tags/consent-mode/)
   [cookie banner](https://wordpress.org/plugins/tags/cookie-banner/)[cookie consent](https://wordpress.org/plugins/tags/cookie-consent/)
   [GDPR](https://wordpress.org/plugins/tags/gdpr/)
 *  [Advanced View](https://wordpress.org/plugins/cookieconsenthq/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cookieconsenthq/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cookieconsenthq/reviews/)

## Contributors

 *   [ hamzaahmadaslam ](https://profiles.wordpress.org/hamzaahmadaslam/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cookieconsenthq/)