utm-builder
Skill4 starsChanged 6 months agoMITView on GitHub
Generates UTM-tagged URLs for campaign tracking. Use for creating tracking links, bulk UTM generation, or setting up campaign URL conventions.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- cognyai/claude-code-marketing-skillstheir own version, first seen Oct 12, 2026
- calven-ai/marketing-as-codetheir own version, first seen Oct 7, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- cognyai/claude-code-marketing-skills★ 106same name
- calven-ai/marketing-as-code★ 10same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository59 other files it gives its agents.
- ad-copy-generationSkill
- ad-creative-fatigue-detectorSkill
- ad-policy-complianceSkill
- amazon-ads-optimizerSkill
- anomaly-detectorSkill
- attribution-modelingSkill
- audience-expansion-strategySkill
- bid-optimizationSkill
- budget-optimizerSkill
- campaign-ide-handoffSkill
- campaign-preflightSkill
- campaign-structure-auditorSkill
- chatgpt-ads-conversion-trackingSkill
- chatgpt-ads-launchSkill
- competitor-analysisSkill
- creative-testingSkill
- cross-platform-attributionSkill
- cross-platform-launcherSkill
- dayparting-schedulerSkill
- executive-reportingSkill
- first-party-data-strategySkill
- google-ads-operatorSkill
- google-ads-quality-scoreSkill
- google-shopping-optimizerSkill
- gtm-metricsSkill
- incrementality-testingSkill
- keyword-researchSkill
- kill-scale-rulesSkill
- klaviyo-campaignsSkill
- landing-page-optimizerSkill
- launch-gatesSkill
- linkedin-ads-operatorSkill
- linkedin-ads-targetingSkill
- media-plan-builderSkill
- meta-ads-diagnosticsSkill
- meta-ads-operatorSkill
- mmm-budget-plannerSkill
- multi-channel-reportingSkill
- multi-platform-ads-operatorSkill
- multi-platform-launchSkill
- negative-keyword-minerSkill
- openai-ads-operatorSkill
- performance-max-optimizerSkill
- pixel-capi-auditorSkill
- pixel-capi-setupSkill
- platform-cost-benchmarksSkill
- public-ad-library-intelligenceSkill
- retargeting-sequence-designerSkill
- roas-calculatorSkill
- seasonal-budget-plannerSkill
- spearSkill
- spec-driven-devSkill
- synter-mcp-setupSkill
- tiktok-ads-operatorSkill
- tracking-leak-detectorSkill
- ugc-creative-briefSkill
- ui-contrast-reviewSkill
- video-ad-scriptwriterSkill
- x-ads-operatorSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Single URL Generation: - Create one UTM-tagged URL with all parameters
- Distinctive: line 14
UTM Validation: - Check existing URLs for proper UTM formatting
- Distinctive: line 21
When a user asks to create a tracking URL:
- Distinctive: line 51
When user asks: "Create a UTM link for our Google Ads campaign to yoursite.com/signup"
- Very specific: line 115
Use consistent format: {product}_{type}_{date}_{variant}
- Distinctive: line 141
Be consistent: - Use the same source/medium values across campaigns
- Distinctive: line 143
No spaces: - Use underscores or hyphens
- Distinctive: line 144
Document conventions: - Create a UTM naming guide for your team
- Distinctive: line 145
Shorten URLs: - Use URL shorteners for social/email if needed
- Distinctive: line 146
Test tracking: - Verify URLs work before launching
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
UTM Builder Skill
Generate properly formatted UTM-tagged URLs for campaign tracking across all marketing channels.
Capabilities
- Single URL Generation - Create one UTM-tagged URL with all parameters
- Bulk URL Generation - Generate multiple URLs for multi-channel campaigns
- UTM Validation - Check existing URLs for proper UTM formatting
- Convention Templates - Apply consistent naming conventions across campaigns
Quick Usage
Generate Single UTM URL
When a user asks to create a tracking URL:
def build_utm_url(
base_url: str,
source: str, # google, facebook, linkedin, newsletter
medium: str, # cpc, paid_social, email, organic
campaign: str, # campaign name/promo code
content: str = None, # ad variation identifier
term: str = None # paid search keywords
) -> str:
from urllib.parse import urlencode, urlparse, urlunparse, parse_qs
parsed = urlparse(base_url if base_url.startswith('http') else f'https://{base_url}')
params = parse_qs(parsed.query)
params['utm_source'] = [source]
params['utm_medium'] = [medium]
params['utm_campaign'] = [campaign]
if content:
params['utm_content'] = [content]
if term:
params['utm_term'] = [term]
query = urlencode({k: v[0] for k, v in params.items()})
return urlunparse(parsed._replace(query=query))Example Response
When user asks: "Create a UTM link for our Google Ads campaign to yoursite.com/signup"
Here's your UTM-tagged URL:
https://yoursite.com/signup?utm_source=google&utm_medium=cpc&utm_campaign=product_launch_q1
**Parameters:**
- Source: google (where traffic comes from)
- Medium: cpc (paid search)
- Campaign: product_launch_q1 (campaign identifier)
You can add optional parameters:
- `utm_content`: To differentiate ad variations (e.g., "headline_a")
- `utm_term`: For paid search keywords (e.g., "ppc+management")Bulk Generation
For multi-channel campaigns, generate all URLs at once:
CHANNELS = [
{"source": "google", "medium": "cpc", "content": "search"},
{"source": "google", "medium": "display", "content": "banner"},
{"source": "facebook", "medium": "paid_social", "content": "feed"},
{"source": "linkedin", "medium": "paid_social", "content": "sponsored"},
{"source": "email", "medium": "email", "content": "newsletter"},
]
def generate_campaign_urls(base_url: str, campaign: str) -> list[dict]:
urls = []
for ch in CHANNELS:
url = build_utm_url(base_url, ch["source"], ch["medium"], campaign, ch["content"])
urls.append({"channel": f"{ch['source']}_{ch['medium']}", "url": url})
return urlsNaming Conventions
Source Values
| Platform | utm_source |
| Google Ads | google |
| Meta Ads | facebook or instagram |
| LinkedIn Ads | linkedin |
| X Ads | twitter or x |
| Reddit Ads | reddit |
| TikTok Ads | tiktok |
email or specific ESP name | |
| Organic Social | organic_[platform] |
Medium Values
| Type | utm_medium |
| Paid Search | cpc |
| Paid Social | paid_social |
| Display | display |
email | |
| Organic | organic |
| Referral | referral |
| Affiliate | affiliate |
Campaign Naming
Use consistent format: {product}_{type}_{date}_{variant}
Examples:
product_launch_q1blackfriday_promo_2025_v2webinar_registration_q1
Validation Rules
- Source: Required, lowercase, no spaces
- Medium: Required, lowercase, use standard values
- Campaign: Required, lowercase, underscores for spaces
- Content: Optional, use for A/B testing
- Term: Optional, URL-encode keywords
Integration with Google Analytics
UTM parameters flow into GA4 as:
utm_source→ Traffic Sourceutm_medium→ Mediumutm_campaign→ Campaignutm_content→ Manual Ad Contentutm_term→ Manual Term
Best Practices
- Be consistent - Use the same source/medium values across campaigns
- Use lowercase - GA is case-sensitive; "Google" ≠ "google"
- No spaces - Use underscores or hyphens
- Document conventions - Create a UTM naming guide for your team
- Shorten URLs - Use URL shorteners for social/email if needed
- Test tracking - Verify URLs work before launching
About this skill
Part of the Synter free skills collection — open-source agent skills for advertising, PPC, and marketing automation.
Want this skill (and 40+ more) running on autopilot against your live ad accounts? Try Synter — AI Agent Media Buyers that connect to Google, Meta, LinkedIn, TikTok, Reddit, Amazon, and 7+ more platforms.
- 🌐 syntermedia.ai
- 📚 All free skills
- 💬 Built by @syntermedia — questions? Open an issue.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

