--- title: "Code-Based Referral Program" slug: "code-based-referral-program" tags: ["Loyalty and Referrals", "Shopify Plus", "Shopify"] updated: 2026-02-06T07:12:29Z published: 2026-02-06T07:12:29Z canonical: "support.yotpo.com/code-based-referral-program" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.yotpo.com/llms.txt > Use this file to discover all available pages before exploring further. # Code-Based Referral Program Products Loyalty & Referrals ###### Supported plans Premium, Enterprise ###### eCommerce Platform Shopify, Shopify Plus > [!WARNING] > Important > > Code-based referrals are not supported with [the new Referrals Program](https://support.yotpo.com/docs/configuring-your-referral-program-settings-for-shopify). The Code-Based Referral Program is perfect for merchants who want their customers to use a personalized referral **code** to refer their friends instead of the referral link. Using a personalized referral code instead of a referral link encourages word-of-mouth referrals, and ambassador engagement, and provides the opportunity for a re-engagement mechanism in your packaging inserts! If the feature is included in your plan, it must be enabled before the primary use. To enable the feature please contact your Customer Success Manager. ## Co**de-based referral flow** **Note** Code-based referrals do not work at Recharge checkout 1. Referring Customers refer a friend (via email, social platforms, etc). 2. Referred Customers **receive** the referring customer's **personalized code**. 3. Referred Customers apply the unique code in the **Discount box** at checkout. Code-Based Referral is complete! **Code Generation & Customization:** Yotpo Loyalty & Referrals generates referral codes for your customers in the following format: **FIRSTNAME###** ## Changing the code 1. Go to the **Customers** section of your Yotpo Loyalty & Referrals admin. 2. Select the relevant customer. 3. Click the **Edit Referral Discount Code** button in the customer's profile and edit the code: ![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/image-1684844343730.png?sv=2026-02-06&spr=https&st=2026-11-14T16%3A20%3A05Z&se=2026-11-14T17%3A20%3A05Z&sr=c&sp=r&sig=QPQRwaHiMpFhuFwFAqC2CYxVJ0fGf3IxDlG3K0rYU1Y%3D) > [!WARNING] > Important > > There is still a reward link in your customer's profile as well. Make sure to use: *|referral_discount_code|* in Yotpo Loyalty & Referrals Emails or ESP to populate the discount code instead of the link.