affiliate-program
БесплатноБез исполняемых скриптовНе проверенTrack affiliate sales with unique links, manage commission tiers, automate payouts, and detect fraudulent referrals to protect your margins
от finsilabs★ 69 звёзд на GitHubОб этом скилле
Affiliate Program
Overview
An affiliate program pays partners a commission for each sale they refer, making it a performance-based acquisition channel with no upfront media cost. The right setup depends on your platform — most merchants get 90% of the value from a dedicated app without writing any code. Custom commission rules, fraud detection, and automated payouts are where custom development adds value.
When to Use This Skill
- When launching a creator or influencer partnership program with revenue share
- When replacing a third-party affiliate network (ShareASale, CJ) to reduce 20–30% network fees
- When needing custom commission rules (category-specific rates, SKU exclusions, tiered volume bonuses)
- When fraud in an existing affiliate program is eroding margins
- When generating 1099 tax reporting for US-based affiliates
Core Instructions
Step 1: Determine the merchant's platform and choose the right tool
| Platform | Recommended Tool | Why |
|---|---|---|
| Shopify | Refersion or UpPromote (Shopify App Store) | Native Shopify integration, automatic coupon + link generation, built-in fraud detection, PayPal/Stripe payouts |
| WooCommerce | AffiliateWP ($149/yr) or Solid Affiliate | Deep WooCommerce integration, per-product commission rates, real-time reporting, Stripe payout add-on |
| BigCommerce | Refersion or Goaffpro (BigCommerce App Marketplace) | Native checkout integration, multi-tier commissions, real-time dashboards |
| Custom / Headless | Rewardful (SaaS, $49/mo) or build custom with Stripe Connect | Rewardful handles tracking, fraud detection, and payouts; use custom code only for complex commission logic |
Step 2: Set up your affiliate app
Shopify
Using Refersion (recommended):
- Install Refersion from the Shopify App Store
- Go to Refersion Dashboard → Settings → General and configure:
- Default commission rate (start with 10–15% for most verticals)
- Cookie duration (30 days is standard)
- Minimum payout threshold ($50 recommended)
- Go to Commissions → Commission Groups to create tiers:
- Bronze: 10% (default)
- Silver: 12% (unlocks at $5k/month referred revenue)
- Gold: 15% (unlocks at $20k/month)
- Refersion automatically generates unique tracking links (
yourstore.com?rfsn=XXXXX) and injects a tracking pixel at checkout — no code required - Go to Affiliates → Recruitment Page to enable a self-service signup portal where partners can apply
- For Shopify Plus stores: use Shopify Flow to automatically tag high-value affiliates and trigger tier upgrades
Using UpPromote (free plan available):
- Install UpPromote from the Shopify App Store
- Go to UpPromote → Programs → Create Program and set commission rules
- Enable automatic discount code generation for each affiliate under Settings → Affiliate Links
- Connect PayPal or Wise under Settings → Payment for automated payouts
WooCommerce
Using AffiliateWP:
- Install and activate AffiliateWP on your WordPress site
- Go to AffiliateWP → Settings → General and configure:
- Referral rate: 10% (start conservative)
- Cookie expiration: 30 days
- Credit last referrer: yes (last-click attribution)
- Go to AffiliateWP → Settings → Payouts and connect PayPal or enable manual payouts
- Enable per-product commission rates under Settings → Misc → Per-Product Rates — this allows you to set 4% on electronics and 20% on digital products
- Install the AffiliateWP – Fraud Prevention add-on ($49) to automatically flag self-referrals and IP velocity abuse
- Affiliates access their dashboard at
yoursite.com/affiliate-area/
Tier automation with WooCommerce hooks:
// In functions.php — promote affiliate to Silver tier when monthly revenue > $5k
add_action('affwp_update_affiliate', function($affiliate_id) {
$month_revenue = affwp_get_affiliate_earnings($affiliate_id, true); // current month
if ($month_revenue >= 5000 && affwp_get_affiliate_rate($affiliate_id) < 0.12) {
affwp_update_affiliate(['affiliate_id' => $affiliate_id, 'rate' => '12']);
}
});
BigCommerce
- Install Refersion or Goaffpro from the BigCommerce App Marketplace
- Both apps integrate with BigCommerce's order webhooks automatically — no code required
- Configure commission tiers and payout schedules in the app dashboard
- BigCommerce's built-in coupon system works with both apps to generate affiliate-specific discount codes
Custom / Headless
For headless storefronts, use Rewardful (SaaS) to avoid building tracking infrastructure from scratch:
- Add Rewardful's JavaScript snippet to your storefront
- On purchase confirmation, identify the customer:
rewardful('convert', { email: order.customerEmail });
- Rewardful handles cookie attribution, fraud detection, and Stripe Connect payouts automatically
If you need custom
Установить affiliate-program в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
claude-codecursorgemini-clicopilotcodex-clikiroopencodeВложенные файлы
FAQ
Что делает скилл affiliate-program?
Track affiliate sales with unique links, manage commission tiers, automate payouts, and detect fraudulent referrals to protect your margins
Как установить скилл affiliate-program?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл affiliate-program запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic