analytics

Implements analytics tracking plans, GA4 and GTM event instrumentation, and UTM conventions.

1|Updated Feb 1, 2025
One-click install
npx skills add https://github.com/TiagoDanin/TiagoDanin.github.io --skill analytics-tiagodanin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics
Source: https://github.com/TiagoDanin/TiagoDanin.github.io/tree/main/.claude/skills/seo/analytics
Command: npx skills add https://github.com/TiagoDanin/TiagoDanin.github.io --skill analytics-tiagodanin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up analytics tracking is error-prone: inconsistent event names, missing conversions, and unvalidated implementations lead to unreliable data. This Skill guides the design, implementation, and validation of analytics tracking so marketing and product decisions rest on clean data. ## Core Features & Use Cases - Tracking Plan Design: Builds structured tracking plans with object-action event naming, standard properties, and conversion definitions. - GA4 and GTM Implementation: Provides gtag.js and dataLayer code patterns, conversion setup, custom dimensions, audiences, and consent mode configuration. - Debugging and Validation: Supplies checklists and workflows for DebugView, GTM Preview Mode, and common issues like duplicate events or missing parameters. - Use Case: A marketer launching a SaaS site needs to measure signups and demo requests. The Skill produces a tracking plan, GA4 event code, GTM container structure, and a validation checklist before launch. ## Quick Start Ask the assistant to create a tracking plan with GA4 events for your website's signup and demo request conversions.

Frequently Asked Questions about analytics

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

FAQPage Schema
How do I set up conversion tracking in GA4?

GA4 conversion tracking starts by ensuring your event fires, then marking it as a conversion in Admin > Events. Set the counting method (once per session for leads, every event for purchases) and optionally import conversions into Google Ads for bidding.

How do I track custom events with Google Tag Manager?

Push a custom event to the dataLayer with dataLayer.push, then create a GA4 Event tag in GTM triggered by a Custom Event trigger matching that name. Map dataLayer values to event parameters using Data Layer variables.

What naming convention should I use for analytics events?

Use lowercase object-action format with underscores, such as signup_completed or cta_clicked. Keep context in event properties rather than event names, and document all naming decisions in a tracking plan.

Why are my GA4 events not showing up in reports?

Check DebugView first to confirm the event fires, then verify gtag or GTM is loaded and no filters exclude your traffic. Custom parameters also require matching custom dimensions, and standard reports can take 24-48 hours to populate.

Does analytics tracking require cookie consent?

Yes, cookie consent is required in the EU, UK, and California. Implement Consent Mode so tags default to denied storage, update to granted after consent, and avoid sending PII in event properties.