google-analytics

Implement GA4 event tracking with snake_case taxonomy for Next.js and Expo React Native apps.

Updated Mar 18, 2025
One-click install
npx skills add https://github.com/zzoohub/mealio --skill google-analytics-zzoohub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-analytics
Source: https://github.com/zzoohub/mealio/tree/main/.claude/skills/google-analytics
Command: npx skills add https://github.com/zzoohub/mealio --skill google-analytics-zzoohub

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This GA4 analytics guide helps teams establish consistent event naming, taxonomy, and privacy-conscious tracking to reliably analyze user behavior and ecommerce activity.

Core Features & Use Cases

  • Centralized analytics module with snake_case event names and a standard set of core events (view_item, add_to_cart, purchase, sign_in, sign_up)
  • E-commerce funnel guidance and consent-mode handling for GDPR/compliance
  • Use Case: implement consistent analytics in a Next.js or Expo React Native app to track user onboarding flows and cart interactions across platforms.

Quick Start

Implement a centralized analytics module that standardizes snake_case events and enables view_item, add_to_cart, and purchase tracking across your app.

Frequently Asked Questions about google-analytics

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

FAQPage Schema
How do I implement consistent GA4 event tracking across Next.js and Expo React Native?

Implement consistent GA4 event tracking by applying a centralized analytics module with standardized snake_case event names to unify user behavior data across Next.js and Expo React Native platforms.

How do I standardize GA4 ecommerce flows like add_to_cart and purchase?

You can track ecommerce flows by mapping standard GA4 events like view_item, add_to_cart, and purchase into a centralized analytics module to capture the complete user purchase journey.

Does this GA4 analytics approach handle consent mode for GDPR compliance?

Yes, this GA4 analytics approach handles consent mode for GDPR compliance by enforcing privacy-conscious data handling and integrating consent signals directly into the centralized tracking implementation.

Why use snake_case naming for GA4 event taxonomy?

Snake_case naming standardizes your event taxonomy by enforcing a consistent lowercase format with underscores for all tracked events, preventing data fragmentation and ensuring reliable behavior analysis.

Can I use a centralized analytics module for user onboarding flows?

Yes, you can use a centralized analytics module to track user onboarding flows by firing standard events like sign_in and sign_up across web and mobile applications consistently.

What is the benefit of standardized GA4 tracking for cross-platform apps?

Standardized GA4 tracking enables privacy-conscious data handling and consistent ecommerce measurement across web and mobile platforms to reliably analyze user behavior without compliance risks.