Deterministic campaign performance analysis: multi-touch attribution, funnel conversion, ROI. Three analysis modules, no ML, no API calls — feed JSON snapshots in, get repeatable metrics out.
Typical workflow (run in sequence)
- Attribution — understand which channels drive conversions.
- Funnel — find where prospects drop off on the path to conversion.
- ROI — calculate profitability and benchmark, then reallocate budget.
1. Attribution models
Allocate conversion credit across channels. Compare ≥3 models — no single model tells the full story.
| Model |
Credit rule |
Best for |
| First-Touch |
100% to first interaction |
Brand awareness |
| Last-Touch |
100% to last interaction |
Direct response |
| Linear |
Equal across all touchpoints |
Balanced multi-channel |
| Time-Decay |
More credit to recent touchpoints (configurable half-life ≈ sales cycle) |
Short sales cycles |
| Position-Based |
40/20/40 first/middle/last |
Full-funnel |
Input shape: journeys[] each with touchpoints[] (channel, timestamp, interaction), converted, revenue.
2. Funnel analysis
Input: funnel.stages[] + funnel.counts[] (equal length). Computes:
- Stage-to-stage conversion rate and drop-off %
- Biggest bottleneck (largest absolute and relative drop) — focus here first
- Overall funnel conversion rate
- Segment comparison when multiple segments supplied
3. ROI metrics + benchmarking
Input: campaigns[] (name, channel, spend, revenue, impressions, clicks, leads, customers). Outputs:
- ROI % · ROAS ratio · CPA · CPL · CAC · CTR · CVR
- Flags campaigns below industry benchmark by channel/vertical
Best practices
- Triangulate with ≥3 attribution models.
- Match time-decay half-life to your average sales-cycle length.
- Segment funnels (channel, cohort, geo) to find drivers.
- Benchmark against your own history first; industry benchmarks are context.
- Run ROI weekly for active campaigns, monthly for strategic review.
- Include creative/tooling/labor cost in ROI, not just media spend.
Limits
Descriptive only — no statistical significance testing. Single-currency. Offline static snapshots (no real-time/API). Attribution operates on supplied journeys as-is (no cross-device identity resolution).
1---2name: campaign-analytics3description: Use when analyzing marketing campaigns, ad performance, attribution, conversion funnels, or computing ROI/ROAS/CPA/CAC — runs multi-touch attribution, funnel drop-off, and ROI math.4tags: [campaign-analytics, attribution, roas, roi, cpa, cac, funnel, marketing-metrics, conversion-rate, ad-performance]5source: alirezarezvani/claude-skills6derived_from: marketing-skill/skills/campaign-analytics7metadata:8 source: https://skillmd.com/skills/aashutosh396/campaign-analytics9---1011Deterministic campaign performance analysis: multi-touch attribution, funnel conversion, ROI. Three analysis modules, no ML, no API calls — feed JSON snapshots in, get repeatable metrics out.1213## Typical workflow (run in sequence)141. **Attribution** — understand which channels drive conversions.152. **Funnel** — find where prospects drop off on the path to conversion.163. **ROI** — calculate profitability and benchmark, then reallocate budget.1718## 1. Attribution models19Allocate conversion credit across channels. Compare ≥3 models — no single model tells the full story.2021| Model | Credit rule | Best for |22|---|---|---|23| First-Touch | 100% to first interaction | Brand awareness |24| Last-Touch | 100% to last interaction | Direct response |25| Linear | Equal across all touchpoints | Balanced multi-channel |26| Time-Decay | More credit to recent touchpoints (configurable half-life ≈ sales cycle) | Short sales cycles |27| Position-Based | 40/20/40 first/middle/last | Full-funnel |2829Input shape: `journeys[]` each with `touchpoints[]` (channel, timestamp, interaction), `converted`, `revenue`.3031## 2. Funnel analysis32Input: `funnel.stages[]` + `funnel.counts[]` (equal length). Computes:33- Stage-to-stage conversion rate and drop-off %34- Biggest bottleneck (largest absolute and relative drop) — focus here first35- Overall funnel conversion rate36- Segment comparison when multiple segments supplied3738## 3. ROI metrics + benchmarking39Input: `campaigns[]` (name, channel, spend, revenue, impressions, clicks, leads, customers). Outputs:40- **ROI** % · **ROAS** ratio · **CPA** · **CPL** · **CAC** · **CTR** · **CVR**41- Flags campaigns below industry benchmark by channel/vertical4243## Best practices441. Triangulate with ≥3 attribution models.452. Match time-decay half-life to your average sales-cycle length.463. Segment funnels (channel, cohort, geo) to find drivers.474. Benchmark against your own history first; industry benchmarks are context.485. Run ROI weekly for active campaigns, monthly for strategic review.496. Include creative/tooling/labor cost in ROI, not just media spend.5051## Limits52Descriptive only — no statistical significance testing. Single-currency. Offline static snapshots (no real-time/API). Attribution operates on supplied journeys as-is (no cross-device identity resolution).