Referral Program (Refer a Friend)
A referral program lets the customers who just bought from you invite their friends. Right after checkout, the Thank you page shows a Refer a friend block. The buyer taps Send a gift to friends and gets a referral link at once, with no form and no password. Friends who open the link save on their first order. When you approve the friend's order in Conversions, the buyer (the referrer) gets a reward code by email.
You decide who gets the offer: every buyer, or only buyers whose order matches your conditions (products, collections, order value, first or returning order, customer tags). You can run several referral programs with different rewards for different buyers.
Updated on 2026-11-25: each referral program now has a Who gets this offer card, and you can have up to 10 active referral programs. When a buyer matches several, the newest program wins. Your existing program keeps working as before: it is set to All customers. See Choose who gets the offer and Run several referral programs.
Why this matters
Most buyers never look for a "Become an affiliate" page, so stores with only an affiliate program get almost no customer referrals. The Thank you page is the moment buyers are happiest with your store, and the block asks them to share at that moment, with one tap. Friends get a discount, so they have a reason to click. Buyers get a reward code, but only after you confirm the friend's order. You never pay for a referral you haven't checked.
If you don't add the block to your Thank you page, buyers never see the program, even when it is Active.
How it works
- You create a referral program in Programs, choose which buyers get the offer (Who gets this offer) and set two rewards: what friends get (Friend gets) and what the buyer gets (Buyer gets).
- You add the Refer a friend block to your Thank you page in the Shopify checkout editor.
- A buyer finishes checkout. The block picks the newest Active referral program the order matches and shows that program's rewards. If the order matches none, the block stays hidden.
- The buyer taps Send a gift to friends. The app creates the buyer as a referrer (from the order's email and name) and shows their referral link, for example
yourstore.com/discount/ANNA7K2Q. One tap on Copy link copies it. - A friend opens the link. The friend's gift code is applied automatically. The discount works only if the friend is a new customer (no earlier orders), once per customer.
- The friend places an order. The app adds a Pending row in Conversions and emails the referrer: your friend just ordered, the store is confirming it.
- You approve the row once the order is paid. The app creates a one-time reward code and emails it to the referrer. Or you deny it and pick a reason, and the referrer gets an email with the reason.
Referral rewards are discount codes, not cash. Referral conversions have $0 commission and never show up in Payouts.
Before you start
- Install the app. The referral program does not need the Web Pixel or any theme code, because friends are tracked by the gift code on their order.
- In Settings, fill in Support email. Referrer emails use it as the reply-to address, so referrers can reply to you.
- Decide your rewards. The form is pre-filled with 10% off for friends and a $10 code for the buyer (the amount follows your store currency, for example ¥1,500 or ₫250,000).
Set up the referral program
Step 1 — Create the program
There are two ways in:
- Home → the Turn every buyer into a referrer card → Create referral program.
- Programs → Create program → on Select program type, choose Referral program (marked Recommended) → Create.

Choosing Affiliate program opens the usual affiliate program form.
Step 2 — Choose who gets this offer
The Create referral program page has four cards: Program name, Who gets this offer, Rewards and Thank you page block, with a live preview on the right.
In Who gets this offer, pick one option:
- All customers (default): All buyers qualify for this program.
- Customers who match these conditions: Buyers must match every condition you turn on. Turn on at least one of the five conditions below.
| Condition | Options | Good to know |
|---|---|---|
| Products in the order | Includes any of these products / Includes none of these products, then Browse products | Up to 100 products. Checked instantly on the Thank you page |
| Collections in the order | Includes a product from any of these collections / Includes no product from these collections, then Browse collections | Up to 20 collections per program, and up to 50 different collections across all your referral programs. Any collection in your Shopify admin counts, including hidden ones. |
| Order value | Minimum order subtotal | Products subtotal after discounts, before shipping and taxes, in your store currency. An order equal to the minimum matches |
| Customer order history | First order / Returning customer | Based on the buyer's order count in your store |
| Customer tags | Has any of these tags / Has none of these tags, then type the tags | Separate tags with commas. Up to 20 tags, 255 characters each, not case-sensitive. Guest buyers have no tags, so they never match Has any of these tags and always match Has none of these tags |
How conditions combine:
- Between conditions: all must match. For example, Collections in the order = Skincare and Order value = 50 means the order must include a Skincare product and be $50.00 or more.
- Inside one condition: any of the items. Includes any of these products matches when the order has at least one of the products you picked. Includes none of these products matches when the order has none of them.
Products and collections need product access. The first time you use them, the card shows Allow access to products with an Allow access button. Click it and approve the request in Shopify. You can't save a product or collection condition until access is allowed.
Collections in the order and Customer tags are checked on our server, so the block can take up to 3 seconds to appear for those programs. The card reminds you: Collections and customer tags can delay the block by up to 3 seconds. Products in the order show the block instantly. Order value is instant too, unless the buyer pays in a currency other than your store currency.
The text at the bottom of the card, Existing referrers move to the newest program their next order matches. Their link stays the same., is explained in Run several referral programs.
Step 3 — Set the rewards
Under Rewards, set what friends and the buyer get.

| Field | What to enter |
|---|---|
| Program name | Only you see this name (up to 100 characters). Default: Refer a friend |
| Friend gets → Discount type | Percentage or Fixed amount |
| Friend gets → Value | Percentage: a whole number from 1 to 100. Fixed amount: more than 0 |
| Buyer gets → Reward type | Fixed amount code or Percentage code |
| Buyer gets → Value | Same limits as above. Emailed for each friend's order you approve |
Fixed amounts accept up to 2 decimal places, or whole amounts only for currencies without decimals (JPY, KRW, VND...).
These settings are fixed and you can't change them:
- The friend discount is for new customers only, one use per customer, and it doesn't combine with other discounts.
- You approve every reward yourself in Conversions. Nothing is approved automatically.
- Reward codes expire 90 days after they are created.
Set the program Status (Active / Inactive) at the top right of the page, then click Save. You see Referral program saved.
The Thank you page preview shows what buyers see, in your checkout branding. You can click Send a gift to friends in the preview. No link or code is created.
Step 4 — Add the block to your Thank you page
On the program page, the Thank you page block card has an Open checkout editor button.
- Click Open checkout editor. You can also go to Shopify Settings → Checkout → Customize.
- In the page selector at the top of the editor, switch to Thank you.
- Add the Refer a friend app block right below the header. This is the spot we recommend: buyers see it first and the page doesn't jump while it loads.
- Click Save in the checkout editor.

Add the block only once. The block can go right below the header or anywhere else on the Thank you page. If you add it in both places, buyers see two Refer a friend blocks.
Until the first buyer sees the block, the Programs page shows the banner Buyers can't see your referral program yet. with an Add to thank-you page button. The banner goes away on its own after the first buyer sees the block.
What buyers see
| Moment | What the block shows |
|---|---|
| Thank you page opens, a program uses collections or customer tags | A grey loading placeholder for up to 3 seconds while the order is checked, then the invite below (or nothing, if the order matches no program) |
| Thank you page opens | Give 10% off, get $10.00 · Friends save on their first order. You can earn a $10.00 code for each one. · button Send a gift to friends |
| Buyer taps the button | Preparing your friends' gift… (usually a second or two) |
| Link is ready | Your gift for friends is ready · Friends get 10% off on their first order. · Your referral link with a Copy link button (shows Copied for 2 seconds) |
| Something went wrong | We couldn't get your link right now. and a Try again button |
| The gift can't be offered | This gift isn't available for your order. |
| Buyer is already one of your affiliates | You already have a partner link. Find it in your partner portal. with an Open partner portal link. No referral link is created for them |
The numbers follow the rewards of the program the order matched. A buyer who already has a referral link sees the same link again on later orders, with the rewards of the program they belong to (see Existing referrers).

To see the next step without placing an order, use the Thank you page preview on the program page. After you click Send a gift to friends there, it shows the ready state with a sample link:

The block is hidden when:
- No referral program is Active, or the referral program is not turned on for your store.
- The order doesn't match the Who gets this offer conditions of any Active referral program.
- The buyer is already a referrer, their program is Inactive, and the new order doesn't match another Active program.
- The order has no email address (for example, phone-only orders).
The block text is in English for every buyer language. You can't change the block text yet.
Run several referral programs
Use several referral programs to give different buyers different rewards, for example a bigger reward for buyers of your Skincare collection and a standard one for everyone else. You can have up to 10 Active referral programs. Inactive programs don't count toward that limit.
The newest program wins
When an order matches more than one Active referral program, the block shows the newest one (the program you created last). This is true even for an All customers program: a new All customers program wins over every older program.
Example, newest first:
| Program | Who gets this offer | Created |
|---|---|---|
| Skincare buyers | Collections in the order: Skincare | Last |
| VIP customers | Customer tags: vip | Second |
| Everyone | All customers | First |
- A VIP buyer who orders a serum from the Skincare collection gets Skincare buyers.
- A VIP buyer who orders a T-shirt gets VIP customers.
- Any other buyer gets Everyone.
If you create the Everyone program last instead, every buyer gets Everyone and the other two never show. To let an older program win, turn off the newer one.
Editing a program, or turning it off and on again, doesn't change its place: programs are always ordered by the date you created them.
When the buyer taps Send a gift to friends, the app checks the order again with every condition. If a different program matches at that moment (for example, the order wasn't ready yet when the page loaded, or you just changed your programs), the buyer gets the program that matches now and the link shows its rewards.
Programs list
On Programs (Referrals tab), referral programs are listed newest first.
- The Who gets a link column sums up each program's conditions, for example All customers, Collections: Skincare, Order $50.00 or more, First order, Returning customers, Tags: vip or No tags: wholesale.
- Below the table: If a buyer matches several referral programs, the newest one wins.
- Needs access appears on a program that uses products or collections when the app no longer has product access. See Troubleshooting.
If no Active All customers program is left, the page shows the banner Buyers who don't match any program won't see the referral block.
- If you have an Inactive All customers program, the banner says Turn on [name] to show the block to everyone else. Click Turn on [name]: you see [name] turned on.
- If not, it says A new All customers program would replace your other programs, because the newest program wins.
The 10 active programs limit
When you already have 10 Active referral programs:
- Create program opens the form with the banner You already have 10 active referral programs. Turn one off to add an active one. and a View programs button. The new program is saved as Inactive, and the Active status is disabled: Turn off another referral program to make this one active.
- Activate on a program shows You can have up to 10 active referral programs. Turn one off first.
Shopify also allows 25 active app discounts per store, and every referral program uses one, even when it's Inactive. If you reach it, you see Shopify allows up to 25 active app discounts. Turn off other app discounts in Shopify Discounts, or delete referral programs that have no referrers, then try again.
Existing referrers move to newer programs
A referrer is linked to one program. When a referrer places a new order themselves:
- If the order matches an Active program that is newer than their current program, or their current program is Inactive, they move to the newest program that order matches.
- If the order matches nothing, or only matches programs older than their current Active program, they stay where they are.
Their link and gift code stay the same. Friend orders are rewarded with the program the referrer was in when the friend ordered: orders placed before the move keep the old reward.
Turn off a program
In Programs, open Actions → Deactivate, or set Status to Inactive in the form and click Save. If the program has referrers, you first see Turn off [name]?:
- Buyers who already have a link from this program won't see the referral block unless a new order matches another program. Codes they already shared keep working unless you stop them below, and pending friend orders can still be approved.
- New friend orders won't earn rewards.
- Also stop shared codes (not ticked by default): Codes your [n] referrers already shared stop working at checkout.
Click Turn off to confirm, or Cancel to keep the program Active.
What happens next:
- Without Also stop shared codes: friends can still use codes already shared, but new friend orders don't create a conversion, a reward or an email. Pending rows you already have can still be approved.
- With Also stop shared codes: those codes stop working at checkout. Pending rows you already have can still be approved. When you turn the program on again, the codes work again.
- Referrers who moved into this program from another one go back to the program they came from, if it is still Active. Referrers who got their link in this program stay in it.
Delete a program
A referral program with no referrers can be deleted: Actions → Delete → Delete [name]? → Delete program. This removes the program and its friend discount from Shopify, and can't be undone. You see Referral program deleted.
A program with referrers can't be deleted (This program has referrers. Turn it off instead.).
Review referral rewards in Conversions
Referral orders appear in Conversions like affiliate orders: Program is your referral program, Affiliate is the referrer's name and email, and Commission shows the reward (for example $10.00).

You have two shortcuts to the rows that need you:
- Programs shows a count such as 2 rewards waiting for review on the referral program row. Click it to open Conversions filtered to Pending referral orders.
- Conversions shows a banner when paid referral orders have been waiting for more than 7 days.
To see only referral orders, use Add filter → Program type → Referral.
Approve
Click ✓ on a Pending row, or select rows and use Approve selected.
- Approve only paid orders. ✓ works only when the order is Paid (or partially refunded). For unpaid orders (cash on delivery, bank transfer, payment authorized but not captured), ✓ is disabled with the tooltip Approve after payment. In a bulk approve, unpaid orders are skipped and the message tells you how many.
- Orders older than 60 days: the app can no longer read the order from Shopify. ✓ stays clickable with the tooltip Order is older than 60 days. Check payment in Shopify before approving.
- After you approve, the app creates the reward code and emails it. Hover over the Approved badge to see the progress: Sending reward code…, then Reward sent · THANKS-XXXXXX.
A reward is never taken back. If the friend's order is refunded or canceled after you approve it, the referrer keeps the reward code. Approve once you're confident the order is final.
Deny
Click ✕ and choose a reason. The referrer gets an email with it.
| Reason | Text in the referrer's email |
|---|---|
| Order canceled or refunded | Your friend's order was canceled or refunded. |
| Self-referral | The order was placed by you, so it can't count as a referral. |
| Not a new customer | Your friend had shopped with us before, and rewards are for new customers only. |
| Other | Your note (required, up to 200 characters) |

The note field appears when you choose Other.
You decide once per referral order. Referral rows have no Undo: an approved row can't be denied and a denied row can't be approved.
Rows the app decides for you
| What happened | Result | Email to referrer? |
|---|---|---|
| The friend is the referrer (same customer or email) | Denied · Self-referral | No |
| Same shipping address (down to the house or apartment number) and same recipient name as the referrer's first order | Denied · Same address and name as the referrer | No |
| The friend has ordered from you before | Denied · Not a new customer | No |
| The referrer is Inactive in Affiliates | Denied · Code was disabled | No |
| Same shipping address and same recipient name as an earlier friend order in the same program | Denied · Same address and name as an earlier friend order | No |
| The order is canceled while still Pending | Denied · Order canceled | Yes |
| The order is fully refunded while still Pending | Denied · Order refunded | Yes |
| The order is partly refunded while still Pending | Stays Pending, you decide | — |
Hover over a Denied badge to see the reason. A family member at the same address with a different name is not blocked: the order comes in as Pending and you decide.
If Shopify never told the app that an order was canceled or refunded, the row can stay Pending. Click ✓ anyway: the app checks the order first, denies it and shows This order was canceled or refunded, so it was denied.
When a reward code or email fails
| Status tooltip | What to do |
|---|---|
| Couldn't create code | Click the Try again icon (refresh) on the row. You see Creating the reward code again. |
| Email failed | Click the Resend reward email icon on the row. You can resend once every 10 minutes; the code is already created and works. |
Referrers in Affiliates
Every buyer who taps the block appears in Affiliates with a Referrer badge. Next to the email you also see Source: Thank you page · Order #1234 (the order where they tapped the block); it may be cut off in the list, and Edit referrer shows it in full. Use Add filter → Type (All / Affiliates / Referrers) to see referrers on their own.

- Referrers have no partner portal. They follow their rewards through the 3 emails.
- Edit referrer lets you change the name and Status. Setting a referrer to Inactive removes their gift code, so friends can no longer use it. Their pending rewards can't be approved until you set them Active again (they get the same code back if it is still free).
- Delete referrer: codes this person shared stop working. Past orders stay in Conversions as Deleted referrer. You can only deny their pending rows, and no email is sent.
- A referrer's email can't be added as an affiliate for now (This email belongs to a referral customer...). Use a different email.
A gift code is being shared publicly (for example, on a coupon site)? Set that referrer to Inactive in Affiliates → Edit referrer. You still see every friend order in Conversions before you approve it.
Emails sent to referrers
| When it's sent | Default subject | |
|---|---|---|
| Friend order pending | A friend places a valid order with the gift code | Your friend just ordered from [store name] |
| Referrer reward | You approve the order and the reward code is created | You've got a [reward] gift from [store name] |
| Reward denied | You deny the order, or it was canceled or fully refunded while Pending | About your referral reward from [store name] |
- Every email includes the referrer's own link again, so they can keep sharing. No email shows the friend's name or email.
- Rows the app denies on its own for self-referral, returning customer, inactive referrer or duplicate address don't send an email.
- You can't turn these emails off, but you can edit their content in Settings → Emails, in the Refer a friend group (Sent to the referrer).
- If a referrer unsubscribes, they stop getting Friend order pending and Reward denied. They still get Referrer reward, because it carries a code you approved.
See Email Notifications for all app emails.
Codes at a glance
| Friend's gift code | Referrer's reward code | |
|---|---|---|
| Example | ANNA7K2Q (first name + 4 random characters) | THANKS-7KQ2MX |
| One per | Referrer: all their friends share it | Friend order you approve |
| How it's used | Applied automatically from the link, or typed at checkout | Typed at checkout on the referrer's next order |
| Who can use it | New customers only, once per customer | The referrer: they check out with the same email address. Single use |
| Expiry | None | 90 days after it's created |
| Combines with | Nothing | Other reward codes (up to 5 in one order). Not with product or shipping discounts |
| In Shopify Discounts | Part of your program's Refer a friend discount | A separate code titled Refer a friend reward |
How it actually works
- Only the code counts. A friend's order is linked to the referrer by the gift code on the order. If the friend opens the link but removes the code at checkout, the order is not counted.
- Affiliate codes win. If an order carries both an affiliate's coupon and a gift code, the affiliate gets the conversion and no referral row is created. If the gift code is blocked (for example, not a new customer) and the friend came through an affiliate's link, the affiliate gets the conversion.
- Several referral programs: up to 10 can be Active. The block shows the newest Active program the order matches. Existing referrers move to a newer program when one of their own new orders matches it, and keep their link. See Run several referral programs.
- Conditions are checked twice. Once when the Thank you page loads (to choose what the block shows), and again on our server when the buyer taps Send a gift to friends. The second check decides the program the referrer joins.
- Collections and customer tags are checked on our server. If the check doesn't finish within 3 seconds, those programs count as not matched for that page view, and the block shows the next matching program or stays hidden. Product conditions and order value (in your store currency) are checked instantly.
- Order value is the products subtotal after all discounts, before shipping and taxes, in your store currency. When the buyer pays in another currency, it's checked on our server like collections.
- Customer tags are the tags of the customer attached to the order, even when the buyer didn't log in. Orders without a customer (guests) have no tags.
- Changing reward values: Pending rows keep the reward that was valid when the friend ordered (the amount already promised by email). New orders use the new value, and the block updates right away.
- Program set to Inactive: the block stops showing that program (it hides if no other Active program matches the order). Codes already shared keep working unless you tick Also stop shared codes, but new friend orders no longer earn rewards. Pending rows you already have can still be reviewed. See Turn off a program.
- The link is offered for 24 hours after the order. A buyer who leaves the Thank you page without copying the link gets it again in every referrer email.
- Test orders are ignored. Orders placed with Shopify's test gateway never create a referral row or send an email.
- The referral program is switched off for your store: the block hides, codes already shared keep working, and you can still review Pending rows in Conversions.
Known limitations
- Don't turn off or delete the Refer a friend discount in Shopify → Discounts. Friends' gift codes stop working. To pause the program, set it to Inactive in the app. To stop one person's code, set that referrer to Inactive in Affiliates.
- Uninstalling and reinstalling the app can remove the block from your Thank you page, and the app can't tell whether it's still there. Add Refer a friend again in the checkout editor after reinstalling. While the app is uninstalled, friends' gift codes don't work, reward codes already sent still work, and Pending rows wait for you.
- The block text is English only and can't be edited yet.
- Referrers can't see their rewards in a portal. They are informed only by email.
- No automatic approval. Every reward waits for you in Conversions.
- Collection and customer tag conditions can delay the block by up to 3 seconds, and a slow check counts as not matched for that page view.
- The app doesn't tell you which program is never shown. A newer program that matches the same buyers always wins, so check your programs from newest to oldest.
- A friend using a different email and a different address is not blocked automatically. Check suspicious rows before you approve.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| No Referral program option when you click Create program, and no Home card | The referral program is not turned on for your store yet | Contact support to turn it on |
| Banner Buyers can't see your referral program yet. | No buyer has seen the block yet: it's not added to the Thank you page, or there's been no order since you added it | Add Refer a friend in the checkout editor (Thank you page), save, then place an order |
| Block doesn't show on the Thank you page | No Active referral program, the block isn't added, the order has no email, or the order doesn't match any program's Who gets this offer | Set the program to Active, add the block, check the order has an email. Compare the order with the Who gets a link column in Programs |
| The block shows a different program than you expected | A newer Active program also matches the order. The newest program wins, including All customers programs | Turn off the newer program, or narrow its conditions |
| The block appears a few seconds late | A program uses Collections in the order or Customer tags (checked on our server, up to 3 seconds) | Expected. Use Products in the order when you need the block instantly |
| Needs access in the Who gets a link column, or Product access was removed in the form | The app's product access was removed | Click Allow access in the form. Until then, saved products still match, collection conditions are skipped (Not applied), and you can't change products or collections |
| You can have up to 10 active referral programs. Turn one off first. | You already have 10 Active referral programs | Turn one off, then activate this one |
| This program has referrers. Turn it off instead. | Only programs with no referrers can be deleted | Use Deactivate |
| A friend's code stopped working after you turned a program off | You ticked Also stop shared codes | Turn the program on again to make the codes work |
| Two blocks on the Thank you page | The block was added both under the header and somewhere else | Remove one in the checkout editor |
| Buyer sees This gift isn't available for your order. | The order is older than 24 hours, or the buyer's referrer profile is Inactive | Expected. Set the referrer Active in Affiliates if it was a mistake |
| A friend says the code didn't work | The friend has ordered before (new customers only), already used it once, or the referrer is Inactive | Expected for returning customers. Otherwise check the referrer's status and that the Refer a friend discount is active in Shopify Discounts |
| A friend ordered but there's no row in Conversions | The order had no gift code, it was a test order, it carried an affiliate's coupon, or the referrer's program is Inactive (new friend orders don't earn rewards) | Check the order's discount codes in Shopify |
| ✓ is disabled on a referral row | The order isn't paid yet, or the referrer was deleted | Wait for payment, or deny the row |
| Activate this referrer in Affiliates before approving. | The referrer is Inactive | Set them Active in Affiliates, then approve |
| You can resend this email again in a few minutes. | You resent the reward email less than 10 minutes ago | Wait 10 minutes |
| The referrer says they never got the reward | The code or the email failed, or the email is in spam | Hover over the Approved badge, then use Try again or Resend reward email |
| The referrer can't use the reward code | They checked out with a different email, the code expired (90 days), or it was already used | Ask them to use the email they bought with the first time |
Data & privacy
- A referrer is created from the order's email, name and shipping address, only when the buyer taps Send a gift to friends. Nothing is created if they don't tap.
- The shipping address and name are kept only as a one-way fingerprint, used to spot self-referrals and duplicate friend orders. The app can't read the address back from it.
- Referrer emails never include the friend's name, email or order details.
Next step
- Approve or Deny Conversions — how the Conversions table works.
- Email Notifications — every email the app sends.
- Create a Program — set up an affiliate program for partners and influencers.