Privacy Consent loads your cookie banner on the domains you add: the main website domain and the additional domains. A subdomain such as shop.example.com that shows nothing is missing from the list, lacks the snippet, holds an earlier answer, or blocks the script.

The location rules apply on a subdomain as on the main site, so test both from the same place. A consent banner that shows on no hostname has other causes, which you trace in Consent Banner Missing.

Cause 1: The pages of the subdomain do not carry the snippet

A subdomain often runs on another platform or template, so the snippet you pasted on the main site never reaches it. A shop on Shopify, a blog on WordPress, and a landing page builder each keep their own head code. Each one needs its own copy of the same snippet.

The Network tab on the subdomain settles it. Type termsfeedtag in the filter and reload the page. No plugin.js line means the pages there do not load Privacy Consent.

Add the snippet through the head field of that platform. Find the field for each platform in the install guides, and check hosted services with no head access in Unsupported Environments.

  1. Copy the snippet from the Install page of your consent banner in the TermsFeed app.
  2. Paste it into the head of every page on the subdomain.
  3. Purge any page cache on the subdomain.
  4. Reload with the Network tab open and confirm that plugin.js returns status 200.

Cause 2: An answer is already stored on the subdomain

Privacy Consent asks once per origin, so a test after an earlier click on that subdomain shows nothing. The answer sits in local storage under the key termsfeed_privacy_consent_state, with one record for each origin. Your answer on the subdomain has no effect on the main site, and your answer on the main site has no effect on the subdomain.

Open the Application tab, open Local storage in the Storage group, and select the origin of the subdomain, such as https://shop.example.com. A termsfeed_privacy_consent_state entry with consentedDate means this browser answered there.

Close every private window, open a new one, and load the subdomain to see the consent banner appear.

Cause 3: The subdomain sends a stricter Content Security Policy

A subdomain on another server often sends its own Content Security Policy (CSP), which blocks the Privacy Consent files. A Content Security Policy is the header that lists the hosts a page loads code from. The main site loads the consent banner while the subdomain refuses the same script.

Read the Console tab on the subdomain. A message that starts "Refused to load the script" or "Refused to connect" and names cdn.termsfeedtag.com points to the policy, and the Network tab filtered by termsfeedtag shows (blocked:csp).

Add https://cdn.termsfeedtag.com to script-src and connect-src in the policy of the subdomain, and allow inline styles in style-src. Reload and confirm that the requests return status 200. Copy the complete allowances from Content Security Policy.

Why each subdomain asks visitors again

Privacy Consent stores each answer in local storage, which belongs to one origin, so an answer on www.example.com does not reach shop.example.com. A visitor who answered on the main site sees the consent banner once more on each subdomain. Adding the subdomain to your consent banner does not change this.

The consent log records each of those answers as its own event, with the hostname in the domain column of the CSV export. Choose between asking on each subdomain and mirroring the answer with your own code in Cross-Subdomain Consent.

How to list a subdomain as an additional domain

List each subdomain on your consent banner, so the cookie banner loads there. The consent log stores the hostname of each event.

Add a subdomain in 4 steps. The app saves each one at once.

  1. Open your consent banner in the TermsFeed app and open its "Settings" page.
  2. Select "+ Add domain" under "Additional domains".
  3. Enter the subdomain, such as shop.example.com, and select "Add".
  4. Confirm that the subdomain appears in the list with a "Remove" link.

The app removes a leading www., so www.example.com and example.com count as a single entry, although they keep separate answers. The hint under the heading says whether *.example.com works for your consent banner. At the limit on additional domains, adding fails with "Domain limit reached". Read the complete domain setup in Multiple Domains.

Run this check on every subdomain, in a new private window, from a place that sees the consent banner.

  1. Open DevTools on the subdomain, open the Network tab, type termsfeedtag in the filter, and reload. 7 requests return status 200.
  2. Type plugins-api-w in the filter, select the settings.json request, and read "serviceable": true in its Preview tab.
  3. Confirm that the consent banner appears, then click I Agree or I Decline.
  4. Type events.push in the filter and confirm that the request returns status 201.

The answer reaches the consent log within about 1 second, with the subdomain in the domain column of the CSV export.