Skip to main content
TagManifest /Docs Dashboard

Active tags marked for removal

Active tags have names suggesting they should be removed or are temporary (e.g., [Remove], [Delete], TODO, TEMP, TEST, DEPRECATED, [maybe remove]). These tags are still firing on every matching page load despite being flagged for cleanup.

On this page 6

Summary

  • rule_id — tags-marked-for-removal
  • purpose — Detect active tags whose names carry cleanup markers indicating intent to remove
  • effect — Tags flagged for deletion continue firing on every matching page load
  • layer — container
  • reversibility — non-destructive

What fires this

The rule iterates all tags in the container and tests each name against the pattern /\[remove\]|\[delete\]|\bTODO\b|\bTEMP\b|\bTEST\b|\bDEPRECATED\b|\[maybe remove\]/i. Any active (non-paused) tag whose name matches is added to the affected list. The rule returns one issue listing every matched tag by ID, name, and type. Paused tags are excluded — they already stopped firing.

Why it matters

A tag named [REMOVE] - Old Conversion Pixel is a commitment deferred. The name signals the engineer knew the tag was no longer needed but skipped deletion. Every page load where the tag fires wastes a network request, may send data to a platform that no longer tracks the goal, and adds noise to attribution. TEST tags are a specific concern: they often send data to ad platforms during QA that the team assumed would be removed before production. Cleanup-marked tags accumulate silently without a rule to surface them.

Before / after

Tag name: [REMOVE] - Legacy Remarketing Pixel Status: Active Firing trigger: All Pages

Tag still fires on every page despite the [REMOVE] marker in its name.

Tag deleted from the container.

If the configuration may be needed again, add a version note before deleting.

Remediation

  1. Open the container and filter tags to the names flagged in the issue payload.
  2. For each tag, confirm whether the underlying conversion, remarketing, or tracking goal is still active.
  3. If the goal is inactive or migrated: delete the tag.
  4. If the tag is a test tag that reached production: pause it immediately, then delete after confirming no production impact.
  5. If the tag was mislabeled and the goal is still active: remove the cleanup marker from the name.
  6. Publish a new container version after all flagged tags are resolved.

Metadata

Severity
low
Tier
info
Category
dead-code
Layer
container
Version
1
Effort
15min (about 15 minutes)
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":"tags-marked-for-removal","url":"https://example.com"}'