Marketing Skill Store

Analytics and reportingFree skillVersion 1.0.0

UTM naming checker

Audits tagged URLs or a GA4 source and medium export against a naming convention and returns a fix list and a clean convention to follow.

By Marketing Skill Store team · Updated

What this skill does

Audits campaign tracking tags. Use when the user shares a list of tagged URLs, a UTM spreadsheet, or a GA4 export of session source, medium and campaign, and asks whether their tagging is consistent, why traffic lands in Unassigned or the wrong channel, or what naming convention to use. Flags inconsistent casing, misused or non-standard medium values, missing parameters, spaces and special characters, and tags on internal links. Proposes a naming convention and a mapping from each bad value to its fix.

When to use it

  • Your GA4 reports show the same source split across several rows, such as Facebook, facebook and fb
  • Traffic you tagged is landing in Unassigned or the wrong default channel group
  • Several people or agencies tag links and no one follows the same rules
  • You want a written UTM convention before a big campaign launch

What you give the agent

InputDetailsNeeded
Tagged URLs or GA4 exportA list of tagged URLs, a UTM builder spreadsheet, or a GA4 export with session source, session medium, session campaign and sessions.Required
Current conventionYour existing naming rules, if you have any, even if people do not follow them.Optional
Channels and platforms you useThe platforms you run (for example Google Ads, Meta, LinkedIn, your email tool, affiliates) and whether Google Ads auto-tagging is on.Optional

What you get back

  • A summary of how many values pass and fail, and the sessions affected
  • A table of issues with the value, the problem and the fix
  • A mapping table from each bad source, medium or campaign value to the clean value
  • A proposed naming convention with allowed values for source and medium

Example first message

A hypothetical prompt to start a chat once the skill is installed. Replace the details with your own.

Here is a GA4 export of session source, medium and campaign for the last 90 days with sessions (pasted below). We run Google Ads, Meta, LinkedIn and a monthly newsletter in Mailchimp. A lot of traffic shows up as Unassigned and Facebook appears under four different names. Can you check our UTMs and suggest a convention?

The full skill text

This is exactly what the agent reads. The header at the top is the SKILL.md format: a name and a description that tell the agent when to load it.

---
name: utm-naming-checker
description: "Audits campaign tracking tags. Use when the user shares a list of tagged URLs, a UTM spreadsheet, or a GA4 export of session source, medium and campaign, and asks whether their tagging is consistent, why traffic lands in Unassigned or the wrong channel, or what naming convention to use. Flags inconsistent casing, misused or non-standard medium values, missing parameters, spaces and special characters, and tags on internal links. Proposes a naming convention and a mapping from each bad value to its fix."
---

# UTM naming checker

You audit campaign tracking parameters against a naming convention. Your goal is clean, consistent source, medium and campaign values so reports in GA4 and other analytics tools group traffic correctly.

## Before you start

Ask the user for anything missing from this list. Do not guess.

1. The data. One of:
   - A list of tagged URLs.
   - A UTM builder sheet with columns for each parameter.
   - A GA4 export with session source, session medium, session campaign and sessions (or a similar export from another analytics tool).
2. Their current naming rules, if any.
3. The platforms and channels they use, and the email or automation tool that sends their emails.
4. Whether Google Ads auto-tagging is on and the Google Ads account is linked to GA4.

If the user gives URLs, parse each into utm_source, utm_medium, utm_campaign, utm_term, utm_content and utm_id. Note any other parameters present.

## Reference: how GA4 uses source and medium

At the time of writing, GA4 places sessions into default channel groups using rules on source and medium. In general terms:

- Mediums such as cpc, ppc or values starting with paid count as paid traffic. Combined with a search engine source they go to Paid Search, and with a known social site source they go to Paid Social.
- Mediums such as social, social-network or social-media, or a known social site source with a non-paid medium, go to Organic Social.
- A source or medium of email (or close variants) goes to Email.
- Mediums such as affiliate, referral, display, banner or cpm map to their matching channels.
- Values the rules do not recognise can land in Unassigned.

GA4 values are case sensitive. Tell the user to check GA4 help for the current rule list before relying on a specific mapping.

## Steps

1. **Inventory.** List every distinct source, medium and campaign value with the sessions or URL count for each. Note the total sessions in the file.
2. **Casing.** Group values that differ only by case (Facebook, facebook, FaceBook). Recommend lowercase for every value.
3. **Spelling and aliases.** Group values that mean the same thing (facebook, fb, facebook.com, meta) and pick one clean value. Ask the user if a choice depends on their preference.
4. **Medium misuse.** Flag medium values that:
   - Hold a source name, campaign name or date (for example medium = "facebook" or "black_friday").
   - Are non-standard and unlikely to match a default channel (for example "newsletter" or "social_paid" where the rules expect email or a paid value). Explain which channel the session likely lands in now and which it would land in after the fix.
   - Mix paid and organic, such as paid Meta ads tagged with medium = social.
5. **Missing parameters.** Flag URLs or rows missing utm_source, utm_medium or utm_campaign. Source and medium are the minimum. Campaign is needed to report by campaign.
6. **Format problems.** Flag spaces, encoded spaces (%20), mixed separators (hyphens in some values, underscores in others), special characters, and very long values. Recommend one separator.
7. **Internal links.** Flag tagged URLs that point from the user's own site to their own site, such as banners on the homepage. UTM tags on internal links overwrite the original source of the visit and break attribution. Recommend removing them and using events or content groups instead.
8. **Google Ads.** If auto-tagging is on and the account is linked, flag manual UTMs on Google Ads URLs as something to review, and explain that GA4 normally relies on auto-tagging for that traffic.
9. **Propose a convention.** Write a short convention:
   - All lowercase, one separator (hyphen or underscore, pick one).
   - An allowed list for utm_source (one value per platform or publication).
   - An allowed list for utm_medium mapped to channels (for example cpc, paid-social, email, social, affiliate, referral, display), checked against the GA4 rules above. If the user wants a custom value such as paid-social, confirm it matches the paid pattern for their analytics setup.
   - A pattern for utm_campaign, such as year-month_campaign-name or a campaign ID from the user's planning sheet.
   - What utm_content and utm_term are used for (ad variation, keyword, link position).
10. **Map fixes.** For every bad value, give the clean value under the new convention. If GA4 is the source, mention that past data stays as it is, and that the user can build a custom channel group or a lookup in their reporting tool to group old values.

## Output format

Use these sections in this order.

**Summary**: total values or URLs checked, how many have issues, and the sessions affected. Two or three sentences.

**Issues**: a table with columns: Parameter, Current value, Sessions or URLs, Problem, Suggested value.

**Missing parameters**: a table with columns: URL or row, Missing, Suggested values.

**Internal links with UTM tags**: a list, or "none found".

**Proposed convention**: the rules as a short list, then a table with columns: Channel, utm_source values, utm_medium value, Example URL ending.

**Mapping table**: columns: Old source / medium, New source / medium, Expected channel group. This is the sheet the user can share with the team.

**Notes**: anything you could not judge without more context.

## Quality checks

Before you answer, check that:

- Every flagged value appears in the data you were given.
- Session counts in the summary match the file.
- Every suggested medium value fits the channel the user means it for, based on the GA4 rules described above.
- The proposed convention is consistent with itself (same casing and separator everywhere).
- You did not claim to fix historical data.

## Tone

Practical and tidy. Short rules people can follow while building a link. Avoid blame for past tagging.

How to install and use it

Claude apps (web and desktop)

  1. Download the .zip file from this page. It holds one folder with the SKILL.md file inside.
  2. In Claude, open Settings, then Capabilities, and turn on code execution and file creation if it is off. Skills need it. On Team and Enterprise plans an owner turns it on for the organization.
  3. Open Customize, then Skills. Click the + button, choose Create skill, then Upload a skill, and select the .zip file. Menu names can change, so look for "Skills" if the path differs.
  4. Start a new chat and describe the job. Claude loads the skill when your request matches its description, or you can ask it to use the "utm-naming-checker" skill.

Claude Code

  1. Save the file as ~/.claude/skills/utm-naming-checker/SKILL.md to use it in every project, or as .claude/skills/utm-naming-checker/SKILL.md inside one project.
  2. Start a new session. Claude Code reads the skill descriptions and loads this one when the task matches.

ChatGPT

  1. On a Business, Enterprise or Edu workspace with skills turned on: open Plugins in the sidebar, go to the Skills tab, choose Add, then upload the skill from your computer. ChatGPT scans uploaded skills before they can be used.
  2. On a personal plan (Free, Plus or Pro): create a project, paste the skill text into the project instructions, and run the job inside that project. New custom GPTs can no longer be created on personal accounts.
  3. Start a chat with the example first message on this page and attach your data.

Gemini

  1. On a personal Google account: open Customize, then Skills. Import the skill by uploading the SKILL.md file (Gemini web app or Mac app), or choose Create and paste the name, description and skill text.
  2. On a work or school account that still uses Gems: create a Gem and paste the skill text into its instructions.
  3. Run the skill by typing / followed by its name, or describe the job and attach your data.

Other agents

  1. Use the skill text as the system prompt, or save it as an instructions file the agent reads.
  2. Send your inputs in the first message.

Steps checked against each app's help pages in November 2026. Menu names change from time to time. Our install guide has more detail.

Limits and checks

  • It cannot fix data already collected in GA4. Fixes apply to new links and to future reporting.
  • GA4's default channel group rules can change. Check the current rules in GA4 help before you rely on a mapping.
  • It only sees the values you give it. It cannot crawl your site to find internal links with UTM tags.

Questions about this skill

Are UTM values case sensitive in GA4?

Yes. GA4 treats Facebook and facebook as different values, so they appear on separate rows and split your reports. The skill flags every case variant and recommends lowercase for all values.

Why does tagged traffic end up in Unassigned?

GA4 assigns sessions to a default channel group using rules based on source and medium. If the medium is a value the rules do not recognise, such as a campaign name typed into the medium field, the session can land in Unassigned. The skill flags medium values that are unlikely to match a default channel and suggests a standard one.

Should I add UTM tags to Google Ads links?

If Google Ads auto-tagging is on and your Google Ads account is linked to GA4, GA4 uses the auto-tagging data, so manual UTMs are usually not needed. Some teams add them for other tools. The skill asks which setup you use before it flags Google Ads traffic.

Related skills

Analytics and reportingFree

Weekly marketing report

Turns a weekly export of channel metrics into a short report with headline numbers, week-on-week changes, likely causes and next actions.

Claude, ChatGPT, Gemini, Any agentBeginner

Analytics and reportingFree

Metric change explainer

Explains why a marketing metric moved by splitting the change into volume, rate and mix effects, and separating tracking issues from real shifts.

Claude, ChatGPT, Gemini, Any agentIntermediate

Paid adsFree

PPC budget pacing check

Compares month-to-date spend with budget by campaign, projects month-end spend and suggests daily budget changes to land on target.

Claude, ChatGPT, Gemini, Any agentBeginner

Guides that use this skill