Home
cd ../playbooks
Marketing & ContentIntermediate

Campaign Analytics Dashboard

Analyze marketing funnels, run attribution modeling, validate A/B tests, and optimize budget allocation across channels with data-driven precision.

10 minutes
By davila7/claude-code-templates
#campaigns#analytics#attribution#A/B-testing#funnel#conversion

You're spending $50K/month across 5 channels but can't confidently answer 'which one actually drives revenue?' Attribution is a black box, A/B tests get called too early, and budget decisions are based on gut feeling.

Who it's for: growth marketers managing multi-channel budgets, performance marketing leads, CMOs justifying ad spend, e-commerce marketing managers, demand gen teams optimizing pipeline

Example

"Analyze our Q1 campaign data across all channels" → Full funnel analysis from first touch to conversion, multi-touch attribution model, A/B test significance validation, CAC/LTV by channel, and specific budget reallocation recommendations

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add campaign-analytics-dashboard
# Campaign Analytics Dashboard

## Role
You are a marketing analytics strategist. You analyze campaign performance across the full funnel, run multi-touch attribution models, validate A/B tests with statistical rigor, calculate unit economics by channel, and recommend budget allocation changes backed by data. You think in terms of CAC, LTV, ROAS, and statistical significance — not vanity metrics.

## Workflow

### 1. Data Ingestion and Mapping
- Ingest campaign exports from ad platforms (Google Ads, Meta, LinkedIn, etc.)
- Ingest CRM data (leads, opportunities, closed deals with revenue)
- Ingest analytics data (GA4, Mixpanel, or equivalent)
- Map UTM parameters to campaign names across sources

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Transforms raw campaign data into strategic decisions. Analyzes your full marketing funnel from first touch to conversion, runs multi-touch attribution models, validates A/B test significance, calculates CAC and LTV by channel, and recommends where to shift budget for maximum return.


The Problem

Marketing teams run campaigns across email, paid search, social, and content — but analyzing them together is a nightmare. Attribution is a black box, A/B tests get called too early, budget allocation is based on gut feeling, and nobody can confidently answer "which channel actually drives revenue?" You need a data analyst, but you have a spreadsheet.


The Fix

A structured analytics workflow that ingests your campaign data, maps the full funnel (TOFU/MOFU/BOFU), runs proper attribution modeling, checks A/B test statistical significance before declaring winners, and calculates real unit economics by channel. You bring the data, Claude brings the analysis.


Quick Start

Step 1: Download the Template

Click Download above to get the CLAUDE.md file.

Step 2: Prepare Your Data

Export campaign performance data from your ad platforms, CRM, and analytics tools. CSV or spreadsheet format works best.

Step 3: Run Analysis

claude

Say: "Analyze my campaign performance and funnel conversion rates"


Example Commands

"Map my funnel conversion rates from ad click to purchase"
"Run multi-touch attribution across all channels"
"Is my A/B test statistically significant yet?"
"Where should I reallocate budget for the best ROI?"
"Calculate CAC and LTV by acquisition channel"
"Generate a weekly campaign performance report"
"Compare this month's funnel to last month"
"Which campaigns should I pause and which should I scale?"

Funnel Analysis

Stage What's Measured
TOFU Impressions, clicks, CTR, CPM, landing page visits
MOFU Leads, email signups, content downloads, demo requests
BOFU Trials, purchases, revenue, average order value
Retention Repeat purchases, churn rate, expansion revenue

Example Output

## Campaign Dashboard — Week of Jan 20

### Funnel Overview
| Stage | Volume | Conv Rate | Drop-off |
|-------|--------|-----------|----------|
| Impressions | 450,000 | — | — |
| Clicks | 13,500 | 3.0% | — |
| Leads | 1,215 | 9.0% | 91% |
| MQLs | 365 | 30.0% | 70% |
| Opportunities | 73 | 20.0% | 80% |
| Closed Won | 18 | 24.7% | 75% |

### Channel Attribution (Linear Model)
| Channel | Attributed Rev | CAC | ROAS |
|---------|---------------|-----|------|
| Paid Search | $42,000 | $85 | 4.2x |
| LinkedIn Ads | $28,000 | $140 | 2.8x |
| Email | $35,000 | $12 | 12.5x |
| Organic | $18,000 | $0* | — |

### A/B Test Status
| Test | Variant A | Variant B | Confidence | Verdict |
|------|-----------|-----------|------------|---------|
| Landing page headline | 3.2% conv | 4.1% conv | 94% | Not yet significant |
| Email subject line | 22% open | 28% open | 99% | B wins |

### Budget Recommendation
Move 20% of LinkedIn budget to Paid Search
(projected +$8K revenue at same spend)

Tips

  • Wait for significance: 95% confidence minimum before calling A/B test winners
  • Attribution is a model, not truth: Run multiple models (first-touch, last-touch, linear) and compare
  • CAC should include all costs: Ad spend + tools + team time allocated to that channel
  • LTV needs cohort analysis: Monthly cohorts reveal whether acquisition quality is improving
  • ROAS alone is misleading: A 10x ROAS on $100 spend matters less than 3x ROAS on $50K spend
  • Track leading indicators: MQL-to-SQL conversion rate predicts revenue weeks before it arrives

Troubleshooting

Attribution data is messy Start simple: "Use last-touch attribution first, then we'll layer in multi-touch"

A/B test sample size is too small Ask: "How many more conversions do I need for 95% confidence?" — Claude calculates the required sample

Can't connect revenue to campaigns Use UTM parameters: "Map these UTM-tagged URLs to revenue data from my CRM export"

Too many campaigns to analyze at once Focus: "Just analyze the top 5 campaigns by spend and the bottom 5 by ROAS"

Budget recommendations feel risky Ask for scenarios: "Model what happens if I shift 10%, 20%, and 30% from LinkedIn to Search"

$Related Playbooks

Marketing & Content

Co-Marketing

Identify ideal co-marketing partners and brainstorm high-impact joint campaigns.

10 minutes
Intermediate
Marketing & Content

Cold Email

Write B2B cold emails and follow-up sequences that get replies — without sounding like a sales machine.

5 minutes
Beginner
Marketing & Content

Community Marketing

Design, launch, and grow online communities that drive product growth and brand loyalty.

15 minutes
Intermediate
Marketing & Content

Churn Risk

Assess customer churn risk.

15 minutes
Intermediate
Marketing & Content

Competitive Ads Extractor

Analyze competitor advertisements from Facebook Ad Library and LinkedIn to identify successful messaging patterns and creative strategies.

10 minutes
Intermediate
Marketing & Content

Cold Email Personalizer

Generate hundreds of genuinely personalized cold emails by researching prospects while maintaining your authentic voice.

5 minutes
Beginner
Marketing & Content

Copy Editing

Improve existing marketing copy through focused editing passes — without rewriting from scratch.

5 minutes
Beginner
Marketing & Content

Copywriting

Write or rewrite marketing copy for any page — homepage, landing page, pricing, feature, or about.

10 minutes
Intermediate
Marketing & Content

Counter Narrative

Build counter-narrative playbooks.

15 minutes
Intermediate
Marketing & Content

Directory Submissions

Submit your product to startup, SaaS, AI, agent, MCP, no-code, and review directories for backlinks, domain rating, and AI citations.

10 minutes
Beginner
Marketing & Content

Digital Pr

Plan digital PR campaigns.

15 minutes
Intermediate
Marketing & Content

Customer Research

Conduct, analyze, and synthesize customer research from interviews, surveys, reviews, support tickets, and online communities.

10 minutes
Intermediate

Browse all Marketing & Content playbooks →