Agent skill

Ga4 Measurement Plan

by cognyai in cognyai/claude-code-marketing-skills

Build a GA4 measurement plan from a site URL — event taxonomy, parameters, custom dimensions, and key events to mark as conversions

No licenceAuto-check: notesMarketing & SEO

Install Ga4 Measurement Plan

skills CLI
$ npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cognyai/claude-code-marketing-skills ga4-measurement-plan --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cognyai/claude-code-marketing-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ga4-measurement-plan .claude/skills/ga4-measurement-plan && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ga4-measurement-plan
GitHub stars
104
Token cost
~1.4k tokens
SKILL.md length
583 words
Files
1
Skills in repo
47
Repo updated
First seen
Licence
None found

At a glance

Build a GA4 measurement plan from a site URL — event taxonomy, parameters, custom dimensions, and key events to mark as conversions

  • Works in 8 steps: Understand the site → Start from what GA4 already gives you → Recommended events for the site type → …
  • Marketing & SEO work in your project
  • SKILL.md covers Usage, Steps and Critical rules
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ga4 Measurement Plan is an agent skill from cognyai/claude-code-marketing-skills. Build a GA4 measurement plan from a site URL — event taxonomy, parameters, custom dimensions, and key events to mark as conversions

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Marketing & SEO. It works with Google Analytics. The repository describes itself as: Marketing skills for Claude Code — SEO audits and implementation, ad analysis, ad optimization. Free skills need no account. $9/mo for live Search Console, Bing & LinkedIn data.

When your agent uses it

  • Marketing & SEO work in your project

Example prompts

  • “/ga4-measurement-plan”

Requirements

  • Pre-approved tools (allowed-tools): WebFetch, WebSearch, Bash, Read, Write

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Understand the site
  2. Start from what GA4 already gives you
  3. Recommended events for the site type
  4. Custom events for everything else
  5. The event taxonomy table
  6. Custom dimensions & metrics to register
  7. Key events (conversions)
  8. Output

What it can do on your machine

Read from SKILL.md and the folder at commit a062fb4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • WebFetch
    • WebSearch
    • Bash
    • Read
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ga4 Measurement Plan loads about 1.4k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 583 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: WebFetch, WebSearch, Bash, Read, Write

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 583 words (~1,363 tokens).

“Give it a site URL and get back a complete GA4 measurement plan — which events to track, what parameters each carries, which custom dimensions to register, and which events to mark as key events. The deliverable is a spec…”

— opening of SKILL.md by cognyai
name
ga4-measurement-plan
allowed-tools
WebFetch, WebSearch, Bash, Read, Write
version
1.0.0
author
Cogny AI
user-invocable
true
argument-hint
<site url> [business goal]

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/ga4-measurement-plan of cognyai/claude-code-marketing-skills.

Open the folder on GitHubat commit a062fb4

Compare with similar skills

Ga4 Measurement Plan next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ga4 Measurement Plan compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ga4 Measurement Plan this skillcognyai/claude-code-marketing-skills104—~1.4kAutomated safety check: NotesNone
Google SEO APIsAgriciDaniel/claude-seo19k1 repos~4.2kAutomated safety check: PassMIT
AnalyticsNexus-JPF/note-companion8707 repos~2.2kAutomated safety check: PassMIT
Blog GoogleAgriciDaniel/claude-blog2.3k1 repos~3.3kAutomated safety check: NotesMIT
AI VisibilityRyze-AI-Adgent/open-seo-mcp-skills4.7k—~611Automated safety check: PassMIT
Google Analyticsthatrebeccarae/claude-marketing1613 repos~1.3kAutomated safety check: NotesMIT

Similar skills

  • Google SEO APIs

    AgriciDaniel/claude-seo

    Pulls real Google data for SEO work: Search Console, PageSpeed Insights, CrUX field data, the Indexing API and GA4 organic traffic, through /seo google commands.

    19k GitHub starsUsed in 1 repo~4.2k tokens
    Marketing & SEOAuto-check passed
  • Analytics

    Nexus-JPF/note-companion

    When the user wants to set up, improve, or audit analytics tracking and measurement.

    870 GitHub starsUsed in 7 repos~2.2k tokens
    Marketing & SEOAuto-check passed
  • Blog Google

    AgriciDaniel/claude-blog

    Google API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity…

    2.3k GitHub starsUsed in 1 repo~3.3k tokens
    Marketing & SEOAuto-check: notes
  • AI Visibility

    Ryze-AI-Adgent/open-seo-mcp-skills

    Measure real AI-engine visibility — traffic from ChatGPT, Perplexity, Claude, Gemini and which pages they cite — from actual GA4 referral data, not prompt sampling.

    4.7k GitHub stars~611 tokensUpdated 17 days ago
    Marketing & SEOAuto-check passed
  • Google Analytics

    thatrebeccarae/claude-marketing

    Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements.

    161 GitHub starsUsed in 3 repos~1.3k tokens
    Marketing & SEOAuto-check: notes
  • Soku CLI

    About-Intelligence/soku-cli

    Guides an agent through the soku command line tool for ads, GA4 and PostHog data reads, ads writes, SEO hosting, automations, files and skill management.

    306 GitHub stars~2.4k tokensUpdated today
    Marketing & SEOAuto-check passed

More from cognyai/claude-code-marketing-skills

All 47 skills in this repo
  • Gtm Audit

    cognyai/claude-code-marketing-skills

    Google Tag Manager container audit — tag health, orphaned and paused tags, duplicate GA4 config, trigger coverage, Consent Mode, naming, workspace hygiene

    104 GitHub stars~1.6k tokensUpdated 3 mo ago
    Auto-check passed
  • Gtm Setup

    cognyai/claude-code-marketing-skills

    GTM Event Tracking & Setup Reference — dataLayer fundamentals, trigger types, variable types, GA4 tag configuration, debug mode, and best practices

    104 GitHub stars~4.8k tokensUpdated 3 mo ago
    Auto-check: notes
  • Gtm Tracking Plan

    cognyai/claude-code-marketing-skills

    Turn a measurement plan into a Google Tag Manager spec — tags, triggers, variables, and copy-paste dataLayer snippets for every event

    104 GitHub stars~1.4k tokensUpdated 3 mo ago
    Auto-check: notes
  • Pre Send QA

    cognyai/claude-code-marketing-skills

    Pre-flight QA for an email campaign — merge tags, broken links, spam triggers, compliance, mobile rendering — before you hit send

    104 GitHub stars~2.2k tokensUpdated 3 mo ago
    Auto-check: notes
  • Brand Kit

    cognyai/claude-code-marketing-skills

    Build a portable brand-kit.json for the user's product — colors, typography, voice — that other skills (video, ad creative, landing page) can consume.

    104 GitHub stars~3.4k tokensUpdated 3 mo ago
    Auto-check: notes
  • Linkedin Launch Video

    cognyai/claude-code-marketing-skills

    Produce a LinkedIn-native 1:1 (or 16:9) launch video using HyperFrames.

    104 GitHub stars~2.7k tokensUpdated 3 mo ago
    Auto-check: notes

Categories

Questions about Ga4 Measurement Plan

What does Ga4 Measurement Plan do?

Build a GA4 measurement plan from a site URL — event taxonomy, parameters, custom dimensions, and key events to mark as conversions. Ga4 Measurement Plan is an agent skill from cognyai/claude-code-marketing-skills.

When should I use Ga4 Measurement Plan?

Ga4 Measurement Plan fits situations like: marketing & SEO work in your project.

How do I install Ga4 Measurement Plan in Claude Code?

Run `npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a claude-code`. Or copy the skill folder (skills/ga4-measurement-plan in cognyai/claude-code-marketing-skills) into .claude/skills/ga4-measurement-plan in your project. Claude Code loads it when a task matches its description.

How do I install Ga4 Measurement Plan in Codex?

Run `npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a codex`. Or copy the skill folder (skills/ga4-measurement-plan in cognyai/claude-code-marketing-skills) into .agents/skills/ga4-measurement-plan in your project. Codex loads it when a task matches its description.

Can I use Ga4 Measurement Plan in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ga4-measurement-plan, .gemini/skills/ga4-measurement-plan, .github/skills/ga4-measurement-plan and .opencode/skills/ga4-measurement-plan in your project.

What does Ga4 Measurement Plan need to run?

SKILL.md names no scripts, command-line tools or credentials: Ga4 Measurement Plan is instructions for the agent only. Its frontmatter pre-approves these tools: WebFetch, WebSearch, Bash, Read, Write.

Does Ga4 Measurement Plan access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ga4 Measurement Plan safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Ga4 Measurement Plan use?

No licence was found for Ga4 Measurement Plan or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Ga4 Measurement Plan use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ga4 Measurement Plan?

Skills that share tags, products or a category with Ga4 Measurement Plan: Google SEO APIs (AgriciDaniel/claude-seo, 19k stars), Analytics (Nexus-JPF/note-companion, 870 stars), Blog Google (AgriciDaniel/claude-blog, 2.3k stars) and AI Visibility (Ryze-AI-Adgent/open-seo-mcp-skills, 4.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ga4 Measurement Plan?

cognyai (a GitHub organization) maintains it in cognyai/claude-code-marketing-skills, which has 104 GitHub stars. The repository holds 47 skills in this directory. The repository was last updated on June 16, 2026.

Source: cognyai/claude-code-marketing-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.