analytics

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

Updated Aug 13, 2026
One-click install
npx skills add https://github.com/imMamdouhaboammar/marketing-skills --skill analytics-immamdouhaboammar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics
Source: https://github.com/imMamdouhaboammar/marketing-skills/tree/main/skills/analytics
Command: npx skills add https://github.com/imMamdouhaboammar/marketing-skills --skill analytics-immamdouhaboammar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Marketing and product teams struggle to set up consistent, decision-driven analytics tracking, leading to broken events, duplicate data, and metrics that cannot be trusted for business decisions. ## Core Features & Use Cases - Tracking Plan Design: Builds structured tracking plans with object-action event naming conventions, standard properties, and conversion definitions. - GA4 and GTM Implementation: Provides gtag.js snippets, dataLayer push patterns, tag/trigger/variable configuration, and consent mode setup. - Debugging and Compliance: Diagnoses duplicate events and data discrepancies using DebugView and GTM Preview, and implements GDPR-compliant consent-based tracking. - Use Case: A B2B SaaS team launching a new product asks for tracking of signups, feature usage, and upgrades; the Skill produces a complete tracking plan with GA4 event code and GTM dataLayer examples. ## Quick Start Ask the agent to create an analytics tracking plan for your website or product, naming the tools you use such as GA4, GTM, Mixpanel, or Segment.

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?

Set up GA4 conversion tracking by installing gtag.js or GTM, enabling enhanced measurement, then sending custom events with gtag or dataLayer pushes. Mark the event as a conversion in GA4 Admin and choose a counting method such as once per session.

How to name analytics events for a tracking plan?

Name analytics events using the object-action convention in lowercase with underscores, such as signup_completed or form_submitted. Keep context in event properties rather than event names, and document all naming decisions in a tracking plan.

What UTM parameters should I use for paid and email campaigns?

Use utm_source for the platform (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 GTM events usually come from multiple containers on one page, overlapping trigger conditions, or tags firing more than once per action. Use GTM Preview mode and GA4 DebugView to inspect which tags fire and their trigger conditions.

Does GA4 tracking comply with GDPR requirements?

GA4 can be configured for GDPR compliance using consent mode, which keeps analytics_storage denied until the user consents via a consent management platform. Also enable IP anonymization, set data retention limits, and never send PII in event properties.

When should I use attribution modeling instead of analytics tracking?

Use attribution modeling when you need to compare multi-touch, MMM, or incrementality approaches or reconcile conflicting numbers across tools. Analytics tracking covers event collection and implementation, while attribution is a separate skill for credit assignment.