Install COKIQ on WordPress
Install the free COKIQ Cookie Consent plugin from the WordPress.org plugin directory, paste your site key and the consent banner, Google Consent Mode v2 defaults and consent logging run on every public page.
WordPress is a trademark of the WordPress Foundation. COKIQ is not affiliated with or endorsed by the WordPress Foundation.
Install in 3 steps
- In WordPress go to Plugins > Add New, search for "COKIQ", then click Install Now and Activate.
- Go to Settings > COKIQ Consent and paste the site key from your COKIQ dashboard (create a free account if you do not have one).
- Save, clear any page cache, and open your site in a private window to see the banner.

Universal script
Works on any site that allows custom code in the head. Replace YOUR_SITE_KEY with the key from your COKIQ dashboard. Use one install path per site.
<script src="https://cokiq.com/api/s/YOUR_SITE_KEY" data-key="YOUR_SITE_KEY"></script>
Check that it works
- The page source loads https://cokiq.com/api/s/{siteKey} once, at the top of the page head.
- The banner does not cover theme navigation, chat widgets or checkout buttons.
- An accept or reject click shows up as consent evidence in the COKIQ dashboard.
Questions
Is the COKIQ WordPress plugin free?
Yes. The plugin is free on WordPress.org and works with the free COKIQ plan. Paid plans add more sites, more pageviews and options such as removing the "Powered by COKIQ" link.
Does it work with WooCommerce?
Yes. Test product, cart, checkout and thank-you pages after activation. With the free WP Consent API plugin installed, WooCommerce and other plugins can read the visitor choice.
Does COKIQ set Google Consent Mode v2 defaults?
Yes. The script sets denied defaults before Google tags load and updates them after the visitor chooses. Basic or advanced mode is chosen in the COKIQ dashboard.
Can I install without the plugin?
Yes. Any WordPress theme that allows custom code in the head can use the universal script instead. Use only one install path per site.