Skip to content
Skillpedia
Websites & UI (frontend)75k · #2863

gtm-present

What it does

This skill reviews how Google Tag Manager is set up and how much it slows a page down. It is for site owners and developers who use GTM for analytics and ads.

When to use it

  • ✓When your pages feel slow after adding Google Tag Manager.
  • ✓When your container has many old or unused tags.
  • ✓When you want to move some tracking work off the visitor's browser.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/gtm-present/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/gtm-present/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you check whether Google Tag Manager is slowing down my site?”

5 new skills a week. 1 minute to read.

How it works

The agent looks at how the GTM script loads and counts the tags and triggers that run. It suggests removing unused tags, loading asynchronously and considering server-side tagging.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Optimize Google Tag Manager implementation

An unoptimized GTM setup can lead to significant main-thread blocking and increased page weight, slowing down the overall user experience.

Quick Reference

  • Place the GTM script in the <head> but audit its impact
  • Minimize the number of tags and triggers to reduce execution
  • Use Server-Side GTM to offload processing from the client

Check

Verify that GTM is implemented correctly and evaluate its impact on page performance using Lighthouse.

Fix

Clean up unused tags, use asynchronous loading, and consider moving to a server-side implementation.

Explain

Explain how GTM affects performance and how to balance tracking needs with speed.

Code Review

Review 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.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/performance/gtm-present

FAQ

What is server-side GTM?

It moves some tag processing to a server, so less work runs in the visitor's browser.

How is the impact measured?

The skill suggests Lighthouse to see how GTM affects the main thread and page weight.

Should GTM be removed?

The skill does not suggest removing it. It says to balance tracking needs with speed.

Details

Original description by the author

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.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#2863
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills