campaign-analytics

Analyze marketing campaigns with multi-touch attribution, funnel analysis, and ROI calculations.

1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/UnlimitedxIQ/consulting-pro-skills-pack --skill campaign-analytics-unlimitedxiq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: campaign-analytics
Source: https://github.com/UnlimitedxIQ/consulting-pro-skills-pack/tree/main/skills/campaign-analytics
Command: npx skills add https://github.com/UnlimitedxIQ/consulting-pro-skills-pack --skill campaign-analytics-unlimitedxiq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Campaign teams often struggle with accurately attributing conversions across multiple channels and measuring true ROI. This skill provides a unified, reproducible framework to quantify channel contributions and ROI, enabling smarter budget allocation.

Core Features & Use Cases

  • Multi-touch attribution across channels (first, last, linear, time-decay, and position-based)
  • Funnel analysis with segment comparison and KPI benchmarks
  • ROI/ROAS/CAC/CPA/CPL analysis with benchmarking and reporting
  • Reference scripts included: attribution_analyzer.py, funnel_analyzer.py, campaign_roi_calculator.py for deterministic analytics

Quick Start

Run the attribution_analyzer.py script on a campaigns JSON file to generate attribution, funnel, and ROI outputs.

Frequently Asked Questions about campaign-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate multi-touch attribution across multiple marketing channels?

Multi-touch attribution quantifies channel contributions by applying first, last, linear, time-decay, and position-based models to ordered touchpoint journeys. You supply campaign data with conversion status and revenue, then run the attribution_analyzer.py script to generate comparative attribution outputs.

What marketing data format do I need for funnel analysis and ROI calculations?

Funnel analysis and ROI calculations require campaign journey data containing ordered touchpoints, conversion status, and revenue. Once formatted as a campaigns JSON file, the scripts process this data to perform segment comparisons, benchmark KPIs, and calculate metrics like ROAS, CAC, CPA, and CPL.

Can I compare attribution models and benchmark ROAS without external Python packages?

Yes, you can compare attribution models and benchmark ROAS without external Python packages. The campaign analytics scripts rely exclusively on Python's standard library to calculate ROI, ROAS, CAC, CPA, and CPL, then benchmark results against KPIs across channels, devices, and segments.

What's the best way to analyze ad performance and optimize budget allocation across channels?

The best way to analyze ad performance and optimize budget allocation is by applying multi-touch attribution and ROI calculations to multi-channel campaign data. This reveals true channel contributions to revenue, enabling smarter, reproducible budget shifts across devices and segments.

Does multi-touch attribution work for segment comparison in multi-channel campaigns?

Yes, multi-touch attribution works for segment comparison in multi-channel campaigns. The framework analyzes ad performance across channels, devices, and segments, comparing attribution models and benchmarking funnel KPIs to reveal how specific audience segments contribute to overall revenue.