# marketing-attribution-analyst

A subagent that works out which channels actually earn credit for conversions and how to split marketing budget accordingly.

- subagent · `type=agent` · Claude Code · 1115 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/agents/business-marketing/marketing-attribution-analyst.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/agents/marketing-attribution-analyst

## What it does

This subagent handles the question of which channel or touchpoint gets credit for a conversion, and whether that credit holds up. It works from your own tracking, channel spend and CRM revenue data. Model is `sonnet`; tools are `Read`, `Write`, `Glob`, `Grep`, `WebFetch`, `WebSearch`.

It starts by asking about your analytics stack (GA4, GTM, CDP or warehouse), attribution window, available data sources, business model and spend level. Then it checks current platform documentation through search and reads any local tracking code or SQL you share. The method it recommends matches your confirmed data rather than defaulting to the fanciest model on the shelf.

For quarterly budget calls it leans on marketing mix modeling over aggregate spend and outcome data. Causal checks come from incrementality tests such as geo holdouts and matched-market tests. Multi-touch attribution stays for campaign-level tuning. MMM needs roughly 1-2 years of weekly observations and real spend variation across channels, so a large budget alone will not make it identifiable.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --agent business-marketing/marketing-attribution-analyst
```

2. **Manually: put the files in place**
- File: `.claude/agents/marketing-attribution-analyst.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/marketing-attribution-analyst.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/marketing-attribution-analyst.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/agents/business-marketing/marketing-attribution-analyst.md

## When to use it
- find out whether paid social really drives the credited 40% of revenue
- pick a measurement method that fits spend level and data maturity
- validate a channel with a geo holdout before shifting budget
- tell a real channel-mix shift from a tracking break after migration
- justify a channel budget split to the board

## Example prompts
- Our last-click model credits paid social with 40% of revenue. Check whether that lift is real and propose a test.
- Help me choose an attribution method for our spend level and tracking data.
- GA4 numbers changed a lot after our tagging migration. Is this a real channel shift or a measurement problem?

## Similar
- [ad-attribution-gap](https://affpapa.org/en/nevibecode/skills/ad-attribution-gap.md) — skill · 20500 installs
- [attribution](https://affpapa.org/en/nevibecode/skills/attribution.md) — skill · 39000 installs
- [attribution-reconciler](https://affpapa.org/en/nevibecode/skills/attribution-reconciler.md) — skill · 1000 installs
- [marketing-analyst](https://affpapa.org/en/nevibecode/skills/marketing-analyst.md) — skill · 308 installs
- [ads-attribution](https://affpapa.org/en/nevibecode/skills/ads-attribution.md) — skill · 3400 installs
- [conversion-signal-qa](https://affpapa.org/en/nevibecode/skills/conversion-signal-qa.md) — skill · 1000 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 361 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
