gtm-variables

Community

Master GTM variables to capture dynamic data.

Authorhenkisdabro
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gtm-variables
Download link: https://github.com/henkisdabro/claudecode-marketplace/archive/main.zip#gtm-variables

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.