{"uid":"cap_KOtQJThGOgcdKcz24WNNI","slug":"multi-touch-marketing-attribution-00c94ac4","name":"Multi-Touch Marketing Attribution","description":"Multi-touch attribution over conversion paths, five models at once: first-touch, last-touch, linear, time-decay, and position-based. Returns per-channel credit for each model plus a comparison. Pure computation over your inputs.","url":"https://payai.agentstools.dev/marketing/attribution","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"paths":{"type":"array","items":{"type":"object"},"description":"Conversion journeys; each has a path array of channel touches and optional conversions weight and days_before array"},"halflife_days":{"type":"number","description":"Half-life in days for time-decay, default 7"},"default_spacing_days":{"type":"number","description":"Assumed days between touches when no timestamps are supplied, default 1"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bw_e0EoQAxDf_8T6W_1lh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes per-channel credit across five attribution models simultaneously (first-touch, last-touch, linear, time-decay, position-based) for a set of conversion paths, returning a side-by-side comparison.","exampleAgentPrompt":"Run multi-touch attribution on these two customer journeys: journey 1 goes Google → Facebook → Email with 1 conversion, and journey 2 goes Organic → Paid Search → Direct with 0.5 conversions — give me all five models (first-touch, last-touch, linear, time-decay, position-based) side by side using a 7-day time-decay half-life.","exampleUseCases":[{"title":"Ad spend reallocation decision","prompt":"I have 500 customer journeys from last month — each with a list of ad channels they touched before converting. Run all five attribution models on them and tell me which channels look undervalued under last-touch versus time-decay so I can decide where to shift budget."},{"title":"E-commerce funnel channel audit","prompt":"Here are our conversion paths for the holiday campaign: awareness came from Facebook, retargeting from Google, and checkout nudge from email. Run first-touch, last-touch, linear, time-decay with a 5-day half-life, and position-based attribution so I can see how credit shifts across models for each channel."},{"title":"Comparing attribution for client report","prompt":"My client wants to see how their TV, podcast, and social channels would be credited under different attribution models. I have 80 conversion paths with timestamps — can you run all five attribution models and give me a comparison table I can drop into the report?"}],"resultDescription":"Returns per-channel credit scores for each of the five attribution models (first-touch, last-touch, linear, time-decay, position-based) across all input conversion paths, plus a side-by-side comparison summary showing how credit allocation differs across models.","failureModes":["Missing required 'paths' field returns validation error","Invalid path structure (missing channel touches) causes computation failure","Non-numeric conversions weight or days_before values produce schema rejection","Empty paths array may return zero-credit results or error","Extremely large path arrays may hit timeout or payload limits","Invalid halflife_days value (zero or negative) may cause division error in time-decay model"],"whenToPreferThis":"Choose this endpoint when you need to compare multiple attribution models simultaneously in a single call rather than running separate models one at a time. It is ideal for marketing analysts who want a neutral, model-agnostic view of channel credit without committing to a single methodology. Prefer it over single-model attribution tools when the goal is to surface disagreements between models (e.g., first-touch vs. time-decay) to inform budget decisions. Since it is pure computation over submitted data with no external data fetching, it is reliable and deterministic given the same inputs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:59:42.648Z","isFirstParty":false}