gtm-setup

Automate GTM API OAuth setup and validate container access.

3|1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-setup-aimonk2025
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gtm-setup
Source: https://github.com/aimonk2025/google-tag-manager-automation/tree/main/skills/gtm-setup
Command: npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-setup-aimonk2025

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates GTM API authentication setup and validation.

Core Features & Use Cases

  • Automates dependency installation (googleapis) and verifies installation.
  • Guides OAuth credential creation and token retrieval, saving credentials to gtm-credentials.json and token to gtm-token.json.
  • Configures GTM Account/Container IDs and validates API access to ensure a working connection before implementing tracking.

Quick Start

Run the gtm-setup workflow to install dependencies, configure OAuth credentials, and validate the GTM API connection.

Frequently Asked Questions about gtm-setup

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

FAQPage Schema
How do I automate Google Tag Manager API authentication setup in Node.js?▼

Automate Google Tag Manager API authentication setup by running a workflow that installs googleapis, configures OAuth credentials, and validates API connectivity. It saves credentials to gtm-credentials.json and tokens to gtm-token.json for Node.js projects.

What do I need to configure before connecting my Node.js app to the GTM API?▼

Before connecting to the GTM API, you need OAuth credentials and your GTM Account/Container IDs. The setup process validates API access to ensure a working connection by saving configurations into gtm-config.json.

How does OAuth credential retrieval work for the Google Tag Manager API?▼

OAuth credential retrieval for the Google Tag Manager API guides you through creating credentials and retrieving tokens. It automatically saves your OAuth credentials to gtm-credentials.json and the retrieved token to gtm-token.json.

Can I verify GTM container access before implementing tracking tags?▼

You can verify GTM container access before implementing tracking by validating API connectivity. The setup workflow checks your configured GTM Account and Container IDs using googleapis to ensure a working connection.

Does this GTM API setup workflow handle googleapis dependency installation?▼

The GTM API setup workflow handles googleapis dependency installation automatically. It installs the required package and verifies the installation before proceeding with OAuth credential configuration and API validation.