utm-attribution-strategy

utm-attribution-strategy is a cursor rule for Cursor from thatrebeccarae/claude-marketing. It costs 60 tokens per session (1,738 once invoked), scanned A, original, MIT.

Rules for using UTM parameters—labels added to campaign links—to track where website visits come from. It also covers attribution, which means connecting marketing activity and spending to results such as revenue.

In plain words
What is it for?
Use it to define UTM naming conventions, track campaigns, compare marketing channels, and choose or document attribution models. It applies to channels such as search ads, email, social media, and referrals.
Why use it?
It prevents inconsistent campaign names and makes performance comparisons across channels more reliable. It provides a common vocabulary for recording sources, media, campaigns, keywords, and content variants.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to define UTM naming conventions, track campaigns, compare marketing channels, and choose or document attribution models. It applies to channels such as search ads, email, social media, and referrals.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/thatrebeccarae/claude-marketing/utm-attribution-strategy
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for utm-attribution-strategy

README.md
[![agentmods](https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/utm-attribution-strategy/github.svg)](https://agentmods.dev/rules/thatrebeccarae/claude-marketing/utm-attribution-strategy)
Your own site
<a href="https://agentmods.dev/rules/thatrebeccarae/claude-marketing/utm-attribution-strategy"><img src="https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/utm-attribution-strategy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for utm-attribution-strategy

Your own site · 80×15
<a href="https://agentmods.dev/rules/thatrebeccarae/claude-marketing/utm-attribution-strategy"><img src="https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/utm-attribution-strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,738 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.01738
Opus 5 $0.00030 $0.00869
Sonnet 5 $0.00012 $0.00348
Haiku 4.5 $0.00006 $0.00174

Measured 9d ago against content hash b2e2749e4c04, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

utm-attribution-strategy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

integrations/cursor/utm-attribution-strategy.mdc · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UTM & Attribution Strategy

Campaign tracking with UTM parameters and marketing attribution modeling.

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)

Read the full file on GitHub · 178 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 178 lines · 60 tokens per session scan A b2e2749e4c04

Subscribe to this mod's changes

utm-attribution-strategy is a cursor rule published in the GitHub repository thatrebeccarae/claude-marketing (133 stars, last pushed 3mo ago), licensed MIT. It adds 60 tokens to every session and 1,738 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.