affiliate-program

Implements affiliate tracking, tiered commissions, payouts, and fraud detection for ecommerce stores.

3|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill affiliate-program-tomtoto757
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: affiliate-program
Source: https://github.com/tomtoto757/ecomm-ai-team/tree/main/skills/marketing-growth/finsilabs/marketing-growth/affiliate-program
Command: npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill affiliate-program-tomtoto757

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about affiliate-program

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an affiliate program on Shopify?▼

Install Refersion or UpPromote from the Shopify App Store, then configure commission rates (10–15% is typical), a 30-day cookie duration, and a $50 minimum payout threshold. Both apps generate tracking links and inject checkout pixels automatically without code.

What affiliate plugin should I use for WooCommerce?▼

AffiliateWP ($149/yr) is the recommended WooCommerce affiliate plugin, offering per-product commission rates, real-time reporting, and a Stripe payout add-on. Pair it with the Fraud Prevention add-on to block self-referrals and IP velocity abuse.

How do I calculate affiliate commissions correctly?▼

Calculate commissions on the order subtotal only, excluding tax and shipping, and apply per-line-item rates when categories have different margins. Hold commissions in pending status for 30 days to cover the refund window before approving payouts.

How do I detect affiliate fraud like self-referrals?▼

Compare the order customer's email to the affiliate's email to catch self-referrals, and flag IPs with more than 5 orders in 24 hours. Most dedicated apps like Refersion and AffiliateWP include self-referral blocking in their settings.

Can I automate affiliate payouts with Stripe?▼

Yes, use Stripe Connect with stripe.transfers.create() to send commissions directly to affiliates' connected accounts, which also handles KYC and tax forms. Gate payouts on completed onboarding and enforce a $50–$100 minimum threshold to reduce fees.

When should I build a custom affiliate tracking system?▼

Build custom tracking only for headless storefronts or commission logic that SaaS tools like Rewardful cannot handle, such as complex category-specific tiered rates. Most merchants get the majority of value from a dedicated app without writing code.