How to Create Shopify Referral Links with Automatic Discounts

Word-of-mouth drives more purchases than any ad campaign. Nielsen says 92% of consumers trust recommendations from people they know. But most Shopify stores still handle referrals the same way: give the customer a discount code, ask them to share it, and hope their friend remembers to type it in at checkout.

That's a lot of hoping.

The problem isn't the incentive. It's the friction. A discount code is an extra step between "my friend recommended this" and "I bought it." And every extra step in checkout is where you lose people.

A referral link with an automatic discount removes that step entirely. The friend clicks the link, the cart loads with the right products, the discount applies automatically, and they check out. No code to remember. No coupon field to find. One click from recommendation to purchase.

Why Discount Codes Don't Work for Referrals

Discount codes were designed for marketing campaigns, not word-of-mouth. Here's where they break down when customers try to share them.

Codes get lost. Your customer texts their friend "Use FRIEND15 at checkout." The friend opens your store on their phone three days later and can't find the text. They either pay full price (and feel annoyed later) or abandon the cart.

Codes get replaced. Your customer shares FRIEND15. The friend adds items to cart, reaches checkout, and sees a coupon field. They google "[your store] discount code" and find WELCOME10 on a coupon aggregator site. Now they're using the wrong code, and you have no idea the referral happened.

Codes can't carry context. A discount code is just a string. It doesn't include which products the friend was recommending, what quantities make sense, or any of the context that made the recommendation compelling. The friend lands on your homepage and has to figure out what to buy from scratch.

Codes are hard to track. If 50 people use the same referral code, you know the code is working. But you don't know which customer referred which friend, or which channel (text, email, Instagram DM) drove the most conversions. You're flying blind on attribution.

How Referral Links Work Better

A referral link is a URL with everything baked in: products, quantities, discounts, and attribution. When someone clicks it, they land on a page with the recommended products already loaded and the discount already applied.

Here's the difference:

Discount Code Referral Link
What the friend receives "Use FRIEND15 at checkout" A clickable URL
What happens on click Nothing — they still need to find the store and products Cart loads with products and discount
Discount application Manual — friend types code at checkout Automatic — applied on click
Product context None — friend browses alone Pre-loaded with recommended products
Attribution One code for all referrers (or create codes per person) Unique link per referrer with UTM tracking
Mobile experience Open store → browse → add to cart → find coupon field → type code Tap link → review cart → checkout

The mobile experience matters most. Most referrals happen over text or DM. The person receiving the recommendation is on their phone. A link they can tap beats a code they have to remember.

Creating Referral Links on Shopify

You can build referral links with Checkout Links. Each link gets its own URL with a pre-loaded cart, automatic discount, and tracking parameters.

Step 1: Create the Link with Your Best Sellers

Open Checkout Links in your Shopify admin. Create a new link. Add the products you want in the referral — your best sellers, a starter kit, or whatever you'd recommend to a friend.

Start with the products your existing customers buy most. If your top seller is a $35 moisturizer, build the referral link around that. Don't overthink it — the goal is to make the friend's first purchase as easy as possible.

Step 2: Add the Referral Discount

In the discount section, add a percentage or fixed-amount discount. 15% is the sweet spot for referral discounts — enough to feel meaningful, not so much that it kills your margins.

The discount applies automatically when someone opens the link. No coupon field, no code entry. The friend sees the discounted price from the moment they land on the page.

You can also add a minimum order threshold. "15% off orders over $30" protects you from customers using the referral link for a single low-margin item.

Step 3: Add UTM Tracking for Attribution

This is what makes referral links actually trackable. In the UTM section, set your tracking parameters:

  • utm_source: referral
  • utm_medium: the channel (email, sms, instagram, word-of-mouth)
  • utm_campaign: the referrer's name or ID

For individual referrers, create separate links with unique campaign tags. utm_campaign=sarah-j tells you Sarah sent this friend. When Sarah's friends convert, you see it in your analytics.

For a broader referral program, one link per channel works: utm_medium=sms for text referrals, utm_medium=instagram for DM referrals. You'll see which channel drives the most referred sales.

Step 4: Optional — Add a Pre-Checkout Landing Page

If you want the referral link to feel more polished than a straight-to-checkout experience, add a pre-checkout page. This is useful when:

  • The referral includes multiple products and you want the friend to see what's in the bundle
  • You want to add social proof ("Recommended by 200+ customers")
  • You want to show a callout about the discount ("Your friend sent you 15% off")

A simple pre-checkout page with a callout block, the product list, and a checkout button turns a bare link into a branded referral experience. Takes about a minute to set up.

Step 5: Share with Your Referrers

Every link has a short URL and a QR code you can download. Share the URL with the customers you want to refer friends:

  • Post-purchase email. Add the referral link to your order confirmation or post-purchase follow-up. "Love your order? Share this link with a friend — they'll get 15% off."
  • SMS. Text your best customers the link directly. Short, personal, easy to forward.
  • Packaging inserts. Print the QR code on a card in the box. "Share the love — scan for 15% off your friend's first order."
  • Customer service. When a customer leaves a great review or compliments your product, send them a referral link to share.

Referral Link Strategy That Works

Building the links is the easy part. Here's how to make the referral program actually drive sales.

Give Both Sides an Incentive

The classic "give $10, get $10" works because both the referrer and the friend benefit. With checkout links, you handle the friend's discount through the link itself. For the referrer's reward, send them a separate link with their own exclusive discount after their friend purchases.

You can automate this with a Klaviyo flow: when a referred order comes in (identified by the UTM tags), trigger an email to the referrer with their reward link.

Start with Your Best Customers

Don't blast referral links to your entire email list. Start with customers who've bought from you three or more times, left reviews, or responded to previous emails. These people already advocate for your brand — you're just giving them a tool.

A focused referral program with 50 engaged customers outperforms a mass blast to 5,000 unengaged ones.

Track and Iterate

In your Checkout Links dashboard, you'll see clicks and conversions for each referral link. After a month, look at:

  • Which referrers drive the most clicks
  • Which products get the highest conversion rate when referred
  • Which channels (SMS vs email vs social) convert best

Double down on what works. If SMS referrals convert at 3x the rate of email, shift your referral outreach to text. If a specific product converts better when referred, make it the default in your referral links.

Set Usage Limits to Create Urgency

Each link can have a usage limit. "Share this link — good for 10 friends" creates urgency and exclusivity. The referrer feels like they're sharing something limited, which makes the recommendation more compelling.

Expiration dates work the same way. "This link expires in 7 days" motivates the referrer to share it now instead of letting it sit in their inbox.

Referral Links vs Referral Apps

Full referral platforms like ReferralCandy ($59/mo) and Smile.io ($199/mo+) offer automated referral tracking, reward management, and dedicated referral portals. If you're processing thousands of orders monthly and want a fully automated two-sided referral engine, those apps earn their cost.

But most Shopify merchants don't need that level of infrastructure. They need a simple way to let happy customers share a link that gives their friends a deal. Checkout Links does that at $25/mo — and the links serve double duty for every other checkout shortcut you need (reorders, VIP deals, campaign landing pages, QR codes).

The right tool depends on your volume. Under 500 orders/month, referral links cover 90% of what you need. Above that, a dedicated referral app starts to make sense for the automation alone.

What a Good Referral Link Looks Like

Here's a referral link setup that works for most Shopify stores:

  • Products: Your best seller or a curated starter kit
  • Discount: 15% off (or $10 off orders over $40)
  • UTM source: referral
  • UTM medium: varies by channel
  • UTM campaign: referrer name or "general-referral"
  • Usage limit: 10-25 uses per link
  • Expiry: 30 days from creation

Share it in your post-purchase email. Include the QR code on a packaging insert. Send it to your top 50 customers by text. Track which channel converts best and lean into it.

Your customers are already recommending your products. Give them a link that makes it easy for their friends to buy.