Skip to main content
TagManifest /Docs Dashboard

Tags with 10+ blocking triggers

Tags have 10 or more blocking (exception) triggers, creating fragile configurations that are hard to debug.

On this page 6

Summary

  • rule_id — trigger-excessive-blocking
  • purpose — Flag active tags with 10 or more blocking (exception) triggers
  • effect — Each added blocker creates another condition that can silently prevent tag firing
  • layer — container
  • reversibility — non-destructive

What fires this

The rule iterates active (non-paused) tags and counts entries in t.blockingTriggerIds. Any tag with 10 or more entries is flagged. Paused tags are excluded. The rule does not evaluate whether the blockers are logically redundant — it flags on count alone. Each flagged tag is reported with its id, name, and blockerCount.

Why it matters

Blocking triggers are exception conditions: fire everywhere except when a blocker matches. Ten or more exceptions means ten separate conditions, each capable of silently suppressing the tag. Debugging a misfiring tag requires checking all ten. One trigger mis-scoped during a future edit can disable tracking across pages you intended to cover. The recommended alternative — a single firing trigger with tightly scoped filter conditions — keeps the intent explicit and the failure surface small.

Before / after

Tag has 12 blocking triggers: one per marketing subdomain, one per campaign URL pattern, one per locale, and several leftovers from past A/B tests. Firing logic is split across 12 separate exception entries.

Single firing trigger scoped to the exact pages the tag should fire on. All inclusion logic lives in the trigger's filter conditions. Zero blocking triggers remain.

Remediation

  1. Open each flagged tag and list all blocking triggers by name.
  2. Identify blockers that are logically equivalent — for example, multiple subdomain exclusions that could collapse into one regex condition.
  3. Identify blockers left over from past tests or campaigns that no longer apply and delete them.
  4. Rewrite the remaining logic as a single firing trigger with filter conditions that express the same inclusion rules positively.
  5. Publish and verify the tag fires on intended pages and does not fire on excluded pages.
  6. If complex suppression is genuinely required, document the intent in the tag description field.

Metadata

Severity
medium
Tier
optimization
Category
quality
Layer
container
Version
1
Effort
2hr (about 2 hours)
Reversibility
non-destructive

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":"trigger-excessive-blocking","url":"https://example.com"}'