ga4-user-tracking

Community

Implement GA4 User ID and cross-device tracking.

Authorhenkisdabro
Version1.0.0
Installs0

System Documentation

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' }).

Dependency Matrix

Required Modules

None required

Components

Standard package

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

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.