New guide:Claude skills vs prompt templates for marketing work
Chartroom Search

Home/Analytics and reporting/Attribution Model Comparison

Attribution Model Comparison skill for Claude

Attribution Model Comparison credits your revenue to each channel under several attribution models at once, then shows which channels gain or lose credit between them and where budget could move

A 3-minute read with a 7-step sample run and a 9 KB download, updated

Download the skill

Works in claude.ai and Claude Code

How it works

Step 1 of 6

Step 1 of 6

You choose what to compare

You pick at least two models, the conversion events, a date range and a lookback window, and anything you skip gets a default for your business model that Claude names

Step 2 of 6

Joins paths with channel spend

It joins your conversion data by channel, ideally full paths, with spend per channel for the same dates and merges touchpoints recorded twice by different sources

Step 3 of 6

Every model on the same paths

First-touch, last-touch, linear, time-decay, position-based and data-driven each split the same conversions their own way, and a conversion credited 40% counts as 0.4

Step 4 of 6

How credit shifts between models

A channel that earns far more under first-touch than last-touch is tagged an awareness driver, the reverse is a closer, and steady credit means full-funnel

Step 5 of 6

Assists against closes per channel

For each channel it divides the conversions it assisted by the ones it closed, a ratio that does not depend on any model

Step 6 of 6

Budget moves checked against every model

You get revenue, conversions, cost per conversion and ROAS for each channel under each model, plus increases, efficiency reviews and test cuts, saved with a date for next time

In detail

Ways to split one sale

First-touch gives 100% of the value to the first interaction and last-touch gives 100% to the final one. Linear gives each of n touchpoints 1/n. Time-decay halves credit for every half-life back from the conversion (7 days by default) and then normalizes to 100%, position-based gives 40% to the first touch, 40% to the last and splits 20% across the middle, and data-driven credits channels by their incremental contribution in sequences that convert more often.

What GA4 totals can and cannot show

If you only have channel totals, first-touch and last-touch can still be read from GA4 first-user and session channel reports. Linear, time-decay, position-based and data-driven need user-level paths, so without a path export Claude marks them as estimates or leaves them out. The methodology notes label every source as Measured, User-provided or Estimated and state how many conversions had full path data.

The matrix and the gap

For every channel and model Claude computes attributed revenue, fractional conversions, cost per attributed conversion (spend divided by conversions) and attributed ROAS (revenue divided by spend). It measures each channel's shift as the percentage change in revenue from first-touch to last-touch. Channels are also ranked by the gap between their last-touch revenue and their linear or position-based revenue, which shows where default reporting misstates them.

AI assistants as their own channel

GA4 groups sessions referred by ChatGPT, Gemini, Claude and other recognized assistants into an AI Assistant channel, and the skill keeps it as a separate row. People often find a brand through an assistant and buy later through branded search or a direct visit, so this channel can look very different under first-touch and last-touch. The skill does not judge it on last-touch alone.

Path length and time to convert

The report breaks conversions down by touchpoints per path (1, 2-3, 4-6 and 7+) and by days from first touch to conversion (within 1 day, 1-7, 7-14, 14-30 and 30+), with revenue for each segment. Average and median are given for both.

Rules it follows

Limits written into the skill, with the reason for each

  • Compare at least two attribution models

    A single model hides the bias that the comparison is meant to reveal

  • Assisted-to-last-touch ratio above 2.0 means awareness initiator, 1.0-2.0 consideration nurturer, 0.5-1.0 balanced contributor, below 0.5 conversion closer

    The ratio gives each channel a role that holds whichever model you trust

  • Use a lookback window of 7, 14, 30 or 90 days matched to the sales cycle, and drop touchpoints outside it

    An impulse buy and an enterprise B2B deal need very different lookbacks

  • Without user-level paths, only first-touch and last-touch count as real; the other four are estimates or skipped

    Channel totals cannot show which touchpoints sat in the middle of a journey

  • Channels with inflated last-touch credit get an efficiency review before any cut

    They may still be closing sales that other channels started

What it needs and what you get

What you provide

  • Conversions and revenue by channel for a date range
  • Full conversion paths, such as a GA4 attribution paths export, a BigQuery export or CRM touchpoints
  • Spend per channel or campaign for the same dates
  • Models, conversion events and lookback window, or the defaults

What you get back

A structured attribution analysis with a channel-by-model table, channel roles and shifts, assisted conversion ratios, path length and time-to-conversion breakdowns, budget recommendations with projected impact, and methodology notes on data coverage

  • A channel by model table with revenue, conversions, cost per conversion and ROAS
  • Each channel tagged as awareness driver, closer or full-funnel, with a confidence level
  • Assisted-to-last-touch ratio per channel
  • Path length and time-to-conversion breakdowns with revenue per segment
  • Budget increases, efficiency reviews and test cuts, each with a projected effect

A piece of the output from the sample run

Attributed revenue by model

ChannelFirst-touchLast-touch
Direct$11,630$51,740
Paid Social$31,230$1,710
Organic Search$16,850$9,490

Do not cut Meta

  • Last-touch overstates Direct by $24,081 versus linear
  • Meta loses 94.5% of its credit from first to last touch

When to use it

  • Last-click reports say paid social barely converts and you doubt it
  • You are setting next quarter's channel budgets and want more than one view
  • ChatGPT and Gemini show up in GA4 and you want to know what they are worth

Sample run

One test task, shown exactly as it ran

Read the run as text

GA4 says Meta barely drives sales and I'm about to cut it. Here are October paths, spend and Shopify totals (1,912 orders). Compare five attribution models on purchases and say where budget should go

  • ga4-conversion-paths-oct-2026.csv40 rows
  • channel-spend-oct-2026.csv3 rows

Using the skill attribution-report

Running 5 models on 40 paths: 1,838 purchases, $88,870

Paths cover 96.1% of Shopify orders. Data-driven is skipped: the export has no non-converting paths, so its numbers would be invented. Window 30 days, time-decay half-life 7 days.

Attributed revenue by model
ChannelFirst-touchLast-touchPosition-based
Direct$11,630$51,740$29,719
Paid Social$31,230$1,710$15,746
Organic Search$16,850$9,490$13,922
Paid Search$11,010$16,520$13,596
Email$7,300$9,410$10,973
AI Assistant$8,330$0$3,773
Meta ROAS on $11,200 spend, by model
  • First-touch2.79$17.95 per purchase
  • Position-based1.41$35.32 per purchase
  • Linear1.34Google Ads ROAS 1.41
  • Time-decay0.9estimated
  • Last-touch0.15$294.74 per purchase
Assisted-to-last-touch ratio
ChannelAssistedLastRole
Paid Social6523817.16, awareness
AI Assistant1620awareness only
Organic Search3572081.72, nurturer
Paid Search1873320.56, balanced
Direct561,0540.05, closer
Budget moves2 passed, 2 need a look, 1 failed
  • passed: Meta prospecting +15% ($1,680/mo): about +34 purchases, +$1,660
  • passed: Keep Email: 12.19x to 15.65x ROAS on $900
  • needs a look: Google Ads: split brand from non-brand before any cut
  • needs a look: Test brand search -10% for 4 weeks, risk up to $1,360/mo
  • failed: Cut Meta based on last-click

Do not cut Meta

  • Last-touch overstates Direct by $24,081 versus linear
  • Meta loses 94.5% of its credit from first to last touch
  • AI assistants start 154 purchases ($8,330) and close none
  • Saved attribution-2026-10.json for next month's comparison

Example prompts

Here are our GA4 conversion paths and ad spend for Q3. Compare last-touch, linear and position-based and tell me which channels are undervalued

We sell B2B software with a 60-day cycle. Run attribution on demo requests with a 90-day window and suggest how to split $40k a month

How much credit does the AI Assistant channel get under first-touch versus last-touch for our purchases this year?

How to install

In claude.ai

Download attribution-model-comparison.zip, upload the zip as it is under Settings, Capabilities, Skills and ask for the job in a new chat

Step by step: Use skills in Claude

In Claude Code

unzip attribution-model-comparison.zip -d ~/.claude/skills/

For one project only, move the attribution-report folder into .claude/skills/ inside it

Step by step: Claude Code skills docs

attribution-model-comparison.zipA 9 KB download with 3 files
  • attribution-report/
  • CHANGES.md4 KB
  • SKILL.md16 KB

Questions

Can it run every model from GA4 channel totals alone?

Only first-touch and last-touch, because linear, time-decay, position-based and data-driven need user-level paths, so without a path export those results are marked as estimates or left out

Will it tell me to cut the channels that look expensive?

No, channels that look strong only under last-touch get an efficiency review first, because they may still be closing sales that other channels started