# Run an affiliate programme

> Let bloggers, creators and fans sell for you. Each affiliate gets a referral link, an optional discount code and copies of your embeds, and earns the commission you set on the orders they bring in. How to set the programme up, add or approve affiliates, and how sales are credited.

Help Centre / Marketing - Updated 12 November 2026

An affiliate programme pays people for the sales they send you. Each affiliate gets their own referral link, and can also have a discount code of their own and a copy of any of your embeds to put on their own site. Every order they bring in earns them the commission you set. You owe it to them once your return window has passed. You then pay them and record it. See [Pay your affiliates](https://shoprocket.io/help/pay-affiliates.md).

## Before you begin

- The affiliate programme is the **Affiliates** app, on the **Plus** plan. Go to **Apps** and click **Add** on **Affiliates** under **Marketing**. **Affiliates** then appears in your sidebar under **Marketing**, and the programme's settings under **Settings > Affiliates**.
- Approving an affiliate and inviting them sends an email from your account, so confirm your own email address first.

## Set up the programme

1. Go to **Settings > Affiliates**.
2. Turn on the **Programme on** switch.
3. Under **Commission**, set:
   - **Commission rate (%)**: what an affiliate earns, as a percentage of the order's products after discounts. Affiliates never earn on tax, shipping or gift cards. It starts at 10%.
   - **Window (days)**: how long after a click on their link, or a visit to their embed, an order still counts. It starts at 30 days.
   - **Hold (days)**: how long before a commission is owed. Set it to match your return window, so any refund is taken off before you pay. It starts at 30 days.
   - **Subscription renewals earn too**: when this is off, an affiliate earns only on a subscription's first payment. When it is on, they also earn on every renewal from a subscriber they brought in.
4. If some products should earn more or less, add a different commission under **Special rates**. You can set one for a product, or for a category and the products in it.
5. Under **Referral links**, choose where an affiliate's link takes customers: **Your Shoprocket shop**, or **A page on your own site** (enter its full address).
6. Under **Sign-ups**, choose whether to **Approve new affiliates automatically**, and write your **Programme terms**.
7. Click **Save**.

![The affiliate programme settings: the programme on, a 10% commission, a 30-day window and hold, the special rates, where referral links point, and the sign-up page and portal addresses](https://shoprocket.io/img/help/affiliate-programme/programme-settings.webp)

While the programme is off, new orders don't earn any commission. Commissions already earned are still owed.

## Let people apply

Once the programme is on, the **Sign-ups** card shows two addresses to copy:

- **Sign-up page**: link to it from your site, for example in your footer, so people can apply in a minute.
- **Affiliate portal**: where affiliates sign in with just their email address. No password is needed. There they can copy their link and your embeds with their referral code already in, and see their clicks and what they've earned.

With **Approve new affiliates automatically** off, each sign-up waits on the **Affiliates** page with the status **Pending**. Open it to read what they wrote. To approve them, set **Status** to **Active** and save. To turn them down, set it to **Rejected**. Approved affiliates are emailed their referral link and a sign-in link to their portal.

## Add an affiliate yourself

1. Go to **Affiliates** and click **Add affiliate**.
2. Enter their **Name** and **Email**. Sale and payout emails go to that address.
3. Check the **Referral code**. It goes in their link (`?ref=`) and their embeds, and is filled in from their name.
4. Leave **Commission rate (%)** blank to use the programme's rate, or give them their own.
5. To let their audience use a code, enter a **Discount code**. It must be a code you have already made in **Discounts**. Any order where a customer types it is credited to this affiliate, even if they didn't use the link.
6. Add their **PayPal email** if you will pay them through PayPal.
7. Leave **Email them their referral link and a sign-in link to their affiliate portal** ticked, and save.

![An affiliate's page: what Sarah Mitchell is owed, has pending and has been paid, her orders and clicks, and the Share card with her referral link, portal and embed](https://shoprocket.io/img/help/affiliate-programme/affiliate-page.webp)

Each affiliate's page shows what they are owed, what is still in the hold period, what has been paid, and their orders and clicks. The **Share** card has their **Referral link**, their portal and **Embed on their own site**. Under **Embed on their own site**, pick one of your embeds and copy its code with their referral code already in, so their readers can buy on their page.

## How a sale is credited

Each order is credited to only one affiliate. Shoprocket checks these in order:

1. The order was placed through an affiliate's embed.
2. The customer typed an affiliate's discount code.
3. The customer clicked an affiliate's link within the window.

A customer who clicks an affiliate's link and buys on that visit is always credited. If the customer comes back later to buy, the affiliate is credited only if the customer's browser remembered the link. In the EU, the EEA, the UK and Switzerland, that needs the customer's agreement to cookies. If many of your customers are in Europe, also give each affiliate a discount code, so that a customer who comes back later can still credit them. See [What Shoprocket stores on your customers' devices](https://shoprocket.io/help/cookies-and-customer-privacy.md).

Only paid orders placed while the programme is on are credited. An affiliate buying through their own link earns nothing, and neither does a suspended affiliate.

Each commission then moves through these statuses on the affiliate's page:

- **Pending**: still in the hold period.
- **Owed**: the hold has passed, and it is waiting to be paid.
- **Paid**: you recorded a payout.

If an order is cancelled or fully refunded, its commission is cancelled. A partial refund reduces it. If the order is refunded after you paid, the amount comes off the affiliate's next payout. To turn down a commission yourself, for example for a fraudulent order, reject it from the affiliate's page and give a reason.

## Related

- [Pay your affiliates](https://shoprocket.io/help/pay-affiliates.md)
- [Create a discount code](https://shoprocket.io/help/discount-codes.md)
- [Embed Shoprocket on any website](https://shoprocket.io/help/embed-on-any-website.md)
- [Where your sales came from](https://shoprocket.io/help/where-your-sales-came-from.md)
- [What Shoprocket stores on your customers' devices](https://shoprocket.io/help/cookies-and-customer-privacy.md)

[Open Affiliates in your dashboard](https://app.shoprocket.io/go/affiliates)

---

- HTML version: https://shoprocket.io/help/affiliate-programme
- Language: English (en)
- Also in: [العربية](https://shoprocket.io/ar/help/affiliate-programme.md), [Deutsch](https://shoprocket.io/de/hilfe/affiliate-programm.md), [Ελληνικά](https://shoprocket.io/el/help/affiliate-programme.md), [Español](https://shoprocket.io/es/ayuda/programa-de-afiliados.md), [Français](https://shoprocket.io/fr/aide/programme-d-affiliation.md), [עברית](https://shoprocket.io/he/help/affiliate-programme.md), [हिन्दी](https://shoprocket.io/hi/help/affiliate-programme.md), [Bahasa Indonesia](https://shoprocket.io/id/bantuan/program-afiliasi.md), [Italiano](https://shoprocket.io/it/aiuto/programma-di-affiliazione.md), [日本語](https://shoprocket.io/ja/help/affiliate-programme.md), [Lietuvių](https://shoprocket.io/lt/pagalba/partneriu-programa.md), [Norsk](https://shoprocket.io/nb/hjelp/drive-et-partnerprogram.md), [Nederlands](https://shoprocket.io/nl/hulp/een-affiliateprogramma-runnen.md), [Polski](https://shoprocket.io/pl/pomoc/prowadzenie-programu-partnerskiego.md), [Português](https://shoprocket.io/pt/ajuda/programa-de-afiliados.md), [Română](https://shoprocket.io/ro/ajutor/program-de-afiliere.md), [Русский](https://shoprocket.io/ru/help/affiliate-programme.md), [ไทย](https://shoprocket.io/th/help/affiliate-programme.md), [Türkçe](https://shoprocket.io/tr/yardim/satis-ortakligi-programi.md), [中文](https://shoprocket.io/zh/help/affiliate-programme.md)
