AGENT SKILL

audit-marketing-attribution-model

Use when channel or campaign performance is reported. Checks the attribution model, tracking loss, and windows before crediting or defunding a channel.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 81
Forks
17

01 前言 Front Matter

name
audit-marketing-attribution-model
description
Use when channel or campaign performance is reported. Checks the attribution model, tracking loss, and windows before crediting or defunding a channel.

02 资源文件 3

03 SKILL.md 正文

Audit a Marketing Attribution Model

Every attribution model is a set of arbitrary rules that redistribute the same conversions. Before cutting spend on a "bad" channel, know what the model chose to ignore.

Procedure

  1. Identify the model: last-touch, first-touch, linear, position-based, or data-driven. Each gives one channel credit the others lose.
  2. Re-run the same conversions under a second model and diff the per-channel results. Large diffs are definition, not performance:
    import pandas as pd
    d = pd.read_csv('touchpoints.csv').sort_values('ts')
    last  = d.groupby('conv_id').tail(1).groupby('channel').size()
    first = d.groupby('conv_id').head(1).groupby('channel').size()
    print(pd.concat([last.rename('last'), first.rename('first')], axis=1).fillna(0))
    
  3. Quantify tracking loss: cookie and ID decay, iOS ATT opt-out, ad-blockers, cross-device gaps. Missing upper-funnel touchpoints make direct or none swell and paid look heroic.
  4. Check the lookback window: a 30-day click window versus view-through credits different channels; state which is set and whether it matches the sales cycle.
  5. Separate new-customer from returning-customer conversions — brand-search wins are often existing demand, not incremental.
  6. Where possible, triangulate with an incrementality test (geo holdout or public service announcement) rather than trusting the model.
  7. Report the credit and the unattributed share together; a big direct bucket is a measurement gap.

Pitfalls

  • Last-touch overcredits bottom-funnel (brand, retargeting) and undercredits the prospecting that started the journey.
  • "Direct / none" balloons when app or cross-device tracking breaks; it is a hole, not a channel.
  • Post-ATT iOS loss depresses paid-social's attributed share without any change in real performance.
  • Changing the lookback window mid-quarter rewrites history and makes a real spend change look like a result.
  • Attribution is not incrementality; the model can credit a conversion that would have happened anyway.

Verification

python3 -c "import pandas as pd; d=pd.read_csv('touchpoints.csv'); print(d.groupby('channel').size()/len(d))"
# then diff last-touch vs first-touch shares; a ranking flip makes the model the finding

Report: "Last-touch ranks paid-social #1; first-touch ranks organic-search #1 — ranking flips, so channel 'performance' is a model artefact. 38% of conversions unattributed; recommend a geo incrementality test before any budget cut."

04 同仓库更多 Skills

jiayaoqijia
jiayaoqijia/cryptoskill

troves

Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

trade

Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say "swap".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

staking

Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say "stake" explicitly.

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

send

Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

portfolio

View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

multi-swap

Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.

★ 81