Skip to Content

XT Cookie Consent

A light WordPress cookie banner that asks before analytics and marketing cookies, and remembers each visitor's choice.

XT Cookie Consent asks visitors before any analytics or marketing cookies are used. Accept and Reject are equally easy, and visitors can change their minds at any time. It's built and looked after by Xplicit Tech Solutions.

What it does

  • Asks first. Nothing optional runs until a visitor says yes. Analytics and marketing scripts are held, then run in order once their category is allowed.
  • Works with Google Consent Mode v2. Google tags follow the visitor's choice, including Site Kit, gtag.js and Tag Manager. Microsoft Advertising and Clarity get the choice through their own consent signals.
  • Honors Global Privacy Control. When a browser sends the "don't sell or share" signal, Accept all leaves marketing off.
  • Finds common plugins by itself. Route, Jetpack, WooCommerce, Mailchimp for WooCommerce, WPForms, PayPal, Stripe and Site Kit are handled with nothing to set up. See Found on this site.
  • Keeps proof of consent. Each choice is recorded with a random consent ID, what was chosen, when, and the wording shown. No IP address is kept.
  • Holds embedded content. Maps, videos and social posts show a placeholder with a Load button until Marketing is allowed. YouTube plays from youtube-nocookie.com.
  • Lists your cookies. One shortcode puts a cookie table on your policy page, and visitors see the same list in their cookie choices.
  • Watches for unlisted cookies. If a new plugin starts setting a cookie the list doesn't cover, it shows up in the settings and a weekly email says how many are new.
  • No banner when there's nothing to ask. A site with no analytics or ads shows no banner at all.

It works with page caching and the WP Consent API, needs WordPress 6.4 or later and PHP 7.4 or later, and is keyboard and screen-reader friendly.

Get started

  1. Install and set it up: about ten minutes for most sites.
  2. Go through the settings, tab by tab.
  3. Developers: see scripts, events and filters.

Not legal advice

The plugin gives you the tools to ask for and record consent. What your site needs depends on where your visitors are and what your site does, so check your policy with someone who knows the rules that apply to you.

On this page