gtm-datalayer

Design a GA4-aligned dataLayer schema with event catalogue and GTM variable mappings.

3|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/anthril/official-claude-plugins --skill gtm-datalayer-anthril
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gtm-datalayer
Source: https://github.com/anthril/official-claude-plugins/tree/main/plugins/ppc-manager/skills/gtm-datalayer
Command: npx skills add https://github.com/anthril/official-claude-plugins --skill gtm-datalayer-anthril

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designs a GA4-aligned dataLayer schema for a website, enabling consistent event data, push snippets, and GTM variable mappings across analytics platforms.

Core Features & Use Cases

  • Create a canonical dataLayer schema for e-commerce, lead-gen, SaaS, and content sites.
  • Generate inline dataLayer.push snippets, reusable helper functions, and a structured GTM variables inventory.
  • Provide a clear migration and governance workflow with approval steps before applying changes.

Quick Start

Draft a GA4-aligned dataLayer schema and GTM variable plan for your site.

Frequently Asked Questions about gtm-datalayer

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

FAQPage Schema
How do I design a dataLayer schema for GA4 and Google Tag Manager?

Designing a website-wide dataLayer schema involves creating a GA4-aligned event catalogue with schema guidelines, inline push snippets, and structured GTM variable mappings to standardize event data across Meta Pixel and Google Ads.

What is the best way to standardize event data across GA4, Meta Pixel, and Google Ads?

The best way to standardize event data across GA4, Meta Pixel, and Google Ads is implementing a canonical dataLayer schema with reusable helper functions and structured variable mappings to unify tracking payloads.

Can I generate GTM variable mappings and dataLayer push snippets for an e-commerce site?

Yes, you can generate inline dataLayer.push snippets, reusable helper functions, and a structured GTM variables inventory specifically for e-commerce sites, providing a complete specification ready for stakeholder approval.

How do I map a dataLayer schema to Google Tag Manager variables?

Map the dataLayer schema to Google Tag Manager variables using a structured workflow that translates the canonical event catalogue into a variables inventory, enabling reliable data extraction for your analytics tags.

Does a GA4 dataLayer schema work for lead-gen and SaaS websites?

Yes, the GA4-aligned dataLayer schema covers lead-gen, SaaS, and content sites by providing a concrete event catalogue and schema guidelines that standardize tracking payloads across diverse website types.