How do you set up an affiliate program for an online store?
An affiliate program lets partners such as creators, bloggers and comparison sites promote your products and earn a commission only when a sale happens. Setting one up comes down to four steps: calculate the commission your margin can carry, build tracking, write program rules, and tie commission approval to your return window.
On paper it looks simple. In practice, what makes affiliate programs lose money is rarely the commission rate. It is the rules nobody wrote down: partners bidding on your brand name, codes leaking to coupon sites, commissions paid on orders that were later returned.
How is affiliate marketing different from influencer deals?
The two are often confused because you can do both with the same person. The difference is what triggers payment:
| Model | Payment trigger | Who carries the risk | Typical use |
|---|---|---|---|
| Affiliate | A completed sale (commission) | Mostly the partner | Long-term, scalable sales channel |
| Influencer deal | A post or campaign (flat fee, free product) | Mostly the brand | Launches, awareness, content |
| Paid ads | Impressions or clicks | The brand | Fast, controlled scaling |
The big advantage of affiliates is that cost follows sales. The downside is that partners promote what pays them best, and you have less control than with ads. To tie creator work to revenue, see our guide on measuring influencer marketing.
How do you set affiliate commission rates?
Work backwards from your own unit economics, not from competitors' rates. A commission is the price you are willing to pay to win an order, so it follows the same logic as a target CPA in paid ads.
You need your contribution margin per order: the selling price minus product cost, shipping, payment fees and average return cost. Our guide to ecommerce profit margin and unit economics explains the calculation in detail.
Example: an accessories brand with an average order value of 1,000 (in its local currency).
| Item | Value (example) |
|---|---|
| Average order value (excl. tax) | 1,000 |
| Contribution margin per order | 350 |
| Profit you want to keep | 150 |
| Ceiling for commission | 200 |
| Commission rate ceiling | 20% |
| Buffer for platform and management | 5% |
| Commission you can offer | around 15% |
These are example numbers; yours will differ. The logic is what matters: commission must not exceed what is left of your margin after your target profit and program costs.
You can also tier commissions. Paying more for new customers and less for returning ones, lowering rates on low-margin categories or excluding some products are all common approaches.
How do you launch an affiliate program step by step?
- Write down the goal. New customers, a specific category or a new market? The goal shapes commission structure and partner choice.
- Set the commission structure. Use the calculation above to find your ceiling and decide whether to split new and returning customers.
- Build tracking. Give every partner a unique tracking link and a personal coupon code. The link captures click-through sales; the code captures people who watched a video and came straight to your site without clicking.
- Define attribution rules. Decide how many days the tracking cookie lasts and who gets credit when several partners or ad channels touch the same order.
- Write program rules. Spell out what is not allowed (see below).
- Recruit partners. Start with partners whose audience matches your product and whose content is strong. A few active partners beat a long list of passive ones.
- Provide assets. Product images, an up-to-date product list, accurate product facts and a promotion calendar make partners more effective.
- Tie payouts to your return window. Approve commissions only after an order can no longer be returned or cancelled.
What should affiliate program rules include?
Without written rules, your program gets shaped by partners finding the easiest way to earn, which usually means earning commission on sales you would have made anyway. At minimum, cover:
- No bidding on your brand name. If partners run search ads on your brand, you pay commission on people who were already looking for you.
- Coupon site policy. Decide whether partner codes can be posted on coupon aggregator sites. Otherwise shoppers searching for a code at checkout turn into commissioned orders.
- Accurate claims. No misleading product claims, fake discounts or wrong prices.
- Disclosure. Partner promotions must be clearly labeled as advertising (see the next section).
- Self-purchase policy. State whether partners earn commission on their own orders.
What legal and SEO rules apply to affiliates?
Affiliate promotions are advertising, and many markets have rules on disclosing paid endorsements. Check the rules in every country you sell to. In Turkey, for example, the Ministry of Trade's advertising board published influencer guidance in 2021 making clear that hidden advertising is not allowed on social media either. Amendments published in the Official Gazette on 1 July 2026 now require influencers who receive any benefit, such as earnings or discounted products, to use the words "reklam" (advertisement) or "tanıtım" (promotion) in their posts, according to the Ministry. A commission is an earning, so put disclosure in your partner agreement and spot-check posts.
On the SEO side, two points matter. First, Google recommends qualifying links that are ads or paid placements with rel="sponsored"; rel="nofollow" is still acceptable. Remind partners who run blogs or content sites. Second, Google's spam policies define "thin affiliation": pages that copy product descriptions and reviews from the merchant without adding original value. Instead of handing every partner the same boilerplate copy, encourage original reviews, comparisons and real usage experience. That protects their visibility and your sales.
How do you measure affiliate sales?
To see the true value of your program, ask:
- What share of affiliate orders come from new customers?
- Do the same orders also show up as conversions in your ad platforms? If so, you may be paying twice for one sale.
- Is the return rate on affiliate orders different from other channels?
- How does total program cost (commissions, platform, management time) move relative to total revenue?
Approve commissions using your own order system data rather than the affiliate platform's numbers, and track affiliates as a separate channel in your analytics.
Affiliates work best when they are planned as one of your performance marketing channels; otherwise you end up paying both an ad platform and a partner for the same order. If you want a roadmap for an affiliate program that does not overlap with your paid channels, the Performetic team can walk you through it in a free growth analysis.
Key takeaways
- Affiliate marketing is a performance channel where you pay only for completed sales.
- Set commission from your contribution margin after target profit and program costs.
- Give each partner a unique link and coupon code, and define attribution rules upfront.
- Ban brand bidding, set a coupon site policy and approve commissions after the return window.
- Require clear disclosure on partner posts and rel="sponsored" on partner sites.
