gtm-manager

Automate Google Tag Manager resource operations via the Tag Manager API.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/SuperCorks/agent-skills --skill gtm-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gtm-manager
Source: https://github.com/SuperCorks/agent-skills/tree/main/gtm-manager
Command: npx skills add https://github.com/SuperCorks/agent-skills --skill gtm-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires googleapis, open, and includes scripts (resource) components.

What problem does it solve?

This Skill enables programmatic management of Google Tag Manager resources, eliminating repetitive manual work and enabling consistent configurations across multiple accounts and containers.

Core Features & Use Cases

  • Automation of GTM operations: List, inspect, create, update, and delete tags, triggers, variables, and containers via the GTM API.
  • Scripting workflows: Orchestrate batch changes and reproducible deployments using the included Node.js scripts.
  • Use Case: When managing many GTM containers across several environments, you can apply bulk updates, validation, and reporting with scripted GTM actions.

Quick Start

Use the gtm-manager skill to list all tags in a container:

  • node scripts/list-tags.js --account <id> --container <id> --credentials <path> --token <path>

Frequently Asked Questions about gtm-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Google Tag Manager tasks using Node.js scripts?

You can automate Google Tag Manager tasks by using Node.js scripts that interact with the GTM API. This Skill enables programmatic control of containers, tags, triggers, and variables to automate workflows and audits.

Can I manage multiple GTM containers programmatically across different accounts?

Yes, you can manage multiple GTM containers programmatically. The scripts support listing, inspecting, creating, updating, and deleting GTM resources across accounts and containers for consistent configurations.

What authentication is required to use the Google Tag Manager API for automation?

To use the Google Tag Manager API for automation, you need OAuth or service-account authentication. You must provide credentials and a token path to authorize the scripts to access your GTM resources.

How do I list all tags in a GTM container using scripts?

To list all tags in a GTM container, run the provided Node.js script with your account ID, container ID, credentials path, and token path. This automates the retrieval of tag configurations via the API.

What is the best way to perform bulk updates in Google Tag Manager?

The best way to perform bulk updates in Google Tag Manager is by orchestrating batch changes with Node.js scripts. This approach applies reproducible deployments and automated validation across multiple environments.

Does this GTM automation approach work for auditing existing tags and triggers?

Yes, this GTM automation approach works for auditing existing tags and triggers. You can use the scripts to list and inspect resources across containers, enabling automated validation and reporting of your configurations.