Install

WordPress plugin

Install the CookieTrue plugin, connect it with a key and manage everything else in the dashboard. Works with the common cache plugins.

The plugin has one job: it connects your WordPress website to your CookieTrue dashboard and places the banner at the very top of every page. Design, texts, rules, cookies and the consent log are all managed in the dashboard.

#Install and connect

  1. In the dashboard, add your website, then open Installation → WordPress.
  2. Download the plugin zip.
  3. In WordPress open Plugins → Add New Plugin → Upload Plugin, choose the zip, click Install Now and Activate.
  4. In the dashboard click Show my connection key and copy it.
  5. In WordPress open CookieTrue in the admin menu, paste the key and click Connect.

The screen then shows the website as connected. Once someone visits the site, it changes to banner is live.

#What the plugin does

  • Places the banner first. The script is added at the top of the head of every page, but never in the WordPress admin area.
  • Blocks on the server too. Scripts added by other plugins and themes are recognised in the page HTML and held back until consent, before the browser even downloads them.
  • Tells WP Consent API. Plugins that support it, such as Site Kit by Google and WooCommerce, learn what the visitor chose.
  • Keeps settings in sync. Changes you make in the dashboard reach the plugin within a few minutes. Update now on the CookieTrue screen fetches them immediately.
  • Works with cache plugins. WP Rocket, LiteSpeed Cache, Autoptimize, SiteGround Optimizer and Cloudflare are told to leave the banner alone, and caches are cleared when settings change.

#Shortcodes

ShortcodeWhat it does
[cookietrue_settings_link]A link that reopens the cookie settings. Put it in your footer or privacy page.
[cookietrue_declaration]Your up-to-date cookie list, for a Cookie Policy page.

You can also use a plain link to #cookietrue-settings. See Cookie list.

#Disconnect or remove

Disconnect on the CookieTrue screen removes the banner from the site. Your account, settings and consent log stay in the dashboard. Deleting the plugin removes its stored options.

#Troubleshooting

  • The banner does not appear. Clear every cache (plugin cache, server cache and your CDN), then reload in a private window.
  • The screen says "waiting for the first visit". Open the front page once in a private window.
  • A tracker still loads. Add it under Blocking → Extra services to block. See Blocking.

More in Troubleshooting.

Still stuck? Write to [email protected]. A person answers, usually the same day.