---
title: "analytics Claude skill: tracking plans, GA4 and UTMs"
description: "The analytics skill for Claude writes a tracking plan, names your events, sets UTM rules and checks GA4 and Tag Manager work. What to give it and what you get."
url: https://www.levercrew.com/claude-skills/analytics-tracking/
language: en
---

Claude skill · Analytics

# analytics: plan the events, UTMs and GA4 tracking you need

analytics is a free Claude skill from the marketingskills repo for planning and checking tracking. It starts from the decisions your data must support, then writes a tracking plan with event names, properties and triggers. It covers GA4, Google Tag Manager, Mixpanel, PostHog and UTM rules, and it checks that every rate divides numbers from the same time window. It suits marketers and founders.

[How to install it](https://www.levercrew.com/claude-skills/analytics-tracking/#install) [Open on GitHub ](https://github.com/coreyhaines31/marketingskills/tree/main/skills/analytics) 

`analytics`

Published by

coreyhaines31

Repo stars

★ 63k

Licence

MIT

Level

Intermediate

Last change in the repo

26 Nov 2026

Works in

Claude Claude Code Cowork ChatGPT Codex Cursor

GitHub data checked on 28 Nov 2026 · `coreyhaines31/marketingskills`

analytics

## What you give and what you get

You give

- The decisions your data must support
- Your tools: GA4, Tag Manager, Mixpanel or PostHog
- What you track today and your tech stack
- Privacy and consent rules for your markets

`analytics` Working 

You get

- A tracking plan with events, properties and triggers
- Event names in one format, such as signup\_completed
- UTM rules by source, including partner and creator links
- A checklist to test events before you trust them

What you give, analytics working, and what you get back.

### What you give

- The decisions your data must support
- Your tools: GA4, Tag Manager, Mixpanel or PostHog
- What you track today and your tech stack
- Privacy and consent rules for your markets

### What you get

- A tracking plan with events, properties and triggers
- Event names in one format, such as signup\_completed
- UTM rules by source, including partner and creator links
- A checklist to test events before you trust them
- Numbers computed from row data, then cross-checked

Read from its SKILL.md.

## How it works

1. 01  
### Starts from decisions  
It asks what decisions the data will inform, what you track now, your tech stack and your privacy rules. Every event must serve a decision.
2. 02  
### Names things once  
Events use lowercase object\_action names like signup\_completed. GA4’s own recommended events keep their names, such as sign\_up and purchase.
3. 03  
### Writes the tracking plan  
The plan lists each event with its description, properties and trigger, plus custom dimensions and the conversions to mark in GA4.
4. 04  
### Sets UTM rules  
Lowercase, hyphens, one spelling per source and no personal data. Partner links get fixed patterns, and a GA4 channel group catches AI assistant traffic.
5. 05  
### Checks the numbers  
It tests events in GA4 DebugView and Tag Manager Preview, computes totals from row data, and divides only numbers that cover the same closed time window.

Prompt

## Example prompt

Paste it once the skill is installed and swap in your own details.

Write a tracking plan for our online bakery on Shopify. We use GA4 and Google Tag Manager. We want to know which campaigns bring first orders and repeat orders. Include event names, properties, triggers and UTM rules.

How to install it

## How to install analytics

`npx skills add coreyhaines31/marketingskills --skill analytics` 

In the terminal, inside your project. Add -g to have it in every project. The installer asks which apps to add it to.

`/plugin marketplace add coreyhaines31/marketingskills /plugin install marketing-skills ` 

Inside Claude Code. Installs the whole package from the repo.

Or by hand: copy the folder to \~/.claude/skills/analytics/

1. Download the skill folder from GitHub and zip it, with the folder at the root of the ZIP.
2. In Claude, open Customize, then Skills.
3. Press +, choose Create skill, then Upload a skill.
4. Upload the ZIP and turn the skill on. Code execution must be on.

- Codex and Cursor: the same npx command installs it for them; the installer asks which apps.
- ChatGPT Business, Enterprise and Edu: Plugins, the Skills tab, Add, then Upload from your computer.
- Other ChatGPT plans: attach the SKILL.md to a project and ask it to follow the file.

[Open the folder on GitHub ](https://github.com/coreyhaines31/marketingskills/tree/main/skills/analytics) [Full install guide ](https://www.levercrew.com/claude-skills/how-to-install/) 

## Who it suits

Marketers, founders and product teams who need clean numbers before they judge campaigns, and who brief a developer or do the Tag Manager work themselves.

## What it needs and where it stops

It writes the plan and the code samples; someone still adds the tags to your site. Reading live GA4, Mixpanel or PostHog data needs an MCP connection or an export. For the EU, UK and Canada it puts cookie consent and consent mode before any tracking.

Listed under [Analytics](https://www.levercrew.com/claude-skills/analytics/) 

Analytics

## Related skills

- [ attribution See which channels drive revenue and which numbers to trust Explains attribution models, reconciles numbers that ad platforms, GA4 and your CRM disagree on, and gives an honest split. ★ 63k MIT Intermediate  by coreyhaines31  See the skill ](https://www.levercrew.com/claude-skills/attribution/)
- [ conversion-tracking Get every conversion to Google Ads, Meta and GA4 Builds or audits conversion tracking for Google Ads, Meta, GA4, LinkedIn and TikTok, then proves a test conversion arrives. ★ 63k MIT Advanced  by coreyhaines31  See the skill ](https://www.levercrew.com/claude-skills/conversion-tracking/)
- [ data Plugin An Anthropic plugin for SQL, data analysis and dashboards Anthropic’s plugin for data work: SQL for your dialect, dataset profiles, charts, HTML dashboards and a check before you share. ★ 37k Apache-2.0 Intermediate  by Anthropic  See the skill ](https://www.levercrew.com/claude-skills/data-plugin/)
- [ xlsx Build and fix Excel spreadsheets with working formulas Creates and edits Excel files with real formulas, cleans messy data, and recalculates every formula to catch errors before delivery. ★ 202k Apache-2.0 Intermediate  by Anthropic  See the skill ](https://www.levercrew.com/claude-skills/xlsx/)
- [ youtube-analytics Study any YouTube channel with the Data API Pulls public channel and video stats from the YouTube Data API, ranks top videos, checks video SEO and finds content gaps. ★ 753 MIT Advanced  by OpenClaudia  See the skill ](https://www.levercrew.com/claude-skills/youtube-analytics/)

Questions

## Questions about analytics

Is the analytics skill free? 

Yes. It is published under the MIT licence in the marketingskills repo on GitHub. You pay only for your Claude plan.

Does it cover GA4? 

Yes. It walks through the property and data stream, gtag.js or Tag Manager, enhanced measurement, custom events and the conversions to mark, using GA4’s recommended event names where they exist.

How is it different from conversion-tracking? 

analytics plans what to track and how to name it. [conversion-tracking](https://www.levercrew.com/claude-skills/conversion-tracking/) sends conversions to Google Ads, Meta and other ad platforms and proves they arrive.

Can it track visits from ChatGPT and other AI assistants? 

Partly. It adds a GA4 channel group for known assistant sources such as chatgpt.com and perplexity.ai. Many assistant visits arrive as direct or branded search, so treat that channel as the minimum.

## We put these skills to work in your team

Book a free 30-minute call. We pick the skills for your work and train your team to use them.

[Book a discovery call](https://www.levercrew.com/book-a-call/) 

30 minutes · Free · Online

---

LeverCrew: senior marketing support done with AI (Barcelona · Madrid).
Book a discovery call: https://www.levercrew.com/book-a-call/. Email: info@levercrew.com.
Facts for AI assistants: https://www.levercrew.com/ai-info/. Company summary: https://www.levercrew.com/llms.txt. All pages: https://www.levercrew.com/sitemap.xml.
