ga4-gtag-implementation

Community

Direct GA4 with gtag.js: code-first tracking.

Authorhenkisdabro
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides implementing Google Analytics 4 directly with gtag.js (no GTM), including event tracking, user properties, and SPA considerations.

Core Features & Use Cases

  • gtag.js Installation: Full snippet placement and configuration.
  • gtag('event') & gtag('set'): Standard event tracking and user property management.
  • SPA & Debugging: Manual page_view handling for single-page apps and verification tips.

Quick Start

Install gtag.js on your site, set a user_id on login with gtag('set'), and send a purchase event with an items array.

Dependency Matrix

Required Modules

None required

Components

referencesassets

💻 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: ga4-gtag-implementation
Download link: https://github.com/henkisdabro/claudecode-marketplace/archive/main.zip#ga4-gtag-implementation

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.