gtm-variables

Configure Google Tag Manager variables for data layer reading and value reuse.

77|9|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/henkisdabro/claudecode-marketplace --skill gtm-variables
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gtm-variables
Source: https://github.com/henkisdabro/claudecode-marketplace/tree/main/gtm-suite/skills/gtm-variables
Command: npx skills add https://github.com/henkisdabro/claudecode-marketplace --skill gtm-variables

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill guides you through configuring Google Tag Manager variables (built-in, data layer, and user-defined) to reliably read, transform, and reuse values across tags and triggers.

Core Features & Use Cases

  • Variable configuration mastery: Set up built-in, data layer, and user-defined variables for consistent data access.
  • Data Layer reading: Create Data Layer Variables to extract values from the dataLayer with reliable paths.
  • Transformations & testing: Use regex tables and JavaScript variables to format and derive values for tagging logic.
  • Use Case: Build a Page URL variable, a dataLayer lookup, and a derived value to drive a GA4 tag trigger.

Quick Start

Create a GTM Data Layer Variable for the page URL and a simple constant variable; reference both in a tag and trigger.