ga4-user-tracking

Configure GA4 user ID and user properties for cross-device tracking.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables cross-device tracking for authenticated users and defines user properties to persist across events in GA4, giving a unified view of user journeys.

Core Features & Use Cases

  • User ID implementation: Set a persistent user_id across devices to stitch sessions.
  • User Properties: Define and publish user properties to enrich analytics with custom attributes.
  • Reporting Identity: Configure identity options to balance privacy and completeness (Blended, Observed, Device-based).
  • Cross-Domain Tracking: Extend user identity across domains for seamless journeys.
  • Use Case: Track a logged-in user across mobile and desktop to reveal a single journey.

Quick Start

Push the authenticated user_id to the dataLayer on login and map it to GA4 via a User ID parameter in the GA4 configuration. Example: dataLayer.push({ user_id: 'USER_12345' }).