Skip to main content
Glarify Docs

Documentation

Complete guide to Glarify SEO Analytics — set up, learn the workflow, and ship faster.

Tag Manager Auditing

Tag Manager Auditing

Audit your GTM containers for performance and accuracy

Updated 2024-12-20

Tag Manager Auditing

Audit your Google Tag Manager containers to ensure proper tracking, performance, and data quality.

Overview

The GTM Auditing feature connects to your Google Tag Manager account and provides:

  • Container Health Score: Overall assessment of your GTM setup
  • Tag Analysis: Review all tags, their firing rules, and performance impact
  • Trigger Validation: Ensure triggers are correctly configured
  • Variable Audit: Check for unused or misconfigured variables
  • Data Layer Verification: Validate GA4 event implementation

Getting Started

Connecting GTM

  1. Navigate to Analytics → Tag Manager in the sidebar
  2. Click "Connect GTM Account"
  3. Grant read access to your GTM containers
  4. Select which containers to audit

Container Overview

Once connected, you'll see:

MetricDescription
Health Score0-100 score based on best practices
Tags CountTotal number of tags in container
Triggers CountTotal triggers configured
Variables CountCustom variables defined
Last PublishedWhen container was last deployed

Audit Categories

Tag Health

The auditor checks each tag for:

  • Naming Convention: Consistent, descriptive names
  • Firing Triggers: Correctly associated triggers
  • Blocking Triggers: Appropriate exclusions
  • Tag Type: Proper configuration for tag type
  • Paused Status: Identify unused paused tags

Common Tag Issues

IssueImpactSolution
No firing triggerTag never firesAdd appropriate trigger
Generic namingHard to manageUse descriptive names
Missing blocking triggerMay fire on unwanted pagesAdd exclusion triggers
Outdated tag typeMay not work correctlyUpdate to latest version

Trigger Analysis

The auditor validates:

  • Trigger Conditions: Logic is correct
  • Page Path Matching: URLs matched correctly
  • Event Naming: Consistent event names
  • Custom Events: Proper data layer integration

Variable Audit

Checks for:

  • Unused Variables: Variables not referenced by any tag
  • Constant Values: Could be simplified
  • Data Layer Variables: Proper path configuration
  • JavaScript Variables: Valid syntax

GA4 Verification

Event Implementation Check

Verify your GA4 events are correctly implemented:

  1. Event Names: Follow GA4 naming conventions
  2. Parameters: Required and recommended params included
  3. User Properties: Properly configured
  4. E-commerce Events: Correct schema for purchases

Data Quality Indicators

CheckStatusDescription
Enhanced Measurement✅ EnabledAutomatic scroll, outbound clicks
Cross-Domain✅ ConfiguredProper linker configuration
Debug Mode⚠️ ActiveRemember to disable for production
Consent Mode✅ ImplementedGDPR/privacy compliance

Running an Audit

On-Demand Audit

  1. Select your container from the dropdown
  2. Click "Run Audit"
  3. Wait 30-60 seconds for analysis
  4. Review findings by category

Audit Results

Results are categorized by severity:

  • 🔴 Critical: Must fix immediately
  • 🟡 Warning: Should address soon
  • 🟢 Passed: No issues found
  • ℹ️ Info: Suggestions for improvement

Best Practices

Tag Management

  • Use folders to organize tags by purpose
  • Follow naming convention: [Type] - [Purpose] - [Details]
  • Document complex trigger conditions
  • Test in preview mode before publishing

Performance Optimization

  • Minimize JavaScript execution time
  • Use built-in variables when possible
  • Avoid custom HTML tags when alternatives exist
  • Load tags asynchronously when possible