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
| Channel | First-touch | Last-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
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.
| Channel | First-touch | Last-touch | Position-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 |
| $7,300 | $9,410 | $10,973 | |
| AI Assistant | $8,330 | $0 | $3,773 |
- 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
| Channel | Assisted | Last | Role |
|---|---|---|---|
| Paid Social | 652 | 38 | 17.16, awareness |
| AI Assistant | 162 | 0 | awareness only |
| Organic Search | 357 | 208 | 1.72, nurturer |
| Paid Search | 187 | 332 | 0.56, balanced |
| Direct | 56 | 1,054 | 0.05, closer |
- 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
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
- 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