analytics-tracking

Configure Google Analytics 4 event, conversion, and User ID tracking.

872|122|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/kostja94/marketing-skills --skill analytics-tracking-kostja94
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics-tracking
Source: https://github.com/kostja94/marketing-skills/tree/main/skills/analytics/tracking
Command: npx skills add https://github.com/kostja94/marketing-skills --skill analytics-tracking-kostja94

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the setup, auditing, and optimization of analytics tracking, ensuring accurate data collection for marketing insights and performance measurement.

Core Features & Use Cases

  • GA4 Implementation: Guides through setting up Google Analytics 4 properties and web data streams.
  • Event Tracking: Defines and implements recommended and custom events with best practices for naming and parameters.
  • Conversion Tracking: Helps identify and configure key events as conversions for attribution and reporting.
  • Use Case: Implement User ID tracking to accurately attribute conversions across devices after a user logs in, providing a clearer picture of customer journeys.

Quick Start

Set up enhanced measurement for GA4 and implement a custom 'cta_click' event with content details.

Frequently Asked Questions about analytics-tracking

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

FAQPage Schema
How do I set up event tracking in Google Analytics 4?

GA4 event tracking is configured by defining recommended and custom events using gtag.js or Google Tag Manager. You must follow strict GA4 event naming conventions and pass content details as parameters to ensure accurate data capture and reporting.

What is User ID implementation in GA4 used for?

User ID implementation in GA4 is used to accurately attribute conversions across devices after a user logs in. By assigning a persistent ID, you can stitch together fragmented user sessions and gain a clearer picture of cross-device customer journeys.

Can I use Google Tag Manager instead of gtag.js for GA4 conversions?

Yes, you can configure GA4 conversion tracking using either Google Tag Manager or gtag.js. The setup requires identifying key events as conversions for attribution modeling, applying seamlessly to both web and app data streams.

What is the best way to configure enhanced measurement in GA4?

Configuring enhanced measurement in GA4 involves enabling automatic tracking for web data streams without extra code. This captures standard user interactions like page views and scrolls, establishing a baseline before implementing custom events like cta_click.

Does GA4 attribution modeling work for both web and app data streams?

GA4 attribution modeling applies to both web and app data streams to evaluate marketing performance. Accurate attribution requires proper conversion configuration and cross-device user identification to correctly assign credit across various touchpoints.