---
name: affiliate-program-design
description: "Designs an affiliate program that pays partners for customers they actually bring: who the partners are, the commission model checked against your margins and allowable acquisition cost (revenue share, bounty, hybrid, tiers, duration, annual plans), the tracking and attribution rules (link, cookie window, last click, codes as backup, consent, carrying partner ids from site to signup to billing), what earns commission, refunds, holds and payouts, the program terms (brand bidding, coupon sites, self-referral, spam, claims), FTC disclosure rules for affiliates, the application gate, the partner kit, an end-to-end test and the launch. Use when someone asks to start or fix an affiliate program, set affiliate commission rates, write affiliate terms, choose a cookie window, set up affiliate tracking, or asks why an affiliate program has hundreds of partners and no revenue."
license: MIT
compatibility: "Any AI agent. Needs the business's prices, margins and retention to size commissions. Tracking runs on an affiliate platform connected to billing; terms and disclosure rules need a legal review before launch."
metadata:
  title: "Affiliate program design"
  category: "Events, partnerships and affiliates"
  requires: "none"
  data-needed: "None"
  slate-tools: "get_brand_context, create_artifact, query_pages (Slate MCP); Brand Kit, Artifacts, Pages and site analytics, HubSpot sync and Images in the Slate app"
  slate-signup: "https://app.slatehq.ai/register"
  homepage: "https://slatehq.com/skills/affiliate-program-design"
  author: "Slate"
  version: "1.0.0"
---

# Affiliate program design

Designs an affiliate program from the economics up: a commission the business can afford at its real margins and retention, tracking that credits the right partner even when the buyer signs up on another domain or declines cookies, terms that keep out brand bidders, coupon sites and self-referrers, disclosure rules partners can follow, and a small launch tested end to end before anyone is paid. Most affiliate programs fail quietly: a flat rate copied from a competitor, a cookie shorter than the buying cycle, referrals lost between the website and the app, and a thousand sign-ups who never post. This skill fixes those before launch. In [Slate](https://slatehq.com) it also reads your Brand Kit, so the partner kit's claims and positioning match the rest of your marketing.

## When to use

- "Start an affiliate program", "what commission should we pay affiliates", "write our affiliate terms", "affiliate cookie window", "set up affiliate tracking", "our affiliates don't bring revenue", "affiliate program for agencies or creators".
- Products bought or trialled from a link: SaaS with self-serve signup, apps, courses, ecommerce, and sales-assisted products with a short cycle.
- Not for finding and pitching the partners: use `affiliate-recruitment` once the program exists.
- Not for rewarding customers who refer friends: use `referral-program`.
- Not for one-off paid placements in a newsletter, podcast or video: use `sponsorship-evaluator`.

## What you need

Required:
- **Pricing**: plans, monthly and annual prices, one-off purchases (top-ups, services).
- **Economics**: gross margin, monthly churn or average customer lifetime, and the acquisition cost you accept from other channels.
- **How people buy**: self-serve, trial, or sales-assisted, and the typical time from first visit to first payment.

Ask for, or assume and state:
- **Partner types** you want: creators and reviewers, agencies and consultants, newsletters, communities, template or course sellers. Default: creators and agencies as separate groups.
- **Billing and site setup**: payment processor, whether the marketing site and the app are on different domains, the cookie consent tool and its categories.
- **Budget** for the platform, payouts and the person who runs the program.
- **Existing program**, if fixing one: partners, active partners, revenue, the current terms.

## Data and tools

- **In Slate:** Brand Kit gives positioning, approved claims, audience and voice for the partner kit and the program page. Artifacts holds the program design and terms for review. Pages and site analytics shows visits and signups that arrive from affiliate links, once they carry a consistent source or medium. HubSpot sync (app only) shows which signups became deals. Images (app only) makes banners and social images for the partner kit.
- **With the Slate MCP server:** `get_brand_context` for positioning and claims; `create_artifact` (`title`, `content_text`) for the design and the terms; after launch, `query_pages` with `view: "list"`, a `date_range` and `filters.source_medium` set to the affiliate source/medium values your links use. HubSpot sync and Images aren't available through MCP yet.
- **Without Slate:** an affiliate platform (PartnerStack, Rewardful, FirstPromoter, Tolt, impact.com, Dub and others) connected to the payment processor; the billing system for revenue, refunds and retention; GA4 for visits. Commissions, clicks and payouts live in the affiliate platform in every case: Slate doesn't track affiliate commissions.

## Procedure

1. **Check fit.** Affiliates work when a stranger can buy or start a trial from a link, the price funds a commission, and people already publish for your buyers (reviews, comparisons, tutorials, newsletters, client work). With long enterprise sales cycles, use a partner program with deal registration instead and say so.
2. **Define partner groups**, each with its own terms: creators and reviewers (audience, content), agencies and consultants (they buy for clients; often longer commission, client discounts), and others such as newsletters and communities. Decide whether customers may join; if they mostly refer friends, send them to `referral-program`.
3. **Set the commission ceiling from the economics.** Gross-margin lifetime value = monthly price × gross margin × average lifetime in months. Allowable acquisition cost = that ÷ your target lifetime-value-to-acquisition-cost ratio (3 is common). Subtract platform, payout and management cost per customer. The result is the most a partner can earn per customer. Worked example: `references/commission-and-terms.md`.
4. **Choose the model and compute its expected cost per customer**: recurring share for a fixed number of months (rate × price × expected paid months within that period, using your retention), a flat bounty paid after the refund window, or a hybrid. Keep it under the ceiling with room for a higher tier for top partners. Avoid paying on sign-ups or leads unless the partner is trusted and the lead is qualified; they invite fraud. For annual plans, either prorate over 12 months or pay on the annual payment after the refund window.
5. **Write the tracking and attribution rules** with the checklist in the reference: the link parameter, a cookie window at least as long as most buyers take from first visit to payment (often 60–90 days for B2B self-serve), last click between partners (check the platform's default), codes as a backup for other devices and for visitors who decline tracking, the tracking script inside your consent banner's right category, partner and click ids passed from the marketing site to the signup on the app domain, and your own customer id stored on the billing customer so every later payment matches. Read the referral from the link or cookie directly at signup: a visitor who clicks "Sign up" a few seconds after landing can beat the tracking script.
6. **Define what earns commission**: subscription payments net of tax, discounts and refunds; decide on one-off top-ups and services; exclude $0 trials, 100%-off coupons, existing customers and the partner's own purchases. Refunds and chargebacks reverse commission (check whether the platform reverses all of it on a partial refund). Hold commissions until the refund window passes (30 days is common), pay on a fixed schedule (for example NET-30 after approval) above a minimum (for example $50), and collect tax forms before the first payout.
7. **Write the terms** with the clause list in the reference: no bidding on your brand or its misspellings, no coupon or deal sites unless invited, no self-referral, no cookie stuffing or injected links, no spam, approved claims only, no use of your brand in domains or handles, sub-affiliates only with approval, disclosure required, your right to review content, termination and forfeiture for violations, changes with notice.
8. **Set the disclosure rules.** Partners disclose the commission clearly, next to the recommendation and before the link, in plain words ("I earn a commission if you buy through this link"); on video, said and shown on screen; on social, in the post text, with the platform's paid-partnership label as well, not instead. The advertiser shares responsibility, so spot-check partner content monthly and remove partners who won't fix it. Details in the reference.
9. **Gate and onboard.** An application form asking partner type, audience, channels, sample content and how they'll promote; answer within two working days; reject coupon and incentive sites. Onboarding: day 0 link, kit and first-idea email; day 3 content formats that work; day 14 check-in; day 30 "still a fit?" if inactive. The partner kit: positioning, approved claims, comparison facts, screenshots, logos, demo or free account, disclosure examples, tagged links.
10. **Test end to end, then launch small.** Run the test list in the reference with a test partner before inviting anyone: click with consent, click without consent, direct link to the signup page, payment, upgrade, annual plan, refund, teammate paying with another email, code without a link, tracking service down. Then launch with 5–15 hand-picked partners; the first payout cycle is the acceptance test. Write the manual runbook for attaching a missed customer to the right partner.
11. **Measure monthly**: active partners (a live placement in the last 30 days), clicks, signups, paying customers, revenue, commission cost per customer against the ceiling, refund rate by partner, share of revenue from the top 10 partners, share via codes. Audit every six months and remove partners who break the terms.

## Output

```markdown
## Affiliate program: <company>
Fit: <yes/no, why>. Partner groups: <…>. Platform: <…>.

### Economics
| Input | Value | Source |
Commission ceiling per customer: <amount>

### Commission by group
| Group | Model | Rate and duration | Expected cost per customer | Under ceiling? | Tier rule |

### Tracking and attribution
Parameter, cookie window, attribution rule, codes, consent category, site-to-app hand-off, billing match.

### What earns commission, holds and payouts
<rules>

### Terms (summary) and disclosure rules
<clauses for legal review>

### Onboarding and partner kit
<emails, kit contents>

### Test plan and launch
| Test | Expected result | Pass |

### Monthly metrics
<list, owner>
```

## Quality checks

- The commission ceiling is calculated from the company's own margin, retention and target ratio, with each input's source.
- Expected cost per customer for every group is under the ceiling, and the maths is shown.
- The cookie window is at least the typical time from first visit to payment, and the attribution rule is stated.
- The plan says what happens when a visitor declines tracking cookies and when the site and app are on different domains.
- Exclusions (trials, 100% coupons, existing customers, self-purchases) and refund reversal are written down.
- The terms cover brand bidding, coupon sites, self-referral, spam, claims and disclosure, and are marked for legal review.
- The end-to-end test covers refunds and missed referrals before any partner is invited.

## Common mistakes

- **Copying a competitor's rate.** Their margins and churn aren't yours. Start from the ceiling.
- **Lifetime commissions by default.** Expensive and rarely needed to win partners; 12 months is usually enough to matter.
- **A cookie shorter than the buying cycle.** Partners notice missing credit and stop promoting.
- **Losing referrals at the domain hop.** The cookie on the website isn't visible to the app; pass the ids in the signup link and store them.
- **Celebrating sign-ups.** Most partners never post. Count active partners and paying customers.
- **Letting coupon sites and brand bidders in.** They take credit for buyers who were already coming.

## Related skills

- `affiliate-recruitment`: find and pitch partners once the program is ready.
- `referral-program`: rewards for customers who refer friends.
- `utm-governance`: consistent source and medium on affiliate links.
- `tracking-plan`: the signup and payment events the program depends on.
- `creator-brief`: brief a creator for a launch post.
- `landing-page-copy`: the program page and the partner landing pages.
