From acp-agentic-commerce
Implement ACP affiliate attribution with token-based first- and last-touch models for privacy-preserving referral tracking in checkout sessions. Use for affiliate programs and partnerships.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin acp-agentic-commerceThis skill is limited to using the following tools:
**Fetch live docs**:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
Fetch live docs:
site:github.com agentic-commerce-protocol rfcs affiliate_attribution for the affiliate attribution RFChttps://developers.openai.com/commerce/specs/checkout/ for how attribution integrates with checkoutsite:github.com agentic-commerce-protocol spec json-schema affiliate for the schemaACP's affiliate attribution extension provides privacy-preserving affiliate tracking without cookies. It replaces traditional cookie-based tracking with structured tokens that respect buyer privacy while enabling fair commission attribution.
| Model | Description |
|---|---|
| First-touch | Credit goes to the first affiliate that referred the buyer |
| Last-touch | Credit goes to the most recent affiliate before purchase |
POST /checkout_sessions) and last-touch attribution data on complete (POST /checkout_sessions/{id}/complete)Affiliate → Token → Agent → Checkout Session (attribution field) → Merchant
↓
Commission Processing
Like all extensions, affiliate attribution must be negotiated:
affiliate_attribution in capabilities.extensions[]Fetch the affiliate attribution RFC for exact token format, attribution object structure, and write-only enforcement rules before implementing.