{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-gtm-present-21d94177cfae","title":"Optimize Google Tag Manager Implementation for Performance","summary":"Audit and improve GTM setup to reduce main-thread blocking and page load time by identifying and removing unnecessary tracking overhead.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-gtm-present-21d94177cfae","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-gtm-present-21d94177cfae","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-gtm-present-21d94177cfae.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-gtm-present-21d94177cfae\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes. Ensure the GTM script is placed in the `<head>` and audit its impact.","instructions":"---\nname: gtm-present\ndescription: \"Use when auditing slow page loads, heavy assets, or rendering delays related to Optimize Google Tag Manager implementation. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.\"\nmetadata:\n  category: performance\n  priority: medium\n  difficulty: intermediate\n  estimatedTime: \"15\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/performance\/gtm-present\n---\n\n# Optimize Google Tag Manager implementation\n\nAn unoptimized GTM setup can lead to significant main-thread blocking and increased page weight, slowing down the overall user experience.\n\n## Quick Reference\n\n- Place the GTM script in the `<head>` but audit its impact\n- Minimize the number of tags and triggers to reduce execution\n- Use Server-Side GTM to offload processing from the client\n\n## Check\n\nVerify that GTM is implemented correctly and evaluate its impact on page performance using Lighthouse.\n\n## Fix\n\nClean up unused tags, use asynchronous loading, and consider moving to a server-side implementation.\n\n## Explain\n\nExplain how GTM affects performance and how to balance tracking needs with speed.\n\n## Code Review\n\nReview the routes, assets, and loading behavior that affect Optimize Google Tag Manager implementation. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/performance\/gtm-present\n","use_cases":["Auditing slow page loads caused by GTM implementation","Identifying heavy assets or rendering delays related to GTM","Evaluating the impact of GTM on page performance using Lighthouse"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/gtm-present\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T16:19:42.000000Z","updated_at":"2026-11-23T04:55:09.000000Z","seo_title":"Optimize Google Tag Manager for Performance","seo_description":"Improve page load speed and reduce main-thread blocking by optimizing GTM setup and reducing unnecessary tracking overhead.","seo_keywords":["optimize GTM performance","reduce GTM page load","GTM performance audit","optimize Google Tag Manager","GTM main-thread blocking"]}}