Copydesk

Attribution Reconciler skill for Claude

Checks the sales your ad platforms claim against real orders and counts each one once

A 4-minute lesson on reporting & attribution, updated on

SKILL.md
157 lines, 2 files in the folder
Works in
claude.ai, Claude Code

These 7 slides give the short version of the lesson

Watch it work

This is one real run on a sample job, replayed as it happened

Read the run as text

Closing October for Birchmere Candle Co. Shopify orders, Meta and Google Ads exports attached. Meta: 7-day click, USD. Google: 30-day click, CAD. Use 1.39 CAD per USD. Find the double counting

  • shopify-orders-oct.csv64 rows
  • meta-conversions-oct.csv29 rows
  • google-ads-conversions-oct.csv29 rows
ClaudeAttribution Reconciler skill
Reading 64 Shopify orders and 58 claimed conversions from Meta and Google Ads

Truth set: 64 order IDs, CAD 5,618.50. Common basis: 7-day click, CAD at 1.39 per USD. Re-scoping Google from 30 days drops 6 claims whose click came 10 to 19 days before the order.

Every claim labeled against order IDs
LabelMetaGoogle AdsTotal
Matched161127
Double-counted101020
Out of window066
Unmatched325
Orders each platform claimed against real orders
  • Meta reported29
  • Meta real orders26CAD 2,282.00
  • Google reported29
  • Google real orders21CAD 1,619.00
  • Unique paid orders37CAD 3,196.00

Double-count rate 1.27: 47 in-window claims for 37 real orders. 10 orders were claimed by both platforms; each now counts once. All 10 fall between October 1 and 8.

The same orders under two models
ChannelLast-clickLinear
Meta1518.5
Google Ads1515.5
Email, direct, organic73
Open gaps1 passed2 need a look1 failed
  • needs a look: 3 September orders reported on October 1
  • failed: Meta claim #3172 at 0.00 and a Google 1.00 conversion with no order ID
  • needs a look: 4 late-October paid orders no platform claimed yet
  • passed: Incrementality N/A, no holdout this month

October workbook

  • Count 37 paid orders worth CAD 3,196.00 rather than the 58 the platforms claim
  • 26 of Meta's 29 claims and 21 of Google's 29 are real orders, 10 shared
  • Check what changed around October 9, when stacked credit stopped
  • Hand these counts to the ROAS step, which works out the ratios

A worked example

Reconcile a candle shop's October ad conversions

The request

Closing October for Birchmere Candle Co. Shopify orders, Meta and Google Ads exports attached. Meta: 7-day click, USD. Google: 30-day click, CAD. Use 1.39 CAD per USD. Find the double counting

  • shopify-orders-oct.csv64 rows
  • meta-conversions-oct.csv29 rows
  • google-ads-conversions-oct.csv29 rows

Every claim labeled against order IDs

LabelMetaGoogle AdsTotal
Matched161127
Double-counted101020
Out of window066
Unmatched325

Sections of the full answer

  1. Truth set and period
  2. Windows and currency made the same
  3. Every claimed conversion matched
  4. De-duplicated real orders
  5. The same orders under two models
  6. Incrementality
  7. Counts for the ROI step
  8. Open gaps
  9. Summary

What came back

October workbook

  • Count 37 paid orders worth CAD 3,196.00 rather than the 58 the platforms claim
  • 26 of Meta's 29 claims and 21 of Google's 29 are real orders, 10 shared
  • Check what changed around October 9, when stacked credit stopped
  • Hand these counts to the ROAS step, which works out the ratios

How it works

Why real orders are the truth

The skill's single rule is that the truth set is the order IDs from GA4 or your ecommerce platform and never any platform's reported conversion count. If that export is missing, it names the missing file and stops with status needs input. It reconciles paid channels only.

Putting every platform on the same terms

Platforms report on their own windows, for example Meta on 7-day click and Google on 30 days. The skill picks a common window aligned to the order timestamps, re-scopes each platform's claims to it and converts every value to one currency at a rate it states. Unnormalized counts are not compared.

How each claim is labeled

Each platform conversion is joined on order ID, or on timestamp plus value when no ID is given. Matched means one real order, double counted means two or more platforms claimed the same order ID, and unmatched means no order exists for the claim. When a platform only gives daily counts, the skill reconciles per day and per platform and labels those rows day-level.

How much is counted twice

The double-count rate is claimed conversions divided by real orders. The model comparison spreads the same de-duplicated orders across at least two models, such as last-click and linear or position-based, to show how credit shifts. It is a view of credit rather than a new conversion count.

Incrementality only from a holdout

With a geo or holdout test export, the skill computes the lift of the test region over the control region and compares it with what last-click claimed. Without one, incrementality is N/A and no lift is inferred from attribution alone. The workbook ends with a handoff note that says done, needs input or partial.

Rules it follows

Each rule comes from the skill's own instructions, with a line from the sample run where it shows the rule at work

  1. 1

    The truth is the list of order IDs from GA4 or your shop, and never a platform's own conversion count

    Each platform counts its own credit, so only your orders show what was really sold

    In the sample run

    Truth set and period

    Neither platform's own count is used as truth

  2. 2

    Windows and currency are made the same first, because counts on different terms cannot be compared

    A 30-day window catches claims a 7-day window would drop, so raw totals are not like for like

  3. 3

    Matched, double-counted and unmatched orders stay in separate columns

    Merging them would hide how many claims have no order behind them

  4. 4

    Without a holdout test, lift is marked unknown and never guessed from attribution

    Attribution shows who got credit, and only a test against a control shows what the ads added

  5. 5

    ROAS, CPA, ROI and EMV are left to a separate step

    The workbook's job is clean counts, and it states which counts to feed into the ratio step

What you give it and what you get

You give it

  • Order export from GA4 or your shop with order IDs, timestamps, value and currency
  • A conversion export from each ad platform
  • Each platform's attribution window and currency, plus the exchange rate to use
  • Test and control region orders and spend, if you ran a geo holdout

You get back

  • A match table with every claimed conversion marked matched, double counted or unmatched
  • De-duplicated real orders per platform and the double-count rate
  • All platforms on one window and one currency at a stated rate
  • Last-click next to a second attribution model for the same orders
  • A lift read from your geo holdout test, or N/A when there is none

Tasks it fits

  • Meta and Google together report more sales than your shop received
  • You close the month and need one agreed count of paid orders
  • A geo holdout test has ended and you want to compare it with last-click

Prompts to start with

Here is our October Shopify order export plus the Meta and Google Ads conversion reports. Meta uses 7-day click, Google 30 days. How many orders did each one really drive?

Build this month's attribution workbook in EUR. TikTok reports in USD, use 0.92. Show how many of each platform's conversions match a real order

We paused Meta in four states for three weeks. Here are orders by state and spend. Read the lift and compare it with what last-click gave Meta

Adding it to Claude

Open the zip and read every file before you add it

claude.ai

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

Claude Code

unzip attribution-reconciler.zip -d ~/.claude/skills/

Or move the attribution-reconciler folder from the zip into .claude/skills/ inside one project

Anthropic's help pages Use skills in Claude and Skills in Claude Code explain the steps in more detail

  • attribution-reconciler/
  • CHANGES.md4 KB
  • SKILL.md18 KB

Questions

What if I don't have an order export?

Attribution Reconciler stops and asks for the order file, because it never takes a platform count as the truth

Does it calculate ROAS?

No, it produces clean order counts per platform, and the ROAS and CPA math happens in a separate step