Agent skill

Attribution Report

by indranilbanerjee in indranilbanerjee/digital-marketing-pro

Run attribution on real conversion paths, comparing models. An agent skill from indranilbanerjee/digital-marketing-pro.

MITAuto-check passedMarketing & SEO

Install Attribution Report

skills CLI
$ npx skills add indranilbanerjee/digital-marketing-pro --skill attribution-report -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install indranilbanerjee/digital-marketing-pro attribution-report --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/indranilbanerjee/digital-marketing-pro.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/attribution-report .claude/skills/attribution-report && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
attribution-report
GitHub stars
862
Used in
1 other repo
Token cost
~3.1k tokens
SKILL.md length
1,527 words
Files
1
Skills in repo
162
Repo updated
First seen
Licence
MIT

At a glance

Run attribution on real conversion paths, comparing models. An agent skill from indranilbanerjee/digital-marketing-pro.

  • Works in 8 steps: Load brand context: Read… → Gather conversion path data from… → Apply each selected attribution model to… → …
  • Marketing & SEO work in your project
  • SKILL.md covers GA4 AI Assistant channel…, Purpose, Input Required and Process, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Attribution Report is an agent skill from indranilbanerjee/digital-marketing-pro. Run attribution on real conversion paths, comparing models. "which channels actually drive revenue"

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Marketing & SEO. It works with Google Analytics. The repository describes itself as: An open-source AI marketing operating system for strategy, SEO, AEO/GEO, paid media, content, CRM, and analytics - grounded in brand context, human approval, and verifiable… The licence is MIT.

When your agent uses it

  • Marketing & SEO work in your project

Example prompts

  • “which channels actually drive revenue”
  • “/attribution-report”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Load brand context: Read ~/.claude-marketing/brands/_active-brand.json for the active slug, then load…
  2. Gather conversion path data from analytics MCPs: Pull multi-touch journey data from connected sources — Google Analytics MCP for…
  3. Apply each selected attribution model to the data: Run every requested model against the unified conversion path dataset. (The model…
  4. Calculate per-channel revenue attribution under each model: For every channel and every model, compute: total attributed revenue (sum of…
  5. Compare models and identify attribution shifts: Calculate how each channel's credit changes across models. Channels that receive…
  6. Generate budget reallocation recommendations: Based on the model comparison, identify undervalued channels — those receiving minimal…
  7. Calculate assisted conversions ratio: For each channel, compute the assisted-to-last-touch ratio — the number of conversions where the…
  8. Save attribution data for trend tracking: Store the attribution analysis results — model outputs, channel scores, assisted conversion…

What it can do on your machine

Read from SKILL.md and the folder at commit 9e949f3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • support.google.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Attribution Report loads about 3.1k tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 1,527 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from indranilbanerjee/digital-marketing-pro at commit 9e949f3, republished under its MIT licence (© indranilbanerjee). 1,527 words, ~3,078 tokens.

Download SKILL.mdSave it as .claude/skills/attribution-report/SKILL.md (or your agent's skills folder).
name
attribution-report
description
Run attribution on real conversion paths, comparing models. "which channels actually drive revenue"

/digital-marketing-pro:attribution-report

GA4 AI Assistant channel (added 13 May 2026)

When generating attribution reports against a GA4 property, the AI Assistant default channel group is now a first-class channel. GA4 automatically categorizes sessions referred by ChatGPT, Gemini, Claude, and other recognized AI assistants under this channel (and sets Medium=ai-assistant). For any brand running an AEO program, include the AI Assistant channel in the channel set and compare its contribution across all attribution models (first-touch, last-touch, linear, time-decay, position-based, data-driven).

The model-comparison view is especially informative here: AI Assistant traffic often shows wildly different credit under first-touch vs last-touch because users frequently discover a brand via an AI assistant but convert via a later branded search or direct visit. Don't conclude "AI search doesn't drive revenue" from a last-touch number alone.

Source: GA4 default channel groups. For the upstream impression-side data, pair with /digital-marketing-pro:gsc-ai-performance (GSC AI Performance Report rolled out 3 June 2026, deliberately no click data — so GA4 is your click attribution surface).

Purpose

Generate multi-touch attribution analysis showing how different marketing channels and campaigns contribute to conversions. Compare multiple attribution models side-by-side, allocate revenue across touchpoints, and provide actionable budget reallocation recommendations based on true channel contribution. This command moves beyond simplistic last-click attribution to reveal the full customer journey — identifying which channels drive awareness, which nurture consideration, and which close conversions — so marketing budgets can be allocated based on actual contribution rather than positional bias.

Input Required

The user must provide (or will be prompted for):

  • Attribution models to compare: Two or more models to run side-by-side — first-touch (100% credit to the first interaction that initiated the journey), last-touch (100% credit to the final interaction before conversion), linear (equal credit distributed across all touchpoints), time-decay (exponentially more credit to touchpoints closer to conversion, with configurable half-life — default 7 days), position-based (40% to first touch, 40% to last touch, 20% distributed across middle interactions), or data-driven (algorithmic allocation based on conversion path patterns and counterfactual analysis). At least two models should be compared to reveal attribution bias
  • Conversion events to attribute: The conversion actions to analyze — purchases (completed transactions with revenue), signups (account or trial creation), leads (form submissions, demo requests, contact inquiries), or custom events (user-defined conversion points with optional revenue values). Multiple conversion events can be analyzed simultaneously with separate attribution for each
  • Time period: The analysis window — specific date range, relative period (last 30 days, last quarter), or year-over-year comparison. Longer periods provide more conversion paths for reliable model comparison but may include seasonal distortions
  • Conversion window: The lookback window for attributing touchpoints to a conversion — 7 days (short-cycle purchases, impulse buys), 14 days (standard eCommerce), 30 days (B2B lead gen, considered purchases), or 90 days (enterprise B2B, high-value purchases with long sales cycles). Touchpoints outside the conversion window are excluded from attribution
  • Channels to include: Which marketing channels to attribute across — paid search, paid social, organic search, direct, email, referral, display, video, affiliate, or specific campaign groups. All channels are included by default unless the user restricts scope

Process

  1. Load brand context: Read ~/.claude-marketing/brands/_active-brand.json for the active slug, then load ~/.claude-marketing/brands/{slug}/profile.json. Apply business model context (SaaS, eCommerce, B2B) to set appropriate default conversion window and model recommendations. Check for guidelines at ~/.claude-marketing/brands/{slug}/guidelines/_manifest.json. If no brand exists, ask: "Set up a brand first (/digital-marketing-pro:brand-setup)?" — or proceed with defaults.
  2. Gather conversion path data from analytics MCPs: Pull multi-touch journey data from connected sources — Google Analytics MCP for conversion paths, multi-channel funnel reports, and assisted conversion data; Google Ads MCP for search attribution reports and cross-network attribution; Meta MCP for view-through and click-through attribution data; CRM MCP for deal stage progression with marketing touchpoint timestamps. Merge touchpoints into unified customer journeys, deduplicating cross-platform overlap where the same interaction is recorded by multiple sources.
  3. Apply each selected attribution model to the data: Run every requested model against the unified conversion path dataset. (The model taxonomy — definitions, best-fit, limitations, and the selection decision tree — is single-sourced in skills/funnel-architect/attribution-models.md; the per-model math below is this report's execution of those definitions, not a second catalogue.) First-touch: assign 100% of conversion value to the first recorded touchpoint in each journey. Last-touch: assign 100% to the final touchpoint before conversion. Linear: divide conversion value equally among all touchpoints (n touchpoints each receive 1/n credit). Time-decay: apply exponential decay from conversion backward with the configured half-life — a touchpoint at one half-life distance receives 50% of the credit of the converting touchpoint, two half-lives receives 25%, and so on, then normalize to 100%. Position-based: assign 40% to first, 40% to last, distribute remaining 20% equally across middle touchpoints. Data-driven: analyze conversion path patterns to identify which channel sequences have statistically higher conversion rates, then allocate credit proportional to each channel's incremental contribution.
  4. Calculate per-channel revenue attribution under each model: For every channel and every model, compute: total attributed revenue (sum of credited conversion values), number of attributed conversions (fractional — a conversion credited 40% counts as 0.4), cost per attributed conversion (channel spend divided by attributed conversions), and attributed ROAS (attributed revenue divided by channel spend). Present as a matrix with channels as rows and models as columns for direct comparison.
  5. Compare models and identify attribution shifts: Calculate how each channel's credit changes across models. Channels that receive significantly more credit under first-touch than last-touch are awareness drivers — they initiate journeys but don't close them. Channels that receive more credit under last-touch are conversion closers. Channels with consistent credit across models are reliable full-funnel performers. Quantify the shift as percentage change in attributed revenue from first-touch to last-touch for each channel.
  6. Generate budget reallocation recommendations: Based on the model comparison, identify undervalued channels — those receiving minimal last-touch credit but significant first-touch or linear credit, indicating they drive awareness and assist conversions but are penalized by default last-click reporting. Recommend budget increases for undervalued channels and provide projected impact estimates. Identify overvalued channels — those receiving inflated last-touch credit relative to their first-touch contribution — and recommend efficiency investigation rather than blind budget cuts, since they may still be essential closers.
  7. Calculate assisted conversions ratio: For each channel, compute the assisted-to-last-touch ratio — the number of conversions where the channel appeared in the path but was not the last touch, divided by the number where it was the last touch. Channels with ratios above 1.0 assist more than they close (awareness and consideration drivers). Channels below 1.0 close more than they assist (conversion closers). This ratio is a model-independent signal of channel role in the funnel.
  8. Save attribution data for trend tracking: Store the attribution analysis results — model outputs, channel scores, assisted conversion ratios, and budget recommendations — for longitudinal comparison. Track how channel contribution evolves over time as marketing mix changes, enabling detection of channel saturation, diminishing returns, or emerging high-value touchpoints.
Show full SKILL.md (399 more words)Show less

Output

A structured attribution analysis containing:

  • Attribution model comparison table: Channel-by-model matrix showing attributed revenue, attributed conversions, cost per attributed conversion, and attributed ROAS for each channel under each model — enabling direct visual comparison of how credit shifts across methodologies
  • Channel contribution shifts across models: Per-channel analysis showing how attributed revenue changes from first-touch to last-touch and across intermediate models — with percentage shift, directional indicator (awareness driver, conversion closer, full-funnel performer), and confidence level based on conversion path volume
  • Assisted conversions analysis: Assisted-to-last-touch ratio for each channel with interpretation — channels categorized as awareness initiators (ratio > 2.0), consideration nurturers (1.0-2.0), balanced contributors (0.5-1.0), or conversion closers (< 0.5), with conversion volume backing each classification
  • Budget reallocation recommendations: Specific, actionable budget shift suggestions — channels to increase investment in (with projected incremental conversions and revenue), channels to investigate for efficiency (with diminishing returns indicators), and channels to test reducing (with risk assessment and recommended reduction percentage)
  • Path length analysis: Distribution of touchpoints per conversion — average path length, median, and breakdown by conversion type showing what percentage of conversions involve 1, 2-3, 4-6, or 7+ touchpoints, with revenue per path length segment
  • Time-to-conversion analysis: Distribution of time from first touchpoint to conversion — average, median, and percentile breakdown showing what percentage of conversions happen within 1 day, 1-7 days, 7-14 days, 14-30 days, and 30+ days, with revenue per time segment
  • Under/overvalued channels identification: Ranked list of channels by attribution gap — the difference between last-touch attributed revenue and linear or position-based attributed revenue — highlighting channels where default reporting significantly misrepresents true contribution
  • Methodology notes and limitations: Transparent documentation of data sources used, conversion path coverage (what percentage of conversions had full path data vs. single-touch), cross-device limitations, view-through attribution inclusion, and any data gaps that may affect model accuracy

Agents Used

  • analytics-analyst — Conversion path data gathering from Google Analytics, Google Ads, and Meta MCPs, multi-touch attribution model execution across all selected methodologies, per-channel revenue attribution calculation with cost efficiency metrics, model comparison analysis identifying awareness drivers and conversion closers, assisted conversion ratio computation, path length and time-to-conversion distribution analysis, and data quality assessment with coverage and confidence reporting
  • marketing-strategist — Strategic interpretation of attribution shifts connecting model outputs to marketing strategy implications, budget reallocation recommendations with projected impact and risk assessment, channel role classification within the marketing funnel based on attribution patterns, and investment prioritization guidance balancing short-term conversion efficiency with long-term brand and awareness building

© indranilbanerjee, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/attribution-report of indranilbanerjee/digital-marketing-pro.

Open the folder on GitHubat commit 9e949f3

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in indranilbanerjee/digital-marketing-pro, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Attribution Report next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Attribution Report compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Attribution Report this skillindranilbanerjee/digital-marketing-pro8621 repos~3.1kAutomated safety check: PassMIT
Google SEO APIsAgriciDaniel/claude-seo19k1 repos~4.2kAutomated safety check: PassMIT
AnalyticsNexus-JPF/note-companion8707 repos~2.2kAutomated safety check: PassMIT
Blog GoogleAgriciDaniel/claude-blog2.3k1 repos~3.3kAutomated safety check: NotesMIT
AI VisibilityRyze-AI-Adgent/open-seo-mcp-skills4.7k—~611Automated safety check: PassMIT
Google Analyticsthatrebeccarae/claude-marketing1613 repos~1.3kAutomated safety check: NotesMIT

Similar skills

  • Google SEO APIs

    AgriciDaniel/claude-seo

    Pulls real Google data for SEO work: Search Console, PageSpeed Insights, CrUX field data, the Indexing API and GA4 organic traffic, through /seo google commands.

    19k GitHub starsUsed in 1 repo~4.2k tokens
    Marketing & SEOAuto-check passed
  • Analytics

    Nexus-JPF/note-companion

    When the user wants to set up, improve, or audit analytics tracking and measurement.

    870 GitHub starsUsed in 7 repos~2.2k tokens
    Marketing & SEOAuto-check passed
  • Blog Google

    AgriciDaniel/claude-blog

    Google API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity…

    2.3k GitHub starsUsed in 1 repo~3.3k tokens
    Marketing & SEOAuto-check: notes
  • AI Visibility

    Ryze-AI-Adgent/open-seo-mcp-skills

    Measure real AI-engine visibility — traffic from ChatGPT, Perplexity, Claude, Gemini and which pages they cite — from actual GA4 referral data, not prompt sampling.

    4.7k GitHub stars~611 tokensUpdated 16 days ago
    Marketing & SEOAuto-check passed
  • Google Analytics

    thatrebeccarae/claude-marketing

    Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements.

    161 GitHub starsUsed in 3 repos~1.3k tokens
    Marketing & SEOAuto-check: notes
  • Soku CLI

    About-Intelligence/soku-cli

    Guides an agent through the soku command line tool for ads, GA4 and PostHog data reads, ads writes, SEO hosting, automations, files and skill management.

    305 GitHub stars~2.4k tokensUpdated today
    Marketing & SEOAuto-check passed

More from indranilbanerjee/digital-marketing-pro

All 162 skills in this repo
  • Import Template

    indranilbanerjee/digital-marketing-pro

    Import a deliverable template as a reusable placeholder template per brand.

    862 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed
  • Ab Test Plan

    indranilbanerjee/digital-marketing-pro

    Plan an A/B test by script: sample size per variant, days to run, stopping rules.

    862 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Aeo Audit

    indranilbanerjee/digital-marketing-pro

    Run a one-time AEO audit of six AI answer engines, scored per surface.

    862 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Agent Readiness Audit

    indranilbanerjee/digital-marketing-pro

    Audit agent readiness by script: AI-crawler rules, product schema, no-JS HTML, feeds.

    862 GitHub starsUsed in 1 repo~3.7k tokens
    Auto-check passed
  • Backlink Gap

    indranilbanerjee/digital-marketing-pro

    Find backlink gap domains linking to competitors, not you, scored by script.

    862 GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • C2pa Metadata

    indranilbanerjee/digital-marketing-pro

    Embed C2PA provenance in AI-generated images, video or PDF by script.

    862 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed

Categories

Questions about Attribution Report

What does Attribution Report do?

Run attribution on real conversion paths, comparing models. An agent skill from indranilbanerjee/digital-marketing-pro. Attribution Report is an agent skill from indranilbanerjee/digital-marketing-pro. Run attribution on real conversion paths, comparing models.

When should I use Attribution Report?

Attribution Report fits situations like: marketing & SEO work in your project.

How do I install Attribution Report in Claude Code?

Run `npx skills add indranilbanerjee/digital-marketing-pro --skill attribution-report -a claude-code`. Or copy the skill folder (skills/attribution-report in indranilbanerjee/digital-marketing-pro) into .claude/skills/attribution-report in your project. Claude Code loads it when a task matches its description.

How do I install Attribution Report in Codex?

Run `npx skills add indranilbanerjee/digital-marketing-pro --skill attribution-report -a codex`. Or copy the skill folder (skills/attribution-report in indranilbanerjee/digital-marketing-pro) into .agents/skills/attribution-report in your project. Codex loads it when a task matches its description.

Can I use Attribution Report in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add indranilbanerjee/digital-marketing-pro --skill attribution-report -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/attribution-report, .gemini/skills/attribution-report, .github/skills/attribution-report and .opencode/skills/attribution-report in your project.

What does Attribution Report need to run?

SKILL.md names no scripts, command-line tools or credentials: Attribution Report is instructions for the agent only.

Does Attribution Report access the network?

SKILL.md names 1 domain. As links in the text: support.google.com. This is read from the text; nothing was executed.

Is Attribution Report safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Attribution Report use?

Attribution Report is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Attribution Report use?

About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Attribution Report?

Skills that share tags, products or a category with Attribution Report: Google SEO APIs (AgriciDaniel/claude-seo, 19k stars), Analytics (Nexus-JPF/note-companion, 870 stars), Blog Google (AgriciDaniel/claude-blog, 2.3k stars) and AI Visibility (Ryze-AI-Adgent/open-seo-mcp-skills, 4.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Attribution Report?

indranilbanerjee (a GitHub user) maintains it in indranilbanerjee/digital-marketing-pro, which has 862 GitHub stars. The repository holds 162 skills in this directory. The repository was last updated on October 9, 2026.

Source: indranilbanerjee/digital-marketing-pro on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.