The Cookie Consent kit in TermsFeed AutoTerms hides the cookie banner from a browser that already answered. A script that never loads or never runs leaves a trace in the page source or in Chrome DevTools (F12). Compare what you find with the markup in Cookie Banner Code on WordPress Pages.

The Cookie Consent script shows the consent banner only to a browser with no saved answer, so your own answer in this browser hides it on later visits. Visitors who have not answered still see the consent banner, so nothing needs a change.

Close every private window, then compare your normal window with a new private window. A consent banner in the private window and none in your normal window points to your own saved answer. The Application tab of the normal window then lists the cookie cookie_consent_user_accepted with the value true. With no such cookie, an ad blocker in the normal window hides the consent banner, either by blocking the script request or by hiding the consent banner element.

Open your saved choice from the "Update cookies preferences" link at the end of the page. Check the consent cookie and the other causes inside the script with Cookie Banner Not Appearing With Free Cookie Consent.

The plugin prints nothing for the Cookie Consent kit while the kit is off, which is its state after install. No vendor script prints either, blocked or unblocked. The "Disable" button on the Compliance Kits screen turns the kit off, and so does the Enabled checkbox on its Customization tab. Check every setting of a first setup with Add a Cookie Banner to WordPress.

  1. Click the "Enable" button in the Cookie Consent box on TermsFeed > Compliance Kits. The screen shows "Cookie Consent enabled." with no "Save Changes" click.
  2. Clear the page cache.
  3. Close every private window, open a new one, and load the page.

Cause 3: The "Configuration Parameters" hold invalid JSON

The Cookie Consent script starts only from a valid Configuration Parameters JSON object, so with invalid JSON, the plugin prints the script and the script never starts. The consent banner stays hidden, the "Update cookies preferences" link disappears, and every vendor script stays blocked. The plugin refuses invalid JSON on every save in the WordPress admin, so invalid JSON comes from a write outside it, such as wp option update or a database import.

Open the Customization tab from "Configure" in the Cookie Consent box on TermsFeed > Compliance Kits. It shows the notice "The Configuration Parameters are not valid JSON, so changes made here are not applied. Please correct them on the Configuration Parameters tab." In the page source (Ctrl+U, or Cmd+Option+U on a Mac), the script with the id termsfeed-autoterms-cookie-consent-script does not hold a cookieconsent.run call. Check each key and its accepted values in Cookie Banner JSON Settings in WordPress.

Correct the JSON by hand.

  1. Open the Configuration Parameters tab and correct the JSON: double quotation marks around every key and every text value, a comma between entries, and a closing }.
  2. Click the "Save Changes" button, and correct the text again while the tab shows an error.
  3. Open the Customization tab and confirm that the notice is gone, then clear the page cache.

A faster fix rebuilds the JSON from the Customization tab, but the rebuild drops the keys you added by hand.

  1. Copy the keys you added by hand out of the Configuration Parameters field.
  2. Empty the field and click the "Save Changes" button. The plugin writes the JSON again from the Customization settings.
  3. Add the copied keys back into the field, click the "Save Changes" button, and clear the page cache.

A page speed plugin that delays JavaScript until the visitor scrolls or clicks holds back the Cookie Consent kit, so the consent banner appears late or not at all. WP Rocket "Delay JavaScript execution" and the LiteSpeed Cache "Delayed" option work this way. Combining script files or deferring scripts does not cause the problem.

Type cookie-consent in the Network filter and reload without moving the mouse over the page. A working page lists 3 requests with status 200 at once: the loader cookie-consent.js, the code file cookie-consent-code.js, and a ping request. Requests that appear only after you move the mouse, scroll, or click confirm a delay. The Console message Uncaught ReferenceError: cookieconsent is not defined shows that only the Cookie Consent script is delayed.

Exclude the Cookie Consent script and its 2 inline scripts from delay. Find where each page speed plugin keeps its exclusion list in WordPress Caching Plugins.

  1. Add www.termsfeed.com/public/cookie-consent/, wpautotermsCookieConsentCallbacks, and wpautotermsRunCookieConsent to the list of scripts your page speed plugin never delays.
  2. Clear the cache of the page speed plugin.
  3. Close every private window, open a new one, and load the page. The consent banner appears before you scroll.

Cause 5: A page cache serves a page from before the change

A page cache serves logged-out visitors the HTML stored before you turned the kit on or changed it, while you see the current page logged in. A page stored before the change does not show the consent banner, or shows the old settings, until you clear the cache.

Close every private window, open a new one, and load the address with an unused query string such as ?nocache=1 added. A cache or content delivery network (CDN) that ignores query strings serves the stored page there too, so clear that cache instead. Then load the plain address in the same window, without answering the consent banner. A consent banner on the ?nocache=1 address and none on the plain address means the cache serves an old page.

Purge every cache between your WordPress website and the visitor. Find the clearing step for each kind of cache in WordPress Caching Plugins.

  1. Purge the caching plugin.
  2. Purge the server cache of your host and the cache of your CDN.
  3. Close every private window, open a new one, and load the plain address.

Clear the cache again after every later change to the kit.

Cause 6: An ad blocker or a Content Security Policy blocks www.termsfeed.com

The consent banner needs the script from www.termsfeed.com, so an ad blocker, a DNS blocklist, or a Content Security Policy (CSP) that leaves out that host hides it.

Use the normal window that does not show the consent banner, because Chrome and Firefox turn extensions off in private windows unless you allow them. Filter the Network tab for termsfeed and reload the page. A cookie-consent.js request that fails or never appears points to this cause, and the Console tab tells a blocker apart from a policy. Read each trace in Ad Blockers and CSP Hide the Cookie Banner in Free Cookie Consent.

Let the script from www.termsfeed.com through the blocker or the policy. The kit prints inline scripts with no nonce attribute and inline styles, so keep 'unsafe-inline' in script-src and style-src. Copy the policy from The minimum Content Security Policy for Cookie Consent.

  1. Pause the ad blocker or the DNS blocklist for your WordPress website, and reload to confirm that the consent banner appears.
  2. Add https://www.termsfeed.com to script-src in your Content Security Policy.
  3. In the window that did not show the consent banner, open DevTools on the Network tab filtered on termsfeed, and reload the page. The cookie-consent.js request returns status 200.

A working kit shows the consent banner in a new private window.

  1. Clear the page cache, close every private window, open a new one, and open DevTools with F12.
  2. Open the Network tab, type cookie-consent in the filter, and load your page. The loader, the code file, and the ping request return status 200.
  3. Open the Console tab and confirm that no red line names cookie-consent.js, cookieconsent, or termsfeed.
  4. Look at the consent banner. Under the ePrivacy preference, it shows the "OK" and "Change my preferences" buttons. Under the GDPR preference, it shows "I agree", "I decline", and "Change my preferences". With "notice_banner_reject_button_hide": true in the Configuration Parameters, the "I decline" button does not appear.
  5. Scroll to the end of the page and confirm the "Update cookies preferences" link, which the kit adds while "Insert link for users to open Preferences Center" is on.

A consent banner that appears proves only that the script runs. Check that your vendor scripts wait for consent with WordPress Script Runs Before Consent.