utm-attribution-strategy
Skill159 starsChanged 9 months agoMITView on GitHub
UTM parameter strategy, campaign tracking, and marketing attribution modeling. Build consistent UTM taxonomies, configure attribution models, measure cross-channel performance, and connect marketing spend to revenue. Use when the user asks about UTM parameters, campaign tracking, attribution models, marketing measurement, or cross-channel analytics.
In this repository55 other files it gives its agents.
- ab-testing-frameworkSkill
- account-structure-reviewSkill
- aeo-geo-optimizerSkill
- brand-dnaSkill
- brand-voice-guidelinesSkill
- brazeSkill
- cold-email-outreachSkill
- competitor-ads-analystSkill
- content-creatorSkill
- content-pipelineSkill
- content-workflowSkill
- copywriting-frameworksSkill
- cro-auditorSkill
- cross-platform-auditSkill
- customer-journey-mappingSkill
- data-viz-deckSkill
- dep-auditSkill
- email-composerSkill
- facebook-adsSkill
- frontend-designSkill
- github-readmeSkill
- google-adsSkill
- google-analyticsSkill
- google-tag-managerSkill
- html-report-builderSkill
- icp-researchSkill
- klaviyo-analystSkill
- klaviyo-developerSkill
- landing-page-optimizerSkill
- linkedin-adsSkill
- llms-txtSkill
- looker-studioSkill
- market-researchSkill
- microsoft-adsSkill
- pricing-strategySkill
- pro-deck-builderSkill
- programmatic-seoSkill
- pro-report-builderSkill
- release-notesSkill
- remotion-videoSkill
- repo-healthSkill
- repo-scaffoldSkill
- research-digestSkill
- retention-churn-preventionSkill
- safe-pushSkill
- schema-markup-generatorSkill
- seo-content-writerSkill
- shopifySkill
- social-media-strategySkill
- social-previewSkill
- sync-reposSkill
- tech-diagramSkill
- technical-seo-auditSkill
- tiktok-adsSkill
- wasted-spend-finderSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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 42
All lowercase (Google Analytics is case-sensitive)
- Very specific: line 43
Use hyphens (-) as word separators, never spaces or underscores
- Distinctive: line 45
Use consistent vocabulary across all teams
- Distinctive: line 46
Document your taxonomy and enforce it
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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 & Attribution Strategy
Campaign tracking with UTM parameters and marketing attribution modeling.
Install
git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/utm-attribution-strategy ~/.claude/skills/UTM Parameter Reference
The 5 Standard UTM Parameters
| Parameter | Purpose | Required | Example |
utm_source | Where traffic comes from | Yes | google, linkedin, newsletter |
utm_medium | Marketing medium/channel | Yes | cpc, email, social, referral |
utm_campaign | Campaign name | Yes | spring-sale, product-launch-q1 |
utm_term | Paid keyword (search ads) | No | email+marketing+software |
utm_content | Differentiate ad variants | No | cta-button, sidebar-banner, video-ad |
UTM Naming Convention
Rules:
- All lowercase (Google Analytics is case-sensitive)
- Use hyphens (
-) as word separators, never spaces or underscores - Be descriptive but concise
- Use consistent vocabulary across all teams
- Document your taxonomy and enforce it
Recommended Taxonomy
utm_source
| Value | When to Use |
google | Google Ads, Google organic |
facebook | Meta/Facebook ads and organic |
instagram | Instagram ads and organic |
linkedin | LinkedIn ads and organic |
tiktok | TikTok ads |
twitter | Twitter/X |
youtube | YouTube ads and organic |
bing | Microsoft/Bing ads |
newsletter | Your email newsletter |
email | Transactional or one-off emails |
partner-[name] | Partner/affiliate traffic |
podcast-[name] | Podcast mentions |
utm_medium
| Value | When to Use |
cpc | Paid search (cost per click) |
paid-social | Paid social media |
social | Organic social media |
email | Email marketing |
referral | Partner/affiliate referrals |
display | Display/banner ads |
video | Video ads (pre-roll, in-stream) |
retargeting | Retargeting/remarketing |
influencer | Influencer partnerships |
organic | Organic search (usually auto-tagged) |
direct | Direct traffic (usually auto-tagged) |
utm_campaign
Pattern: [initiative]-[audience]-[date]
Examples:
spring-sale-2026product-launch-enterprise-q1webinar-seo-masterclass-mar2026blog-weekly-digest-w12retarget-cart-abandoners-mar
utm_content
Pattern: [format]-[variant]-[placement]
Examples:
video-testimonial-feedcarousel-product-storiescta-start-trial-herobanner-logo-sidebartext-ad-headline-v2
UTM Builder
URL Structure
https://example.com/landing-page?utm_source=linkedin&utm_medium=paid-social&utm_campaign=product-launch-q1&utm_content=video-demo-feedCommon UTM Templates
| Channel | Full UTM String |
| Google Search Ad | ?utm_source=google&utm_medium=cpc&utm_campaign=[campaign]&utm_term=[keyword]&utm_content=[ad-group] |
| Facebook Ad | ?utm_source=facebook&utm_medium=paid-social&utm_campaign=[campaign]&utm_content=[ad-name] |
| LinkedIn Ad | ?utm_source=linkedin&utm_medium=paid-social&utm_campaign=[campaign]&utm_content=[creative-type] |
| Email Newsletter | ?utm_source=newsletter&utm_medium=email&utm_campaign=[newsletter-name]-[date]&utm_content=[link-position] |
| Organic LinkedIn Post | ?utm_source=linkedin&utm_medium=social&utm_campaign=[post-topic] |
| Partner Referral | ?utm_source=partner-[name]&utm_medium=referral&utm_campaign=[initiative] |
Attribution Models
Model Comparison
| Model | How It Works | Best For | Limitation |
| Last Click | 100% credit to last touchpoint | Short sales cycles, direct response | Ignores awareness/consideration |
| First Click | 100% credit to first touchpoint | Brand awareness measurement | Ignores conversion-driving touches |
| Linear | Equal credit to all touchpoints | Simple multi-touch view | Over-credits low-impact touches |
| Time Decay | More credit to recent touches | Long sales cycles with clear momentum | Under-values early awareness |
| Position-Based | 40% first, 40% last, 20% middle | Balanced view of full funnel | Arbitrary weight distribution |
| Data-Driven | ML-based credit allocation | Large datasets (1000+ conversions) | Black box, requires volume |
GA4 Attribution
GA4 uses data-driven attribution by default. Key settings:
- Reporting attribution model: Set in Admin > Attribution Settings
- Lookback window: 30 days (click) / 7 days (view) default
- Conversion paths: Analyze in Advertising > Attribution > Conversion Paths
Choosing a Model
Sales cycle < 7 days → Last Click or Data-Driven
Sales cycle 7-30 days → Position-Based or Data-Driven
Sales cycle > 30 days → Time Decay or Data-Driven
Brand awareness focus → First Click
Performance marketing focus → Last Click
Balanced view needed → Position-Based
1000+ monthly conversions → Data-Driven (always)UTM Audit Checklist
- All paid campaigns have UTM parameters
- Naming convention documented and shared with team
- No mixed case (utm_source=Google vs google)
- No spaces in parameter values (use hyphens)
- utm_medium values align with GA4 default channel groupings
- Internal links do NOT have UTM parameters (breaks attribution)
- UTM parameters are on the landing page URL, not post-redirect
- No PII in UTM parameters (names, emails, account IDs)
- Short URLs / link shorteners preserve UTM parameters
- Redirects preserve UTM parameters (302s can strip them)
Common Mistakes
- UTMs on internal links — breaks session attribution, inflates source counts
- Inconsistent naming —
Facebookvsfacebookvsfbcreates 3 separate sources - Missing utm_medium — traffic falls into "(other)" channel grouping
- Non-standard utm_medium values — use GA4 recognized values for proper channel grouping
- UTMs on organic search results — Google auto-tags organic; adding UTMs creates duplicate sources
- PII in UTM parameters — email addresses or user IDs in URLs violate privacy policies
- Forgetting post-click tracking — UTMs track the click, not what happens after
Integration with Other Skills
- google-analytics — UTM data flows into GA4 for analysis
- google-ads — Google auto-tags with gclid; UTMs are supplementary
- facebook-ads — Meta auto-tags with fbclid; UTMs needed for GA4 attribution
- linkedin-ads — LinkedIn requires manual UTM configuration
- tiktok-ads — TikTok requires manual UTM configuration
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.

