Tags with no folder assignment
Tags not assigned to any folder. Only fires for containers with 15+ active tags — folder organization is overhead for small containers.
Summary
- rule_id —
tags-no-folder - purpose — Detect tags with no folder assignment in containers with 15+ active tags
- effect — Unorganized containers are harder to audit, hand off, and maintain
- layer — container
- reversibility — non-destructive
What fires this
The rule counts active tags (those where t.paused is false) and returns early if the total is below 15. When the threshold is met, it checks every tag — paused or not — for a missing folderId. Tags without a folder are collected into the affected array. The rule reports the count, total, and percentage of unfoldered tags. It fires once per container, not once per tag.
Why it matters
A flat tag list with 20+ entries has no visual hierarchy. Finding a specific tag requires scrolling or search rather than navigating a known folder structure. Auditing becomes slower, and handoffs to new team members take longer. Folder assignment is a one-time action per tag with no runtime consequences. The 15-tag threshold ensures the rule stays silent for small containers where folder overhead isn't justified.
Before / after
Container has 22 tags. All 22 sit in the root tag list with no folder assignment. Locating the LinkedIn Insight Tag requires scrolling past GA4 base tags, Hotjar, Intercom, and various conversion tags.
Tags grouped into folders: Analytics, Ads - Google, Ads - LinkedIn, Ads - Meta, Forms, Consent. Each folder holds 2–6 tags. Any new tag is assigned a folder before publishing.
Remediation
- Open the container in GTM (Google Tag Manager) and select the Tags view.
- Create folders by platform or function — for example: Analytics, Ads - Google, Ads - Meta, Forms, Consent.
- Assign each unfoldered tag to the appropriate folder using the tag's folder selector.
- For tags that don't fit an existing folder, create a new folder rather than leaving them unfoldered.
- Establish a team convention: all new tags get a folder before publishing.
Metadata
- Severity
- low
- Tier
- info
- Category
- organization
- Layer
- container
- Version
- 1
- Effort
2hr(about 2 hours)- Reversibility
- non-destructive
See also
- Organization rules — other rules in this category
- Health score — how this rule contributes to the score
- Rules catalog — browse all rules
Examples
curl https://developer.tagmanifest.com/v1/evaluate-rule \
-H "Authorization: Bearer $TM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"rule_id":"tags-no-folder","url":"https://example.com"}'
User: Run tags-no-folder on https://example.com
# Tool call
{
"tool": "evaluate_rule",
"arguments": {
"rule_id": "tags-no-folder",
"url": "https://example.com"
}
}