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
- Navigate to Analytics → Tag Manager in the sidebar
- Click "Connect GTM Account"
- Grant read access to your GTM containers
- Select which containers to audit
Container Overview
Once connected, you'll see:
| Metric | Description |
|---|---|
| Health Score | 0-100 score based on best practices |
| Tags Count | Total number of tags in container |
| Triggers Count | Total triggers configured |
| Variables Count | Custom variables defined |
| Last Published | When 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
| Issue | Impact | Solution |
|---|---|---|
| No firing trigger | Tag never fires | Add appropriate trigger |
| Generic naming | Hard to manage | Use descriptive names |
| Missing blocking trigger | May fire on unwanted pages | Add exclusion triggers |
| Outdated tag type | May not work correctly | Update 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:
- Event Names: Follow GA4 naming conventions
- Parameters: Required and recommended params included
- User Properties: Properly configured
- E-commerce Events: Correct schema for purchases
Data Quality Indicators
| Check | Status | Description |
|---|---|---|
| Enhanced Measurement | ✅ Enabled | Automatic scroll, outbound clicks |
| Cross-Domain | ✅ Configured | Proper linker configuration |
| Debug Mode | ⚠️ Active | Remember to disable for production |
| Consent Mode | ✅ Implemented | GDPR/privacy compliance |
Running an Audit
On-Demand Audit
- Select your container from the dropdown
- Click "Run Audit"
- Wait 30-60 seconds for analysis
- 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