Attribution
Works out which marketing really drives your sign-ups and revenue, and explains why Google, Meta, GA4 and your CRM never report the same numbers.
What it is
A guide for marketers, founders and growth teams trying to answer the hardest question in marketing: which of our efforts actually caused this sale? It covers choosing and reading attribution models, reconciling numbers that disagree across ad platforms, web analytics and your CRM (customer database), and deciding when to use surveys, media mix modeling or holdout experiments. A second track, for people who control their own website code, shows how to track where customers came from yourself. It comes from Corey Haines's Marketing Skills collection.
Instead of crowning one model as the truth, it treats every model as an opinion and shows where each one misleads. It insists on a single source of truth for the conversion count, never adds up what different platforms claim, and trusts trends that all sources agree on more than exact figures. It gives real weight to a 'How did you hear about us?' question, which catches word of mouth, podcasts and private sharing that tracking cannot see, and it names the usual blind spots: direct traffic, branded search, dark social and AI assistants.
The result is an attribution readout: the decision it informs, the source of truth, what each tool reports side by side, a first-touch versus last-touch comparison, confidence and gaps, and a budget recommendation. The build track is technical, covering user identification in analytics tools like PostHog and passing visitor IDs through booking tools such as SavvyCal or Calendly, so that half suits someone comfortable editing site code.
What it can do
- Explains first-touch, last-touch, linear, time-decay, position-based and data-driven models, and how each one distorts credit.
- Reconciles conflicting conversion counts from ad platforms, GA4, your CRM and customer surveys into one honest allocation.
- Recommends multi-touch tracking, media mix modeling or incrementality tests based on budget, sales cycle and number of channels.
- Designs a 'How did you hear about us?' question and shows how to weigh its answers without over-crediting any channel.
- Gives separate default approaches for long-cycle B2B software and short-cycle ecommerce brands.
- Plans first-party tracking that links anonymous visits to sign-ups, bookings or purchases, including ones on third-party checkout or booking pages.
When to use it
- Meta claims 40 conversions, Google 50, GA4 60 and your CRM shows 35, and you need one defensible number for the board.
- Most of your sign-ups show up as 'direct' and you suspect your podcast appearances and newsletter mentions are being undercounted.
- You are setting next quarter's ad budget and want to know which channel deserves a holdout test before you cut it.
- Demo calls are booked on Calendly and you want each booking traced back to the campaign that brought the visitor.
How it works
- 1Reads your product marketing notes if present, then works out whether you need help interpreting existing numbers or building your own tracking.
- 2For interpretation, picks one system as the source of truth and lines up each tool's claims next to it, removing double counting.
- 3Compares models side by side, checks blind spots like direct and branded search, and uses survey answers or experiments as tiebreakers.
- 4For the build track, walks through identifying users at conversion, passing anonymous IDs to third-party tools, and guardrails that stop personal data leaking.
- 5Writes an attribution readout with a recommendation and confidence levels, and points to setup guides for tools such as PostHog, GA4, HubSpot and Segment.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/coreyhaines31/marketingskills/tree/main/skills/attribution
pnpm dlx skills add https://github.com/coreyhaines31/marketingskills/tree/main/skills/attribution
Install as a Claude Code plugin
Run these inside Claude Code. The plugin may bundle related skills from the same author.
/plugin marketplace add coreyhaines31/marketingskills /plugin install marketing-skills@marketingskills
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the attribution folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/coreyhaines31/marketingskills.git mkdir -p ~/.claude/skills cp -r marketingskills/skills/attribution ~/.claude/skills/attribution
Then just ask in plain language, for example: “Google Ads and GA4 report completely different conversion numbers. Which one should I trust?”
More Social Media & Marketing skills
Offers
58kImproves what you actually sell, not just how you describe it: value, bonuses, guarantees, honest urgency, naming and payment terms.
Baoyu Post To WeChat
27kSends your Markdown or HTML article to a WeChat Official Account as a formatted draft, with theme, cover and image uploads handled for you.
Claude SEO
26kOne /seo command menu that sends your request to the right SEO check, from full site audits to schema, local SEO and AI search.