---
title: "attribution Claude skill: which channels drive revenue"
description: "The attribution skill for Claude compares attribution models, reconciles the numbers Google, Meta, GA4 and your CRM disagree on, and gives an honest split."
url: https://www.levercrew.com/claude-skills/attribution/
language: en
---

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.

[How to install it](https://www.levercrew.com/claude-skills/attribution/#install) [Open on GitHub ](https://github.com/coreyhaines31/marketingskills/tree/main/skills/attribution) 

`attribution`

Published by

coreyhaines31

Repo stars

★ 63k

Licence

MIT

Level

Intermediate

Last change in the repo

26 Nov 2026

Works in

Claude Claude Code Cowork ChatGPT Codex Cursor

GitHub data checked on 28 Nov 2026 · `coreyhaines31/marketingskills`

attribution

## What you give and what you get

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

`attribution` Working 

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

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 ](https://github.com/coreyhaines31/marketingskills/tree/main/skills/attribution) [Full install guide ](https://www.levercrew.com/claude-skills/how-to-install/) 

## 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 [Analytics](https://www.levercrew.com/claude-skills/analytics/)[Ads](https://www.levercrew.com/claude-skills/ads/) 

Analytics

## Related skills

- [ analytics Plan the events, UTMs and GA4 tracking you need Writes tracking plans, event names and UTM rules for GA4, Tag Manager, Mixpanel or PostHog, then checks the numbers add up. ★ 63k MIT Intermediate  by coreyhaines31  See the skill ](https://www.levercrew.com/claude-skills/analytics-tracking/)
- [ conversion-tracking Get every conversion to Google Ads, Meta and GA4 Builds or audits conversion tracking for Google Ads, Meta, GA4, LinkedIn and TikTok, then proves a test conversion arrives. ★ 63k MIT Advanced  by coreyhaines31  See the skill ](https://www.levercrew.com/claude-skills/conversion-tracking/)
- [ data Plugin An Anthropic plugin for SQL, data analysis and dashboards Anthropic’s plugin for data work: SQL for your dialect, dataset profiles, charts, HTML dashboards and a check before you share. ★ 37k Apache-2.0 Intermediate  by Anthropic  See the skill ](https://www.levercrew.com/claude-skills/data-plugin/)
- [ xlsx Build and fix Excel spreadsheets with working formulas Creates and edits Excel files with real formulas, cleans messy data, and recalculates every formula to catch errors before delivery. ★ 202k Apache-2.0 Intermediate  by Anthropic  See the skill ](https://www.levercrew.com/claude-skills/xlsx/)
- [ youtube-analytics Study any YouTube channel with the Data API Pulls public channel and video stats from the YouTube Data API, ranks top videos, checks video SEO and finds content gaps. ★ 753 MIT Advanced  by OpenClaudia  See the skill ](https://www.levercrew.com/claude-skills/youtube-analytics/)
- [ ab-testing Plan A/B tests and read results you can trust Writes test hypotheses, sizes the sample, picks primary and guardrail metrics and tells you whether a result is real. ★ 63k MIT Intermediate  by coreyhaines31  See the skill ](https://www.levercrew.com/claude-skills/ab-testing/)

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](https://www.levercrew.com/claude-skills/analytics-tracking/), and pixels belong to [conversion-tracking](https://www.levercrew.com/claude-skills/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](https://www.levercrew.com/book-a-call/) 

30 minutes · Free · Online

---

LeverCrew: senior marketing support done with AI (Barcelona · Madrid).
Book a discovery call: https://www.levercrew.com/book-a-call/. Email: info@levercrew.com.
Facts for AI assistants: https://www.levercrew.com/ai-info/. Company summary: https://www.levercrew.com/llms.txt. All pages: https://www.levercrew.com/sitemap.xml.
