Skip to main content
skill CX Codex

utm-builder — Claude Code skill: UTM strategy and validation

A skill for building correct UTM parameters, checking them against GA4 channel rules, and auditing live data from Google Ads and analytics platforms. Built for marketers and analysts who track attribution.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cognyai/claude-code-marketing-skills --skill utm-builder -a claude-code
Open on GitHub

What utm-builder does

utm-builder is a reference and builder for marketing attribution parameters. The skill knows how GA4 groups channels by utm_source and utm_medium, what each parameter means, naming conventions for campaigns, and why traffic sometimes lands in the wrong channel. It includes GA4 grouping rules, source examples (google, facebook, linkedin, tiktok, klaviyo) and medium types (cpc, paid-social, email, organic-social), plus BigQuery validation queries.

Without connected accounts, the skill works as a reference—showing conventions, explaining why traffic might end up in the wrong channel, and helping you assemble correct URLs. When Cogny MCP is connected, it can pull live GA4, Google Ads, Meta Ads, LinkedIn, and X data to audit how tags are actually set and flag errors.

The skill offers commands for different tasks: /utm-builder naming-conventions shows naming rules, /utm-builder channel-grouping explains GA4's distribution logic, /utm-builder build google cpc generates a ready-to-use link with the right parameters for Google Ads.

What it helps with

  • Generate a UTM link with the correct source and medium for GA4 channel grouping
  • Find why paid traffic ended up in Organic Search or Direct instead of the right paid channel
  • Validate UTM parameters on your site using BigQuery queries
  • Audit how UTM tags are set in Meta Ads, Google Ads, or LinkedIn campaigns
  • Set a naming convention for utm_campaign and utm_content and apply it across all ads

Example prompts for the agent

  • Build a UTM link for a Facebook campaign: source facebook, medium paid-social, campaign spring-sale-2025
  • Audit what UTM parameters are set on our Google Ads accounts
  • Show me the GA4 rules for Paid Social and explain how traffic gets routed there

How to install utm-builder

1Skills CLI (Vercel)

npx skills add cognyai/claude-code-marketing-skills --skill utm-builder -a claude-code

2Manually: put the files in place

~/.claude/skills/utm-builder/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/utm-builder/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about utm-builder

How do I install utm-builder in Claude Code?

Run npx skills add cognyai/claude-code-marketing-skills --skill utm-builder -a claude-code, then open ~/.claude/skills/utm-builder/SKILL.md. For other platforms, change the -a flag to your target (codex, cursor, gemini-cli, opencode), or use gh skill install for GitHub Copilot.

What does utm-builder do?

It helps you build correct UTM links following GA4 standards, explains how analytics groups traffic by utm_source and utm_medium, and can audit real data from GA4, Google Ads, and social platforms if you connect integrations via Cogny MCP.

Do I need connected accounts to use utm-builder?

For the reference sections (naming rules, GA4 grouping), nothing is required. To audit real data, you need connected GA4, Google Ads, or ad platform accounts; without them, the skill can show examples and provide BigQuery validation queries.

Similar skills

All skills for Marketing and content →

From the same set38

tiktok-launch-video Turns a product brief or launch page into a 9:16 TikTok video: hook in the first second, burned-in captions, fast cuts. Publishing to TikTok Ads is optional. CX Codex +1 ★ 111repo stars subject-line-lab This skill studies past email campaigns in a connected sending platform and suggests subject lines for the next one. Use it to shape ideas around your own audience’s results. CX Codex +1 ★ 111repo stars shopping-campaign-audit Reviews Google Ads Shopping and retail campaigns, including product spend, bidding, feed coverage, and weak performers. Use it to find where product ad spend leaks. CX Codex +1 ★ 111repo stars seo-monitor Pulls rankings, queries and indexing status from Google Search Console and Bing Webmaster Tools. Useful when you want a recurring read on site performance instead of a one-off check. CX Codex +1 ★ 111repo stars search-demand The skill mines buyer questions from search data, sales activity, and AI answers. Use it to spot visibility gaps and plan a page or calculator around them. CX Codex +1 ★ 111repo stars search-campaign-audit Audits Google Ads Search campaigns: keyword quality scores, negative keyword gaps, weak ads, wasted match-type spend. Microsoft Ads support included. CX Codex +1 ★ 111repo stars reddit-launch-video This skill creates a 1:1 or 4:5 Reddit launch video with HyperFrames and shapes the message around selected subreddits. It supports organic posting or a Reddit Ads handoff. CX Codex +1 ★ 111repo stars pre-send-qa Runs a pre-flight pass over an email: merge tag fallbacks, dead links, spam triggers, CAN-SPAM and GDPR footers, mobile rendering. CX Codex +1 ★ 111repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor