Check the 7 stages of a TermsFeed Privacy Consent load in order and stop at the first one that fails, because every later stage depends on it. The whole check takes about 20 minutes.

You need the TermsFeed app open on your consent banner, Chrome with DevTools, and a page that runs the vendors you want to test. Run every stage in a new private window, from a location where the consent banner shows. Plan a test from another location with the location test steps.

  1. Confirm that the script downloads, the settings report "serviceable": true, and the console does not show an [ee] or [ww] line. Follow checks 1 to 3 of Verify Your Installation.
  2. Open the Elements tab, press Ctrl+F (Cmd+F on a Mac), and search for id="termsfeed_pc1_notice_banner". The element sits in the <body> while the consent banner shows, and it leaves the page once the visitor answers.
  3. Click I Agree, open the Application tab, select Local storage and your site, and select termsfeed_privacy_consent_state. The value holds a consentState object with a consentedDate, "answeredBy": "visitor", and each vendor category at "enabled": true.

Match what you see in a failed stage to its fix.

  • 2 plugin.js requests appear. The snippet sits twice on the page. Keep 1 copy in the <head> of every page with Install the Script.
  • serviceable reads false. TermsFeed does not serve this consent banner, and the script stops with no consent banner, no vendor tags, and no consent log events. Check the status of the consent banner with the not-serviceable warning.
  • An uncaught Error carries an [ee] code. The error comes from Privacy Consent too. Look up every code in the Console Error Reference.
  • The consent banner element is missing after a clean startup. Your location, your settings, or a stored answer hides the consent banner. Work through the causes with Consent Banner Missing.
  • The stored value holds only user_token. The browser blocked the write, and the console shows [ee][ef136bd1]. Find the fix with Consent Banner Keeps Returning.

Step 4: Confirm your callbacks fire

Your callbacks must be installed before the snippet, or an answer callback misses a Global Privacy Control override on load. Each v1.callbacks() call replaces all 4 callbacks. A test page with no callbacks of its own takes this set, directly before the Privacy Consent snippet.

<script>
  var callbacks = {
    acceptedAll: function (categories) { console.log('acceptedAll', categories); },
    acceptedSome: function (categories) { console.log('acceptedSome', categories); },
    rejectedAll: function () { console.log('rejectedAll'); },
    initialized: function () {
      console.log('initialized', window.termsfeed_privacy_consent.v1.visitor);
    }
  };
  if (window.termsfeed_privacy_consent !== undefined)
    window.termsfeed_privacy_consent.v1.callbacks(callbacks);
  else
    window.termsfeed_privacy_consent_callbacks = callbacks;
</script>

Load the page in a new private window. The console prints initialized with the detected location and isOptInModel. Click I Agree, and the console prints acceptedAll with ["functionality","analytics","marketing","advertising","essential"].

An answer callback does not run on page load for a returning visitor. A vendor category with some vendors on and some off is missing from the categories array, which counts as denied. A callback that throws prints its [ee] code in the console, and an answer callback prints its error after the code. Check the rules with Callbacks and Consent Semantics.

Step 5: Confirm the data layer receives your event

Skip this stage on a site whose callbacks push no event. Click I Agree, open the Console tab, and run window.dataLayer, then find the event name your callback pushes. Your event is a plain object, while the Consent Mode commands Privacy Consent sends for a Google template appear there as arguments objects.

Google Tag Manager Preview mode shows the same event in its timeline, with the tags it fired. Compare your push and your trigger with Data Layer Events.

Skip this stage on a site without Consent Mode. Open the Network tab, type google-analytics.com into the filter box, and load the page in a new private window. A Google tag added from its template sends requests with gcs=G100 before any choice, and requests sent after you click I Agree carry gcs=G111. The gcd parameter on the same requests holds 1 letter for each of the 4 Consent Mode types: p before the choice and r after I Agree. Decode any other value with the gcs and gcd tables.

Google Tag Assistant shows the default and the update on its Consent tab for each event. A request that still carries gcs=G100 after the click points to the causes in Consent Mode Stays Denied.

Step 7: Confirm the network shows the outcome

Run this stage for one vendor added as a custom vendor with an on-accept vendor tag.

  1. Type the vendor host into the Network filter box, such as hotjar.com, and load the page in a new private window. No request appears before a choice.
  2. Click I Agree. Requests to the vendor host appear.
  3. Type events.push into the filter box. The request returns status 201, so the choice reached the consent log.
  4. Close every private window, open a new one, and click I Decline. No request to the vendor host appears, and events.push returns status 201.

A vendor request before any choice or after I Decline means the vendor code runs outside Privacy Consent. Find where it comes from with Script Fires After Decline.

What to collect before contacting TermsFeed support

Collect the evidence from the stage that failed, in a new private window.

  • The address of the page and the time of the test in UTC.
  • Every console line marked [ee] or [ww], copied as text with its prefix and its code.
  • The response of the second settings.json request, from its Response tab.
  • The value after "Consent identifier" in the Privacy Preferences Center.
  • The name of the consent banner in the TermsFeed app, and the snippet you pasted.
  • The browser and its version, the extensions it runs, and whether it sends Global Privacy Control.

A HAR file of the test page gives support the full request list. Save it from the Network tab in a private window with only your site open, because a HAR file records every request the browser made. Email the evidence to [email protected].