The TermsFeed Privacy Consent cookie banner comes back when the page does not find an answer it accepts for the current origin. Privacy Consent keeps the answer in local storage under the key termsfeed_privacy_consent_state, and it does not set a cookie. A consent banner that returns on each page means the answer was never saved or is out of reach. A consent banner that returns once means Privacy Consent asks again on purpose.

The causes run from the most likely, and each names the Chrome DevTools tab to check. The Application tab shows the stored record: open Local storage in the Storage group, select your site, and select termsfeed_privacy_consent_state.

The Close button hides the consent banner for the current page view and saves nothing, so it returns on the next page. It keeps returning until the visitor clicks I Agree or I Decline, or saves a choice in the Preferences Center. Pressing Escape while the consent banner shows does the same, unless the focus is in a form field of your page. Only an explicit answer counts as consent, so leave this behavior in place for visitors.

The stored record shows this case. After a Close, the key holds user_token and no consentedDate, and the consent log records an ignore event for that visitor.

Answer with I Agree or I Decline in your own test, then open another page and confirm that the consent banner stays away. Read the event types in Read the Consent Log.

Cause 2: The browser blocks local storage for the site

A browser that blocks site data forgets every answer, so the Privacy Consent banner returns on every page view. Privacy Consent runs normally for that page view, then finds nothing on the next one. Strict privacy settings and some extensions block site data for every website.

The Console tab names this case. Type termsfeed in the filter and reload to read [ee][d7b5f985] (reading failed) or [ee][ef136bd1] (writing failed). In the Application tab, the key stays missing after a click on I Agree.

Allow site data for your site in the browser settings, or test in a browser profile with default settings, and reload to confirm that the code is gone. Nothing on your site changes this for a visitor who blocks site data, because Privacy Consent has no other place to keep the answer.

Cause 3: The visitor moves between origins

Local storage belongs to one origin, so a visitor who moves from www.example.com to example.com, to a subdomain, or from http:// to https:// meets an empty record. An origin is the scheme, the hostname, and the port together. A menu link, a redirect, or a checkout on another subdomain brings the consent banner back on those pages.

The address bar and the Application tab show the move. Note the full address of the page where the consent banner returns, including www. and the scheme. Then read Local storage in the Application tab, where each origin you visited has its own entry and the new origin has no consentedDate.

Send visitors to one origin wherever you control the address.

  1. Redirect every variant of the main hostname to one address, such as https://www.example.com.
  2. Correct the links in menus and templates that point to another variant.
  3. Open each linked page in a new private window, answer once, and confirm that no page asks again.

Each real subdomain still asks once, because Privacy Consent does not share an answer between origins. Compare your options with Cross-Subdomain Consent.

Cause 4: The answer expired

Privacy Consent keeps an answer for 365 days (12 months), then treats the visit as a first visit and shows the consent banner under the opt-in model, in any region. Visitors in the US see it too. It asks once, and the new answer lasts another 365 days, so expiry never brings the consent banner back on every page.

The expired answer stays in local storage until the next answer replaces it, so the key alone proves nothing. Read its date by typing this line in the Console tab.

new Date(JSON.parse(localStorage.getItem('termsfeed_privacy_consent_state')).consentState.consentedDate * 1000)

A date more than 365 days ago means the answer expired. Answer again and run the line once more to see the current date. Read how the period works in Consent Expiry.

Cause 5: A vendor was added, edited, or deleted after the answer

Adding, editing, or deleting a vendor in the TermsFeed app asks every earlier answer again under the opt-in model. The stored choices stay in effect until the visitor answers, and the consent banner opens with them. Editing counts only for a value the settings serve (name, type, purposes, tags), and switching a vendor on or off does not set a new date. A team that edits vendors often sees the consent banner return after each save.

Compare 2 dates to find out. In the Network tab, type plugins-api-w in the filter, reload, select the settings.json request, and read ask_for_reconsent_before_date inside fields. Then read reconsentBeforeDate in the stored record. Both count seconds since 1 January 1970, and a served date later than the stored one explains the return.

Answer once in your own test, which stores the new date and ends the repeats. Group vendor changes into one session, so visitors answer once per set of changes. Plan them with Vendors Added After Launch.

Cause 6: A single-page app reloads the whole document

Running the snippet again on a route change does not bring the Privacy Consent banner back, because Privacy Consent stops at once when it already started on that page. A single-page app that seems to ask on each route loads a new document for it. Each new document reads the stored record, so the consent banner returns only while the visitor has no saved answer.

The Network tab shows which of the 2 happens. Turn on Preserve log, type plugin.js in the filter, and move between 2 routes. A new plugin.js request with a new document means a full page load, and the stored record tells you whether an answer exists. Causes 1 to 3 then apply.

Keep one copy of the snippet in the head of the application shell, outside every component and route template. Repeat the check to confirm one plugin.js request per full page load. A second copy on the same page load prints [ee][205bde55] or [ee][1040992c] in the Console tab and stops. Place the snippet for your framework with Single-Page Applications.

Run this test after each fix, in a new private window, from a place that sees the consent banner.

  1. Open DevTools, open the Network tab, turn on Preserve log, and type plugin.js in the filter.
  2. Load a page of your site and click I Agree or I Decline on the consent banner.
  3. Open the Application tab and confirm that termsfeed_privacy_consent_state holds consentedDate.
  4. Open other pages through the links on your site and confirm that no consent banner appears on any of them.
  5. Return to the Network tab and confirm one plugin.js request for each full page load.

A consent banner that returns in step 4 on a page with a different address points to Cause 3.