What problem does it solve? Running an affiliate program requires tracking referral clicks, calculating category-specific commissions, holding payouts through refund windows, and blocking fraudulent referrals — all of which are error-prone when done manually or with expensive third-party networks charging 20–30% fees. ## Core Features & Use Cases - Platform-Specific Setup Guidance: Step-by-step configuration for Shopify (Refersion, UpPromote), WooCommerce (AffiliateWP), BigCommerce, and headless storefronts (Rewardful or custom tracking code). - Custom Tracking & Commission Logic: TypeScript and PHP code for affiliate click tracking with secure cookies, per-line-item commission calculation with category and tier rates, and Stripe Connect payouts. - Fraud Detection & Tier Management: Self-referral blocking, IP velocity checks, cookie stuffing detection, and automated tier upgrades based on monthly referred revenue. - Use Case: A merchant leaving ShareASale can use this Skill to stand up an in-house program with 30-day commission holds, $50 minimum payouts, and bronze/silver/gold tiers at 10%/12%/15%. ## Quick Start Ask the AI to set up an affiliate program for your Shopify or WooCommerce store with tiered commissions, fraud detection, and automated Stripe payouts.