Claude skill · Analytics

attribution: see which channels drive revenue and which numbers to trust

attribution is a free Claude skill from the marketingskills repo for the question of which marketing caused a sale. It compares attribution models, explains why Google, Meta, GA4 and your CRM report different numbers, and picks one source of truth. It covers holdout tests, marketing mix models and “how did you hear about us” surveys. It suits teams that spend across several channels.

attribution

What you give and what you get

What you give, attribution working, and what you get back.

What you give

  • The decision the numbers must support
  • Conversions by channel from each platform, GA4 and CRM
  • Your sales cycle and business type
  • Survey answers on how buyers heard of you

What you get

  • One source of truth for the conversion count
  • Models side by side: first touch and last touch
  • A channel table that never adds platforms together
  • Blind spots named: direct, branded search, dark social, AI
  • A budget call with confidence levels and a test to run

Read from its SKILL.md.

How it works

  1. 01

    Picks the track

    It asks whether you need to read and reconcile numbers, or to build your own first-party attribution on a site you control. Most requests start with reading.

  2. 02

    Compares the models

    It explains first touch, last touch, linear, time decay, position based and data driven, and how each one misleads. Long cycles get first and last touch side by side.

  3. 03

    Chooses the method

    Small budgets get clean UTMs and a survey. Mid budgets add incrementality tests. Large budgets with offline spend use a marketing mix model checked by holdout tests.

  4. 04

    Reconciles the sources

    Your CRM or backend sets the conversion count. Platform claims are never added together, and self-reported answers break ties between them.

  5. 05

    Writes the readout

    The readout states the question, the source of truth, what each source says, the gaps and a budget recommendation with confidence levels.

Prompt

Example prompt

Paste it once the skill is installed and swap in your own details.

Meta says 120 sales last month, Google says 95, GA4 says 80 and Shopify shows 140 orders. We sell supplements online. Which numbers should we trust, and how should we split next quarter’s budget?

How to install it

How to install attribution

npx skills add coreyhaines31/marketingskills --skill attribution

In the terminal, inside your project. Add -g to have it in every project. The installer asks which apps to add it to.

/plugin marketplace add coreyhaines31/marketingskills/plugin install marketing-skills

Inside Claude Code. Installs the whole package from the repo.

Or by hand: copy the folder to ~/.claude/skills/attribution/

  1. Download the skill folder from GitHub and zip it, with the folder at the root of the ZIP.
  2. In Claude, open Customize, then Skills.
  3. Press +, choose Create skill, then Upload a skill.
  4. Upload the ZIP and turn the skill on. Code execution must be on.
  • Codex and Cursor: the same npx command installs it for them; the installer asks which apps.
  • ChatGPT Business, Enterprise and Edu: Plugins, the Skills tab, Add, then Upload from your computer.
  • Other ChatGPT plans: attach the SKILL.md to a project and ask it to follow the file.

Open the folder on GitHub Full install guide

Who it suits

Marketing leads and founders who spend on several channels, get different numbers from each, and must decide where next quarter’s budget goes.

What it needs and where it stops

It assumes tracking already exists; the analytics and conversion-tracking skills handle that first. The first-party build track needs code access to your site and a tool such as PostHog or Segment. Marketing mix models need two to three years of weekly data.

Listed under AnalyticsAds

Analytics

Related skills

Questions

Questions about attribution

Is the attribution skill free?

Yes. It is published under the MIT licence in the marketingskills repo on GitHub. You pay only for your Claude plan.

Which attribution model should I use?

There is no single right one. The skill treats every model as an opinion and asks you to stay consistent. For long sales cycles it shows first touch and last touch side by side, because the gap between them is the insight.

Why do Google and Meta claim more sales than I made?

Each platform counts the same sale in its own window, often with view-through credit. The skill counts real conversions once, from your CRM or backend, and explains platform credit separately.

Does it install the tracking too?

No. Events and UTMs belong to analytics-tracking, and pixels belong to conversion-tracking. attribution reads what they collect.

We put these skills to work in your team

Book a free 30-minute call. We pick the skills for your work and train your team to use them.

Book a discovery call

30 minutes · Free · Online

Free discovery call

30 minutes · Online · Free · English or Spanish

Our address: info@levercrew.com

LeverCrew uses your details only to reply to you and prepare the call. Privacy

Growth AI Tips

AI tips your team can use the same day

One email every two weeks, for sales and marketing teams.

  • The tip, in a few lines
  • The prompt or workflow, ready to copy
  • How to check that it works

Free. Unsubscribe with one click. Privacy policy