agentleFS
nickmerichnickmerich/music-tech-growth-skills/skills/attribution-and-measurement/SKILL.md

attribution-and-measurement

Skill1 starsChanged 42 days agoMITView on GitHub

Sets up and audits measurement for music tech growth, including UTM conventions, tracked links vs discount codes and which wins, affiliate platform reports, refunds and chargebacks, trial-to-paid, mobile and app-store gaps, and a weekly funnel and partner report from order and partner exports using a script. Use for "where are sales coming from", "is the affiliate tracking working", "weekly growth report", "set up UTMs", or "reconcile partner sales".

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test every partner link end to end (click → discount applied → order attributed) before the partner posts, on desktop and mobile.

    line 16

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Attribution and Measurement

Conventions

  • UTMs: utm_source = platform, utm_medium = organic, partner, email, or paid, utm_campaign = launch or program name, utm_content = creator or asset id.
  • One tracked link per partner with the discount built in where possible.
  • Publish the precedence rule when link and code disagree.
  • Test every partner link end to end (click → discount applied → order attributed) before the partner posts, on desktop and mobile.

Truth hierarchy

Paid orders after refunds (store or payment processor) > affiliate platform conversions > analytics conversions > clicks > views. Report each separately. Never call clicks "sales."

Known gaps

Mobile in-app browsers drop cookies, people buy days later on another device, codes get shared on coupon sites. Note gaps; don't fill them with guesses.

Weekly report

python3 scripts/funnel_report.py orders.csv partners.csv --as-of YYYY-MM-DD

orders.csv: date,order_id,amount,partner_id,refunded (partner_id blank if none; refunded 1/0). partners.csv: partner_id,accepted_date,first_post_date (first_post_date blank if none).

Outputs: gross, refunds, net, partner share of net, approved partners, posted, 1+ and 2+ sales, 30-day activation, median days to first sale, dormant at 60 days, top-10% revenue share.

Privacy

Aggregate where you can. Don't share customer data with partners.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.