A referral program turns your customers into a sales channel. A customer shares a personal link or code with a friend. The friend gets a discount on their first order, and once that order is paid, the customer earns a reward.
Who's who
Every referral involves two people:
Referring customer — your customer who invites friends.
Referred friend — a new customer who comes through the customer's link or code.
Example. Anna (a referring customer) shares her referral link with John (a referred friend). John opens the link, claims 5% off, and the discount is applied to his cart automatically. John places his first order. As soon as the order is paid, Anna gets 10 points as a reward.
Referral link and referral code
Customers can invite friends in two ways. Choose one of them, or offer both:
Referral link — a link to your store with the customer's personal parameter, for example
https://your-store.com/?AlLo_ref=Xk3.... When a friend opens the link, a bubble next to the Loyalty Widget prompts them to claim a gift you've chosen.Permanent referral code — a short personal code, like
ANNA-7K2M: the customer's first name and four random characters. It's easy to say out loud or send in a message. The friend enters it in the discount code field at checkout, or gives it to your staff in store, and gets the same discount as with the link.
| Referral link | Permanent code |
How the friend uses it | Opens the link and claims the gift in the Loyalty Widget | Enters it at checkout or gives it to your staff |
Friend's discount | A personal one-time discount, applied automatically | Applied when the code is entered |
Counted in Clicks and Claims | Yes | No |
Appears in your referrals list | When the friend claims the gift | When the friend's order is paid |
Rewards
Each program has two rewards: one for the referring customer and one for the referred friend. You can't set up multiple friend or customer rewards in one program.
| What you can give | How it works |
Friend reward | Order discount, product discount or free shipping | One-time, on the friend's first order |
Customer reward | Points, or a coupon for order discount, product discount or free shipping | Given for every friend whose first order is paid:
|
How a referral turns into a reward
Every referral goes through the same steps, from the moment a customer shares their link to the moment they get their reward. The friend gets their discount right away, while the customer’s reward comes once the friend’s order is paid.
The customer invites a friend. They share their referral link or tell the friend their code.
The friend claims the discount. They open the link and claim the gift in the Loyalty Widget, or enter the code at checkout.
The friend places their first order. As soon as the order is paid, the referral counts.
The customer gets their reward. Right away, or after the Reward approval delay you set.
What if the order is cancelled or refunded? If the friend’s order is cancelled or fully refunded, the customer doesn’t get the reward. If they’ve already got it but haven’t used it yet, it’s taken back. The friend’s discount isn’t affected.
Two rules to keep in mind:
A referral counts only if a referral code is on the friend’s order. An order placed without it isn’t linked to the referring customer, but you can count the referral manually if needed.
Each friend counts once in your store, even across different programs. If two customers invite the same friend, only the first one gets the referral.
Where customers see the program
Loyalty Widget
Referring customers see the Referral program card with their link, code and share buttons, and the Referrals & Rewards screen.
Referred friends see their gift in a bubble next to the widget button, and as the first card inside the widget.
If the Customer reward is points, the Refer friends line among the ways to earn shows how many points customers get for each friend.
Loyalty Page — the Refer & earn section, and the Refer friends line among the ways to earn. Learn more
Customer account — the customer’s link or code in the Loyalty program summary block. Learn more
Shopify POS — the customer’s code and their referral rewards. Learn more
Which program applies
A customer takes part in one referral program at a time. If they're eligible for several, the program with the higher priority applies. You can reorder programs with drag & drop on the Loyalty programs page.