Trace a consent choice from the script download to your tags
Check the 9 stages of a TermsFeed Privacy Consent load in order and stop at the first one that fails, because every later stage depends on it. A problem with Google Consent Mode v2 sometimes starts at the settings document, so skipping ahead hides the cause. 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 Test Visitor Location.
Step 1: Confirm the script downloads
Open the Network tab, type termsfeedtag into the filter box, and reload the page. A working page lists 7 requests with status 200: plugin.js, plugin-2.js, plugin-r2.js, preferences-r2.js, vendors-r2.js, and 2 requests named settings.json.
A missing plugin.js means the snippet is not on the page, and 2 plugin.js requests mean it appears twice. Put the snippet in the <head> of every page, once, with Install the Script.
Step 2: Confirm the settings document is serviceable
Type settings.json into the filter box and select the second request, whose address contains /plugins-api-w/. Open its Preview tab and read serviceable, which must be true.
A value of false means the server reports the consent banner as not serviceable. The console shows [ww][05cfcfb6] not serviceable, 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.
Step 3: Confirm a clean startup in the console
Open the Console tab and type [ee] into its filter box, then [ww]. A healthy page load does not print a line for either, and each line that remains names a script part and an 8-character code, such as [termsfeed][pc-loader-2-r2] [ee][2c7dd752] settings failed!.
An uncaught Error whose message is an [ee] code belongs to Privacy Consent too. Look up every code in the Console Error Reference.
Step 4: Confirm the consent banner renders
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.
A clean startup with no such element means your location, your settings, or a stored answer hides the consent banner. Work through the causes with Consent Banner Missing.
Step 5: Confirm the choice is stored
Click I Agree on the consent banner. 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. A value that still holds only user_token, with [ee][ef136bd1] in the console, means the browser blocked the write. Find the fix with Consent Banner Keeps Returning.
Step 6: 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 7: 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.
Step 8: Confirm Google Consent Mode v2 receives the update
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.
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 9: Confirm the network shows the outcome
This stage proves the outcome from the Network tab, for one vendor added as a custom vendor with an on-accept vendor tag.
- 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. - Click I Agree. Requests to the vendor host appear.
- Type
events.pushinto the filter box. The request returns status 201, so the choice reached the consent log. - Close every private window, open a new one, and click I Decline. No request to the vendor host appears, and
events.pushreturns 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, so support reproduces the problem without a second round of questions.
- 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.jsonrequest, from its Response tab. - The value after "Consent identifier" in the 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.