ga4-gtm-integration-templates

Implements GA4 tracking in Google Tag Manager with templates and data layer integration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides practical, template-driven patterns for GTM-GA4 integration, including tag templates, variable templates, and testing workflows.

Core Features & Use Cases

  • Template Patterns: GA4 configuration tags, event tags, and data layer mappings.
  • Testing & Validation: GTM Preview and GA4 DebugView integration validation.
  • Security & Permissions: Template safety considerations and testing protocols.

Quick Start

Use a starter GTM GA4 template to configure a new event tag for a purchase flow with mapped parameters.

Frequently Asked Questions about ga4-gtm-integration-templates

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

FAQPage Schema
How do I set up GA4 tracking through Google Tag Manager?

GA4 tracking via GTM requires configuring a single GA4 Configuration tag per property, mapping events and parameters through dataLayer integration, and validating tag firing using GTM Preview mode and GA4 DebugView. This Skill provides template patterns for configuration tags, event tags, and end-to-end testing workflows to ensure consistent event naming and correct dataLayer sequencing across standard pages and SPAs.

What's the best way to map GA4 events and parameters in Google Tag Manager?

Map GA4 events and parameters by creating event tags that reference dataLayer variables and maintain consistent naming conventions. This Skill covers template-driven patterns for variable mapping, purchase flow configurations, and parameter standardization to satisfy functional requirements across your tracking implementation.

How do I test and validate GA4 tags in Google Tag Manager?

Validate GA4 tags using GTM Preview mode to inspect tag firing and dataLayer values, then cross-check with GA4 DebugView for end-to-end confirmation. This Skill includes testing protocols and debugging workflows to verify that configuration tags, event tags, and triggers function correctly before deployment.

Can I use GA4 tracking templates for single-page applications?

Yes. GA4 via GTM supports both standard pages and SPAs through proper dataLayer sequencing and trigger configuration. This Skill provides template patterns and implementation guidance for handling event firing and state changes in single-page application contexts.

What dataLayer structure do I need for GA4 in Google Tag Manager?

DataLayer structure must maintain correct event sequencing, consistent parameter naming, and proper variable references for GA4 Configuration and event tags. This Skill addresses dataLayer integration patterns, variable template setup, and validation workflows to ensure your tracking data flows accurately through GTM to GA4.