analytics-tracking
Skill by davila7
Guides an AI assistant through setting up, improving, or auditing analytics tracking and measurement. It is for marketing, product, and developer teams that need decision-focused tracking with GA4 or Google Tag Manager.
Install analytics-tracking
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/business-marketing/analytics-tracking ~/.claude/skills/analytics-trackingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/business-marketing/analytics-tracking ~/.gemini/antigravity-cli/skills/analytics-trackingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Analytics Tracking is a skill that guides an AI assistant through setting up, improving, or auditing analytics tracking and measurement. It covers building a tracking plan, naming events and properties, implementing GA4 and Google Tag Manager, creating UTM parameter conventions, and validating and debugging tracking. It also includes privacy and consent considerations.
The skill is written as an expert guide. It starts with assessment questions about business context, current tools, and technical constraints. It then provides frameworks, event lists for marketing sites, apps, and e-commerce, sample gtag and dataLayer code, and a tracking plan output template. It points to the ab-test-setup skill for A/B test measurement. It is aimed at marketers, product teams, and developers who need tracking tied to decisions.
Written from the project's SKILL.md and checked against it.
What it can do
- Tracking plan frameworkProvides a table structure and template for documenting events, properties, and triggers.
- Event naming conventionsDescribes object-action and other naming formats and lists best practices for event names.
- Essential events listLists suggested events for marketing sites, product apps, and e-commerce.
- GA4 implementationCovers data streams, enhanced measurement, custom events, conversions, and custom definitions.
- Google Tag Manager setupCovers container structure, triggers, variables, and a data layer pattern with code examples.
- UTM parameter strategyGives standard UTM parameters, lowercase and separator rules, and a documentation table.
- Debugging and validationLists testing tools, a validation checklist, and common causes of missing or duplicate events.
- Privacy and compliance guidanceCovers cookie consent, avoiding PII in properties, and GA4 Consent Mode.
Try asking
- Help me build a tracking plan for my SaaS signup flow in GA4.
- Audit my GTM setup and list likely causes of duplicate events.
- Create a UTM naming convention for our paid and email campaigns.
Good to know
- A/B test measurement is covered by a separate skill, ab-test-setup.
- Its examples target GA4 and Google Tag Manager, with other tools mentioned only by name.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/business-marketing/analytics-tracking/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB
Alternatives to analytics-tracking
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
analytics-tracking: common questions
Does this skill cover GA4 and Google Tag Manager?
Yes. It includes sections on GA4 implementation and Google Tag Manager implementation, with configuration, custom events, and data layer examples.
Does it handle A/B test measurement?
No. The source says A/B test measurement is covered by the ab-test-setup skill.
Does it cover privacy requirements?
Yes. It includes guidance on cookie consent in EU, UK, and CA, avoiding PII in properties, and GA4 Consent Mode.
How do I install analytics-tracking?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is analytics-tracking free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is analytics-tracking safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to analytics-tracking?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
