analytics-tracking

Designs and implements analytics tracking plans for GA4, GTM, and product analytics platforms.

Updated Dec 22, 2025
One-click install
npx skills add https://github.com/Endsi3g/prospecting-app --skill analytics-tracking-endsi3g
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics-tracking
Source: https://github.com/Endsi3g/prospecting-app/tree/main/.agents/skills/analytics-tracking
Command: npx skills add https://github.com/Endsi3g/prospecting-app --skill analytics-tracking-endsi3g

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up analytics tracking often results in inconsistent event names, missing conversions, duplicate events, and data that cannot be trusted for decisions. This Skill provides a structured framework for planning, implementing, validating, and debugging analytics tracking so marketing and product teams can measure what actually matters. ## Core Features & Use Cases - Tracking Plan Design: Creates structured tracking plans with object-action event naming conventions, standard properties, and conversion definitions tailored to your business type (SaaS, e-commerce, marketing site). - GA4 and GTM Implementation: Provides gtag.js snippets, dataLayer push patterns, tag/trigger/variable configurations, and consent mode setup for GDPR compliance. - Debugging and Validation: Systematic troubleshooting for duplicate events, GA4 vs database discrepancies, and misfiring tags using DebugView and GTM Preview mode. - Use Case: A B2B SaaS team launching a new product needs to track signups, feature usage, and upgrades. The Skill produces a complete tracking plan with event names, parameters, GTM dataLayer code, and a validation checklist. ## Quick Start Ask the assistant to create an analytics tracking plan for your website or product, mentioning your tools (such as GA4 or GTM) and the key actions you want to measure.

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 conversion tracking in GA4?

Set up GA4 conversion tracking by first ensuring your event fires via gtag.js or GTM, then marking it as a conversion in Admin > Events. Choose a counting method (once per session for leads, every event for purchases) and optionally import conversions into Google Ads.

What UTM parameters should I use for marketing campaigns?

Use utm_source for the traffic source (google, newsletter), utm_medium for the channel type (cpc, email), and utm_campaign for the campaign name. Keep everything lowercase, use consistent separators, and document all values in a shared spreadsheet.

Why are duplicate events firing in Google Tag Manager?

Duplicate events usually come from multiple containers on one page, triggers firing twice, or duplicate tags. Use GTM Preview mode to inspect which tags fired per event and check trigger conditions and tag firing options.

How do I make GA4 tracking GDPR compliant?

Implement consent mode so analytics_storage and ad_storage default to denied until the user consents via a consent management platform. Also enable IP anonymization, configure data retention settings, and never send PII in event properties.

Why don't my GA4 conversion numbers match my database?

Discrepancies commonly come from consent mode filtering, ad blockers, client-side versus server-side tracking differences, and session timeout settings. Debug with GA4 DebugView and compare event counts against server logs to isolate the cause.

What events should an e-commerce site track?

Track the core funnel: product_viewed, product_added_to_cart, cart_viewed, checkout_started, payment_info_entered, and purchase_completed. Include item parameters like item_id, price, and quantity for enhanced e-commerce reporting.