utm-tracking-generator
What it does
Builds standard UTM link parameters and tracking names for your campaigns, following one shared naming format. It is for marketers who want clean analytics that can be compared across channels.
When to use it
- ✓When you need tracking links for a new campaign.
- ✓When your reports show the same channel under several different names.
- ✓When you want to agree on tracking names that the whole team follows.
Skill link
https://github.com/irinabuht12-oss/marketing-skills/blob/main/skills/utm-tracking-generator/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Make UTM links for my spring Google and Meta prospecting campaign, plus GA4 event names for the sign-up button.”
5 new skills a week. 1 minute to read.
How it works
You describe the campaign context, such as channels, goals and offers. The skill applies a lowercase, consistent naming format and produces the parameter sets, GA4 event specs and setup notes.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
UTM & Tracking Generator
Create standardized tracking parameters for consistent marketing attribution.
Process
- Understand campaign context - Channels, goals, audience, offers
- Apply naming taxonomy - Consistent, lowercase, documented
- Generate UTM strings - Complete parameter sets
- Create GA4 event specs - Compliant naming
- Provide implementation guidance - Platform-specific instructions
UTM Parameter Taxonomy
| Parameter | Purpose | Example Values |
|---|---|---|
| utm_source | Traffic source platform | google, facebook, linkedin, newsletter |
| utm_medium | Marketing channel type | cpc, paid-social, email, display, organic |
| utm_campaign | Campaign identifier | spring_sale-us-2024-prospecting |
| utm_term | Paid keywords (optional) | running_shoes, [brand_name] |
| utm_content | Content variant (optional) | hero_cta, sidebar_banner, email_v2 |
Naming Convention Rules
- Always lowercase - UTMs are case-sensitive (google ≠ Google)
- No spaces - Use hyphens (-) or underscores (_)
- Consistent separators - Pick one style for organization
- Descriptive but concise - Balance clarity with length
- Document everything - Maintain shared naming guide
Campaign Naming Structure
[product/goal]-[geography]-[date]-[audience]-[offer]
Examples:
- shoes-us-q1_2024-running_enthusiasts-20off
- saas-global-jan2024-smb_trial-free_demo
- ebook-uk-2024_q2-marketers-lead_magnet
Platform-Specific Templates
Google Ads
utm_source=google&utm_medium=cpc&utm_campaign={campaign_name}&utm_term={keyword}&utm_content={creative}
Meta Ads (Dynamic Parameters)
utm_source={{site_source_name}}&utm_medium=paid-social&utm_campaign={{campaign.name}}&utm_content={{adset.name}}&utm_term={{ad.name}}
LinkedIn Ads
utm_source=linkedin&utm_medium=paid-social&utm_campaign=[campaign_name]&utm_content=[ad_name]
Email Marketing
utm_source=klaviyo&utm_medium=email&utm_campaign=[flow_name]-[email_position]&utm_content=[variant]
GA4 Event Naming Rules
| Rule | Requirement | Example |
|---|---|---|
| Start with letter | No numbers or symbols first | ✅ page_view ❌ 1st_click |
| Allowed characters | Letters, numbers, underscores only | ✅ add_to_cart ❌ add-to-cart |
| Max length | 40 characters | Keep concise |
| No reserved prefixes | Avoid ga_, google_, firebase_ | Use custom prefix |
| Case | Use snake_case | form_submit, button_click |
Standard Event Names (Use These)
page_view
scroll_depth
form_submit
button_click
video_play
video_complete
file_download
outbound_click
add_to_cart
begin_checkout
purchase
sign_up
login
search
Output Format
## Tracking Specification
### Campaign Overview
- **Campaign Name**: [Name]
- **Channels**: [List]
- **Goal**: [Conversion objective]
### UTM Parameters
#### [Channel 1]
| Parameter | Value |
|-----------|-------|
| utm_source | |
| utm_medium | |
| utm_campaign | |
| utm_term | |
| utm_content | |
**Full URL**: `https://example.com?utm_source=...`
#### [Channel 2]
...
### GA4 Event Specifications
| Event | Trigger | Parameters |
|-------|---------|------------|
| [event_name] | [When fired] | [Key params] |
### Implementation Notes
- [Platform-specific guidance]
- [Testing recommendations]
### Naming Convention Reference
- Separator: [hyphen/underscore]
- Date format: [YYYY_QN or MMYYYY]
- Geography codes: [us, uk, global]
Example
Input: "I need UTM tracking for a spring sale campaign running on Google Ads, Facebook, and email for US customers, promoting 20% off shoes."
Output:
## Tracking Specification
### Campaign Overview
- **Campaign Name**: shoes-us-spring2024-allcust-20off
- **Channels**: Google Ads, Meta Ads, Email
- **Goal**: Purchase conversions
### UTM Parameters
#### Google Ads
| Parameter | Value |
|-----------|-------|
| utm_source | google |
| utm_medium | cpc |
| utm_campaign | shoes-us-spring2024-allcust-20off |
| utm_term | {keyword} |
| utm_content | {creative} |
**Full URL**:
`https://yoursite.com/shoes?utm_source=google&utm_medium=cpc&utm_campaign=shoes-us-spring2024-allcust-20off&utm_term={keyword}&utm_content={creative}`
#### Meta Ads
| Parameter | Value |
|-----------|-------|
| utm_source | facebook |
| utm_medium | paid-social |
| utm_campaign | shoes-us-spring2024-allcust-20off |
| utm_content | {{adset.name}} |
| utm_term | {{ad.name}} |
**Full URL**:
`http
FAQ
Why must UTM values be lowercase?
UTM values are case-sensitive, so google and Google would be counted as two different sources.
What does the naming format cover?
Source, medium, campaign, term and content parameters, each with example values.
Does it cover Google and Meta?
Yes. The skill is set up for both platforms.
Details
Original description by the author
Generate consistent UTM parameters, GA4 event naming, and conversion tracking specs following taxonomy best practices. Use when describing campaign structure, requesting UTM links, needing GA4 event names, or wanting to standardize tracking nomenclature across marketing channels. Platform: Google and Meta.
Popularity
- GitHub stars
- 6.7k
- Ranking position
- #13781
- License
- —
- Updated
- 10/27/2026
Comments
- …
More skills from this repository
ab-test-analyzer
6.7kHelps your agent check whether A/B test results are statistically significant, work out the sample size you need, and suggest the next test.
ab-test-setup-and-analysis
6.7kHelps your agent design a fair split test for ads or landing pages, then call a winner only when the results are truly significant.
account-structure-review
6.7kHelps your agent review your Google and Meta campaign structure, flagging over-split campaigns, thin budgets and chances to combine them.
ad-copy-variant-generator
6.7kTeaches your agent to study your best ads and write new variants that keep the winning hooks, calls to action and angles while testing changes.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.