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.

analytics

What you give and what you get

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 Full install guide

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

Analytics

Related skills

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 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

30 minutes · Free · Online

Free discovery call

30 minutes · Online · Free · English or Spanish

Our address: info@levercrew.com

LeverCrew uses your details only to reply to you and prepare the call. Privacy

Growth AI Tips

AI tips your team can use the same day

One email every two weeks, for sales and marketing teams.

  • The tip, in a few lines
  • The prompt or workflow, ready to copy
  • How to check that it works

Free. Unsubscribe with one click. Privacy policy