skills/codex/campaign-analytics/SKILL.md
<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT --> --- name: campaign-analytics description: Measure multi-touch attribution, calculate channel ROI, analyze marketing funnels, and integrate A/B test results into campaign performance. Use when evaluating campaign effectiveness, optimizing channel spend, building attribution models, or reporting on marketing performance. --- # Campaign Analytics Marketing campaign measurement framework — multi-touch attribution, channel ROI analysis, funn
npx skillsauth add frank-luongt/faos-skills-marketplace skills/codex/campaign-analyticsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Marketing campaign measurement framework — multi-touch attribution, channel ROI analysis, funnel diagnostics, and performance reporting. Turns campaign data into actionable spend allocation decisions.
analytics-tracking)ab-test-analysis)page-cro)marketing-psychology)| Model | How Credit is Assigned | Best For | Limitation | |-------|----------------------|----------|------------| | First-Touch | 100% to first interaction | Understanding awareness drivers | Ignores nurture and conversion touches | | Last-Touch | 100% to last interaction before conversion | Understanding closing channels | Ignores awareness and nurture | | Linear | Equal credit to all touchpoints | Simple, unbiased baseline | No signal on which touches matter most | | Time-Decay | More credit to recent touchpoints | Long sales cycles with clear momentum | Undervalues awareness investments | | Position-Based (U-Shaped) | 40% first, 40% last, 20% middle | Balanced view of full funnel | Still arbitrary weight assignment | | Data-Driven (Algorithmic) | ML-based credit assignment | Large datasets, sophisticated teams | Requires significant data volume; black box |
Sales cycle < 7 days → Last-Touch (sufficient for short cycles)
Sales cycle 7-30 days → Position-Based (captures full journey)
Sales cycle > 30 days → Time-Decay or Data-Driven (long nurture matters)
Limited data (<1000 conversions/month) → Linear (unbiased baseline)
Abundant data (>5000 conversions/month) → Data-Driven (if tooling supports)
| Channel | Spend ($) | Impressions | Clicks | CTR | Conversions | CPA ($) | Revenue ($) | ROAS | |---------|-----------|-------------|--------|-----|-------------|---------|-------------|------| | Paid Search | | | | % | | | | X.Xx | | Paid Social | | | | % | | | | X.Xx | | Display / Programmatic | | | | % | | | | X.Xx | | Email | | | | % | | | | X.Xx | | Organic Search | | N/A | | N/A | | | | N/A | | Content / SEO | | N/A | | N/A | | | | N/A | | Referral / Partner | | | | % | | | | X.Xx | | Events / Webinars | | N/A | N/A | N/A | | | | X.Xx | | Total | $ | | | | | $ | $ | X.Xx |
| Metric | Formula | Interpretation | |--------|---------|---------------| | ROAS | Revenue / Ad Spend | >3x = healthy for most B2B; >4x for e-commerce | | CPA | Total Spend / Conversions | Must be < Customer LTV for sustainability | | CAC | Total S&M Cost / New Customers | Include all costs (headcount, tools, agency fees) | | iROAS | Incremental Revenue / Incremental Spend | Measures true causal impact (not just correlation) | | Marginal ROI | Change in Revenue / Change in Spend | Use for budget reallocation — invest where marginal ROI is highest |
Attribution models show correlation, not causation. Use incrementality tests to measure true impact:
| Method | How It Works | When to Use | |--------|-------------|-------------| | Geo-lift test | Run campaign in test geos, hold back control geos | Measuring offline + online impact | | Holdout test | Randomly exclude % of audience from ads | Measuring online display/social lift | | PSA (Ghost Ads) | Show public service ad instead of brand ad to control | Measuring brand lift without full holdout | | Pre/Post with control | Compare before/after with a control group | Quick directional read (less rigorous) |
| Stage | Metric | Benchmark (B2B SaaS) | Benchmark (E-Commerce) | |-------|--------|---------------------|----------------------| | Awareness | Impressions, Reach, CPM | CPM: $5-15 | CPM: $2-8 | | Consideration | Clicks, CTR, CPC | CTR: 1-3%, CPC: $2-10 | CTR: 2-5%, CPC: $0.50-3 | | Conversion | Sign-ups, Purchases, CVR | CVR: 2-5% (trial), 1-3% (paid) | CVR: 1-4% | | Retention | Repeat rate, LTV | 30-day retention: 20-40% | Repeat purchase: 20-30% |
## Campaign Funnel — [Campaign Name] — [Period]
| Stage | Volume | Rate | Benchmark | Gap | Diagnosis |
|-------|--------|------|-----------|-----|-----------|
| Impressions | | — | — | — | |
| Clicks | | CTR: % | % | | |
| Landing Page Views | | LPV rate: % | 90%+ | | |
| Conversions | | CVR: % | % | | |
| Revenue | $ | AOV: $ | $ | | |
### Biggest Drop-off
- **Stage:** [X] → [Y]
- **Expected rate:** [X]%
- **Actual rate:** [Y]%
- **Hypothesis:** [Why the drop-off occurred]
- **Recommended action:** [Specific intervention]
When an A/B test completes, translate the result into campaign-level impact:
| Input | Source | Example | |-------|--------|---------| | Winning variant lift | A/B test analysis | +12% conversion rate | | Campaign conversion volume | Campaign data | 5,000 conversions / month | | Average conversion value | Revenue data | $50 per conversion |
Revenue Impact Calculation:
Incremental conversions = Current conversions x Lift %
= 5,000 x 0.12 = 600
Incremental revenue = 600 x $50 = $30,000 / month
Annualized impact = $30,000 x 12 = $360,000
| Confidence | Sample Size | Recommendation | |-----------|-------------|----------------| | >95% significance, >1000 conversions | Adequate | Scale to full traffic | | >90% significance, 500-1000 conversions | Borderline | Extend test 1 more week | | <90% significance | Insufficient | Do not scale — inconclusive |
When to use MMM vs. Attribution:
| Dimension | Attribution | MMM | |-----------|-------------|-----| | Granularity | User-level | Channel-level aggregate | | Scope | Digital touchpoints | All channels (including offline, TV, OOH) | | Causation | Correlation-based | Regression-based (closer to causal) | | Latency | Real-time | Quarterly refresh | | Best for | Tactical optimization | Strategic budget allocation |
MMM is valuable when:
# Campaign Performance Report — [Period]
## Executive Summary
- Total spend: $[X] across [Y] channels
- Total revenue attributed: $[X]
- Blended ROAS: [X]x
- Key insight: [1 sentence]
## Channel Performance
[Per-Channel Metrics Table from above]
## Top Performing Campaigns
| Campaign | Channel | Spend | Revenue | ROAS | Key Driver |
|----------|---------|-------|---------|------|------------|
| | | $ | $ | X.Xx | |
## Funnel Analysis
[Funnel diagnostic with biggest drop-off identified]
## Attribution Insights
- Model used: [model name]
- Top converting paths: [e.g., Paid Search → Email → Direct]
- Undervalued channels: [channels receiving less credit than expected]
## Budget Recommendation
| Channel | Current Spend | Recommended Spend | Change | Rationale |
|---------|--------------|-------------------|--------|-----------|
| | $ | $ | +/-% | |
## Next Period Plan
1. [Action] — Expected impact — Owner
2. [Action] — Expected impact — Owner
ab-test-analysis (experiment-level analysis), analytics-tracking (instrumentation), page-cro (landing page optimization), marketing-psychology (behavioral science for messaging)development
<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT --> --- name: databricks-mlflow-evaluation --- # MLflow 3 GenAI Evaluation ## Before Writing Any Code 1. **Read GOTCHAS.md** - 15+ common mistakes that cause failures 2. **Read CRITICAL-interfaces.md** - Exact API signatures and data schemas ## End-to-End Workflows Follow these workflows based on your goal. Each step indicates which reference files to read. ### Workflow 1: First-Time Evaluation Setup For users new to MLflow GenAI evalu
development
<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT --> --- name: databricks-lakebase-provisioned --- # Lakebase Provisioned Patterns and best practices for using Lakebase Provisioned (Databricks managed PostgreSQL) for OLTP workloads. ## When to Use Use this skill when: - Building applications that need a PostgreSQL database for transactional workloads - Adding persistent state to Databricks Apps - Implementing reverse ETL from Delta Lake to an operational database - Storing chat/agent m
tools
<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT --> --- name: databricks-jobs --- # Databricks Lakeflow Jobs ## Overview Databricks Jobs orchestrate data workflows with multi-task DAGs, flexible triggers, and comprehensive monitoring. Jobs support diverse task types and can be managed via Python SDK, CLI, or Asset Bundles. ## Reference Files | Use Case | Reference File | | ----------------------
development
<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT --> --- name: databricks-genie --- # Databricks Genie Create and query Databricks Genie Spaces - natural language interfaces for SQL-based data exploration. ## Overview Genie Spaces allow users to ask natural language questions about structured data in Unity Catalog. The system translates questions into SQL queries, executes them on a SQL warehouse, and presents results conversationally. ## When to Use This Skill Use this skill when: -