Skip to main content
TagManifest /Docs Dashboard

CMP detected but some tags have no consent configured

A CMP is present and some tags have consent configured, but 1-80% of tags remain at NOT_SET. Ad and tracking tags without consent are highlighted.

On this page 6

Summary

  • rule_id — consent-partial-coverage
  • purpose — Detect containers where a CMP is present but 1–80% of active tags remain at NOT_SET
  • effect — Those tags fire regardless of the user's consent choice, bypassing CMP control
  • layer — container
  • reversibility — non-destructive

What fires this

The rule calls detectCMP() and exits immediately if no CMP is found. When a CMP is present, it counts all active (non-paused) tags where consent === 'NOT_SET', excluding the CMP tag itself by ID. The NOT_SET percentage is calculated across active tags. The rule fires only when that percentage is from 1% to 80% inclusive, after rounding to a whole percent. Above 80% this rule is silent and the more severe consent-cmp-not-wired takes over. The two count differently: consent-cmp-not-wired includes the CMP tag in its NOT_SET count and this rule leaves it out, so a container whose CMP tag is itself NOT_SET can trigger both near the boundary. Within the finding, the rule identifies ad and tracking tags in the NOT_SET set by matching against known tag types, a keyword pattern on tag names, and codeAnalysis flags including hasFbq, hasLintrk, hasTtq, hasSnaptr, hasRdt, hasTwq, and hasPintrk.

Why it matters

Tags at NOT_SET bypass the CMP entirely. The CMP only gates tags configured with NEEDED — it has no effect on NOT_SET tags. This is a common outcome of incremental compliance work: GA4 and Google Ads were wired during a project, but the container kept growing and new tags were never configured. Ad pixels and behavioral trackers in the NOT_SET set collect data for targeting without a consent gate — the highest-risk subset. Regulatory: GDPR Art. 6 (lawful basis), GDPR Art. 7 (consent).

Before / after

Four tags in the container. CMP is present.

  • GA4 Configuration — consent: NEEDED (analytics_storage)
  • Google Ads Conversion — consent: NEEDED (ad_storage)
  • LinkedIn Insight Tag — consent: NOT_SET
  • Meta Pixel (Custom HTML) — consent: NOT_SET

LinkedIn and Meta fire on every page load, consent or not.

All four tags consent-wired.

  • GA4 Configuration — consent: NEEDED (analytics_storage)
  • Google Ads Conversion — consent: NEEDED (ad_storage)
  • LinkedIn Insight Tag — consent: NEEDED (ad_storage, ad_user_data)
  • Meta Pixel (Custom HTML) — consent: NEEDED (ad_storage, ad_user_data)

CMP now controls the full tag set.

Remediation

  1. Open the finding and note every tag listed at NOT_SET.
  2. Prioritize the ad and tracking subset the rule surfaces — these carry the highest regulatory exposure.
  3. For each ad or tracking tag at NOT_SET: set consent to NEEDED, add ad_storage, and add ad_user_data if the tag sends user identifiers.
  4. For analytics tags at NOT_SET: set consent to NEEDED and add analytics_storage.
  5. For utility tags (session replay, chat widgets): determine whether they collect personal data. If yes, set NEEDED with the appropriate category. If no, set NOT_NEEDED to make the decision explicit.
  6. Verify no active tags remain at NOT_SET after completing the above steps.

Metadata

Severity
medium
Tier
optimization
Category
consent
Layer
container
Version
1
Effort
2hr (about 2 hours)
Reversibility
non-destructive
Regulatory
GDPR Art. 6 (lawful basis), GDPR Art. 7 (consent)

See also

Examples

Evaluate
curl https://developer.tagmanifest.com/v1/evaluate-rule \
  -H "Authorization: Bearer $TM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rule_id":"consent-partial-coverage","url":"https://example.com"}'