Skip to content

How do you set up a referral program?

Simple Affiliate · · Updated

Setting up a referral program starts with deciding who can refer and what the referrer and their friend each receive. Next, choose whether to track referrals with a referral link, a referral code, or both. Draft brief rules and keep enrollment simple, then share the program in places your buyers already look. Start small, review how it's performing after a few weeks, and adjust a single piece before changing anything else.

What you'll learn

  • The step-by-step order for launching a referral program
  • How to pick rewards people want to share without hurting your margins
  • What a referral code is, with examples of what works and what doesn't
  • Common mistakes that hold referral programs back

How to set up a referral program, step by step

A referral program gives people a reward when they send others to your store. If you're weighing a referral program against an affiliate program, read What is a referral program? first. The steps below work for either setup.

  1. Choose your goal. Decide if you want first orders from new customers or repeat orders from people who've bought before. Your goal shapes both your rewards and your rules. When new customers are the focus, reward only a friend's first purchase.
  2. Choose who can refer. Most stores begin with customers who already know their products, though you can also bring in creators and partners. Decide early if anyone can sign up or if you'll approve each person manually.
  3. Choose the rewards. Set what the referrer receives and what their friend gets. You'll find the main reward types in the next section.
  4. Choose how referrals are tracked. Tracking tells you which referrer brought in each sale. A referral link is a URL tied to an advocate, while a referral code is a short code typed during checkout. Many stores offer both, since links fit in messages and codes work when spoken out loud. See Referral links vs discount codes to compare the two.
  5. Write short rules. Spell out who qualifies, what counts as a valid referral, and when rewards get paid. State how you handle cancellations, returns, and self-referrals. Check What goes in an affiliate agreement? for what to cover.
  6. Make joining easy. Every extra step costs you signups. Keep the signup process brief, ideally letting buyers join through the customer account they already have at your store.
  7. Tell people about it. Put your program signup or portal link in spots shoppers already visit: order confirmations, the customer account page, package insert cards, and your store menu. Invite buyers at moments when trust is high, such as right after they leave a positive review.
  8. Check the results and adjust. Give the program a few weeks, then review signups, shares, and referred orders. Update a single element at a time, like the reward or the messaging, so you know what made the difference.

How to choose referral rewards

Good referral rewards hit a middle ground: large enough to get people sharing, yet small enough to keep referred orders profitable. These are common rewards for referrers:

  • Store credit: A balance referrers can spend at your store, which brings them back to buy again.
  • A discount: A percentage or fixed dollar amount off the referrer's next purchase.
  • A commission: A cash cut of each referred sale, which fits people who refer often, like creators.
  • Free product: A gift that an advocate earns once they reach a referral milestone.

With two-sided rewards, the friend also receives a reward, usually a discount on their first order. That offer gives new buyers a reason to order right away. Sharing feels more comfortable for advocates too, since they're handing a friend a perk instead of requesting a favor.

Take a $60 average order where the friend gets 10% off ($6) on their first purchase. Once that order is paid, the referrer receives $10 in store credit. Your total cost for that new customer is $16. Compare that figure with what you currently spend on customer acquisition, like ads.

Hold rewards until an order is final rather than paying them out at checkout. Let your return window pass first, such as 30 days, so canceled or returned orders won't leave you paying for rewards.

What is a referral code?

A referral code is a short code tied to a specific referrer. When a friend enters it at checkout, your store credits the referrer and usually gives the friend a discount. Often, the same code doubles as a discount code at checkout.

Referral code examples

Strong referral codes are brief, easy to say aloud, and quick to type. These formats work well:

  • A name and an amount: MAYA10 or SAM15 tells shoppers who shared the code and what discount comes with it.
  • A name and the store: JORDANLOVESTEA sticks in memory, though it takes longer to type.
  • A creator handle: COOKWITHLEO lines up with what a creator's followers already recognize.
  • A short word: FRIEND20 is easy to pass along, though it doesn't tie back to a specific person. Because of that limit, it fits general offers best.

Steer clear of these mistakes when setting up referral codes:

  • Characters that look alike, such as O and 0, or I and 1
  • Personal details, such as a full name paired with a birth year, or an email address
  • Overlong codes or phrases with an unintended meaning in another language

When codes leak

Reusable codes sometimes end up on coupon sites. When unrelated shoppers apply them at checkout, you pay out a reward and give a discount on an order nobody referred. To limit that, some programs give each referred friend a unique single-use code that can't be reused.

Common referral program mistakes

  • Offering too little: Advocates won't pass along a reward they'd feel awkward sending to a friend.
  • Hiding the program: Shoppers can't sign up for a referral program they never come across.
  • Adding signup friction: Requiring a separate account and password causes signups to drop.
  • Leaving rules vague: Surprise reward denials frustrate your advocates.
  • Paying out before orders finalize: Sending rewards early lets refunds and cancellations eat into your margin.
  • Changing several parts together: If you tweak multiple elements at the same time, you can't tell which change worked.

Running a referral program on a Shopify store

Simple Affiliate runs affiliate, influencer, and referral programs inside Shopify, letting buyers join through their store's customer account with no separate login. Every plan includes referral links, while discount codes come with the Pro plan and above when enabled. On Pro and above, single-use discount codes assign a one-time code to each referred shopper so leaked codes can't be reused. You can reward advocates with store credit, or send commissions via PayPal or Autopay, Simple Affiliate's automatic payout option.

You can turn on referral codes for each affiliate group. For setup steps, check How to enable discount codes and set discount rules in the help center.

See What are single-use discount codes? to learn how single-use codes stop coupon site leaks.

More in Affiliate marketing basics

Simple to install. Simpler to run.

Install on Your Shopify Store