Skip to main content
TagManifest /Docs Dashboard

Tags without structured naming convention

5+ active tags lack a structured naming separator ( - , – , | , : ). A consistent naming convention makes the container easier to navigate, filter, and audit.

On this page 6

Summary

  • rule_id — naming-no-convention
  • purpose — Detect containers where most active tags lack a structured naming separator
  • effect — Tags are difficult to filter, search, and audit without a consistent naming pattern
  • layer — container
  • reversibility — non-destructive

What fires this

The rule filters active (non-paused) tags and checks each tag name against a separator pattern. The pattern accepts space-padded forms (GA4 - Event - Purchase) and no-space forms (GA4-Event-Purchase). The rule fires only when two thresholds are both met: at least 5 tags fail the separator check, and those tags represent 40% or more of all active tags. Containers with 8 or fewer active tags are skipped — no convention can be established at that scale.

Why it matters

Unstructured tag names make routine container work slower and error-prone. Filtering by platform, type, or action in the GTM (Google Tag Manager) UI relies on predictable name segments. Without separators, auditors must read every tag name individually to determine scope. When containers grow or change ownership, undocumented naming increases the risk of duplicate or conflicting tags. Renaming tags is non-destructive and does not affect firing behavior.

Before / after

Tags named without separators:

  • GA4 purchase
  • Google Ads conversion
  • Meta pixel pageview
  • Hotjar recording
  • LinkedIn insight

Tags renamed with a consistent separator convention:

  • GA4 - Event - Purchase
  • Google Ads - Conversion - Checkout
  • Meta - Pixel - Pageview
  • Hotjar - Session - Recording
  • LinkedIn - Insight - All Pages

Remediation

  1. Choose a separator style for the container: space-dash-space (-), pipe (|), or colon (:). Pick one and document it in a container description or internal wiki.
  2. Decide on a naming structure, for example Platform - Type - Action or Vendor - Tag Type - Trigger Scope.
  3. Open GTM and filter active tags by the tag names listed in the issue payload.
  4. Rename each flagged tag to match the chosen pattern.
  5. Confirm whether paused tags should be renamed or deleted before reactivation.
  6. Publish a versioned container snapshot after renaming so the change is auditable.

Metadata

Severity
medium
Tier
info
Category
organization
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":"naming-no-convention","url":"https://example.com"}'