utm-tracking-generator
它能做什么
为你的广告活动生成标准的 UTM 链接参数和追踪名称,遵循统一的命名格式。适合希望分析数据干净、能在各渠道之间进行比较的营销人员。
适用场景
- ✓当你需要为新的广告活动创建追踪链接时。
- ✓当你的报告中同一渠道出现了多个不同名称时。
- ✓当你想与团队商定一套统一的追踪名称时。
技能链接
https://github.com/irinabuht12-oss/marketing-skills/blob/main/skills/utm-tracking-generator/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我春季的 Google 和 Meta 拉新广告活动生成 UTM 链接,并为注册按钮提供 GA4 事件名称。”
每周 5 个新技能,1 分钟读完。
工作原理
你描述广告活动的背景,例如渠道、目标和优惠。该技能会应用统一的小写命名格式,生成参数组合、GA4 事件规范和设置说明。
技术内容(原始 SKILL.md)
作者在 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
常见问题
为什么 UTM 值必须是小写?
UTM 值区分大小写,因此 google 和 Google 会被计为两个不同的来源。
命名格式涵盖哪些内容?
来源、媒介、广告活动、关键词和内容参数,每个都附有示例值。
它覆盖 Google 和 Meta 吗?
是的。该技能针对这两个平台进行了设置。
详情
作者的原始描述
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.
热度
- GitHub 星标
- 6.7k
- 排名
- #13781
- 许可证
- —
- 更新时间
- 2026/10/27
评论
- …
同一仓库的更多技能
ab-test-analyzer
6.7k帮你的智能体检查 A/B 测试结果是否具有统计显著性,计算所需的样本量,并建议下一项测试。
ab-test-setup-and-analysis
6.7k帮你的智能体为广告或落地页设计公平的分流测试,并且只在结果真正显著时才确定胜出者。
account-structure-review
6.7k帮你的智能体审查你的 Google 和 Meta 广告系列结构,标记拆分过细的广告系列、预算过薄的情况以及可以合并的机会。
ad-copy-variant-generator
6.7k教你的智能体研究你表现最好的广告,并撰写新的变体,在测试改动的同时保留有效的钩子、行动号召和切入角度。