- A referral code is a short, unique code that tells a business which customer sent you, so the right person gets the reward.
- Use the code or link while you sign up. Some programs can't attach it later, so contact support right away if you forget.
- To run your own program, pick a reward, keep the conditions to one sentence, and give it a home page. No software needed to start.
You've seen the little "Referral code" box at signup. Maybe a friend just texted you something like MARIA5 and you're not sure where it goes, or whether it still counts. This guide answers that quickly, then switches sides of the counter: how to set up referral codes for your own small business, using Dynadot's program as a worked example of fine print done clearly.
What is a referral code?
A referral code is a short, unique string of letters and numbers tied to one customer's account. When a new customer enters it at signup or checkout, the business knows who recommended them and can reward the person who shared it, the new customer, or both.
The person sharing the code is the referrer. The friend who uses it is the referee. So if Maria loves the bakery supplier she orders from, her code might be MARIA5. She texts it to a friend who's opening a café, the friend enters it when creating an account, and the supplier now knows Maria sent them.
Codes come in three common formats: static codes that never change (great for print), unique codes generated for each customer (better for tracking), and QR codes that open a referral link when scanned (handy on flyers and packaging).
How a referral code works
A referral code works in four steps: you get a code, you share it, your friend uses it at signup, and the business matches the two accounts and rewards you once the conditions are met. Visual 1 shows how those steps connect.
- Get your code: The business issues each customer a code, usually in their account dashboard.
- Share it: You pass it to a friend by text, email, a podcast mention, or in person.
- Your friend uses it: They type the code into the signup or checkout field, or click your referral link, which applies it automatically.
- The business matches and rewards: Its system links the new account to yours. Once the conditions are met, such as a first purchase or a short waiting period, you both get the reward.
Referral code vs. referral link vs. promo code vs. affiliate code
All four can get someone a deal. Referral codes, referral links, and affiliate codes also tell the business which person sent the customer, while a promo code usually just gives everyone who types it the same discount.
| Who holds it | Tracks a person? | How it's applied | Typical reward | |
| Referral code | Any customer | Yes | Typed at signup or checkout | Credit or a discount for one or both people |
| Referral link | Any customer | Yes | Clicked; the code applies itself | Same as a referral code |
| Promo code | The business, shared publicly | Usually not | Typed at checkout | A discount for the buyer only |
| Affiliate code or link | An approved partner, like a blogger or creator | Yes | Usually a tracked link | A commission for the partner, as with Dynadot Ambassador and affiliate programs |
Our take: if you're sharing online, send the link. It fills in the code for your friend, so nothing gets mistyped or skipped. Save the typed code for places a link can't go, like a podcast, a video shout-out, a sign at your register, or a chat over coffee.
Using a code someone gave you
Enter the code before you finish signing up, because some programs can't add it afterward. Here's the quick checklist:
- Find the field: Look for "Referral code" at signup or checkout. Some sites tuck it under "Promo code."
- Enter it exactly: Copy and paste if you can. Typing by hand is where 0 and O get mixed up.
- Check it was accepted: Make sure the site confirms the code before you move on.
- Read the conditions: Look for a minimum first order, a waiting period, or a "new customers only" rule.
- Finish the qualifying step: Complete the signup or first purchase so you both qualify.
Forgot to use the code?
Contact the company's support team quickly, with your order or account details and the code you were given. Don't assume it can be added later. Some programs only attach a referral at signup, so the sooner you ask, the better your chances.
A real example: Dynadot's Refer-a-Friend program
Good referral terms answer every "but what if" before anyone has to email support. We'll use our own program as the example, because we can show you every condition and the reason behind it. Here's how Dynadot's Refer-a-Friend program works today:
- The reward: Your friend gets $5 in account credit, and you get $5 for each new friend who qualifies.
- How your friend joins: They create a new Dynadot account through your referral link or code.
- The qualifying purchase: Their first order must be $9.99 or more.
- An activity check: Your friend's account must also have spent at least $1.99 in the last 365 days.
- Timing: Credit can take up to 15 days to arrive while the referral is checked.
- Limits: There's no cap on how many friends you can refer, and the credit never expires.
Notice what the fine print does. A minimum first order stops empty sign-ups made just to collect credit, and the 15-day window covers refunds. The amounts are small, and that's fine. What makes the program easy to share is that you can explain it to a friend in one breath.
Setting up referral codes for your business
You can launch a simple referral program with a spreadsheet, a code format, and one web page. Software helps later, once tracking by hand turns into a chore.
Pick one-sided or two-sided rewards
A one-sided program rewards only the referrer. A two-sided program rewards the friend too, which gives them a reason to actually use the code. For most small businesses, we'd pick two-sided with matching rewards, so nobody feels like they're being sold.
Design codes people can type
Keep codes short, around six to ten characters, and build them from something memorable like a first name plus a number. Skip look-alike characters such as 0 and O or 1 and l, make codes work in any case, and drop hyphens from any code you'll say out loud.
Give the program a home page
Your program needs one page that explains the reward, the conditions, and where customers find their code. Put it on your own domain, at an address you can say out loud, like yourbakery.com/refer. If your site is still a work in progress, our guide to websites and branding tools for small businesses covers the basics, and the Dynadot Website Builder lets you publish a simple page without a developer.
Write the conditions plainly
If you can't state your conditions in one sentence, the program is too complicated. Try something like: "When a friend places their first order with your code, you each get store credit within two weeks." Then add the details, including any minimum order and how long the wait is, right below it.
Track three numbers
A spreadsheet is plenty to start. Track how many customers share their code, how many referred friends go on to buy, and what the rewards cost you. Those three tell you whether the program pays for itself.
Block self-referrals
Limit rewards to genuinely new customers, give one reward per new account, and hold rewards until your refund window closes. That last rule is the same reason Dynadot waits up to 15 days.
Mistakes to avoid
- Spamming codes where they aren't welcome: Many forums and online communities ban posting referral codes, and dropping yours into unrelated threads looks like spam. Share it with people who asked.
- Vague conditions: "Qualifying purchase" means nothing until you say what qualifies.
- Silent reward delays: Tell people when the reward lands. A stated wait feels fair; a mystery wait feels like a broken promise.
- Look-alike characters: A code like 0OL1 will fail the first time someone types it from memory.
Our verdict
A referral code is just a name tag for a recommendation. Use the link when you can, enter the code before you finish signing up, and read the conditions once. If you're starting your own program, keep it simple enough to explain in one sentence and give it a page people can find.
Ready to give your referral program a home? Search for your domain at Dynadot and claim an address your customers can say out loud.
Frequently asked questions
What does referral code mean?
A referral code is a unique code linked to an existing customer. A new customer enters it at signup or checkout so the business knows who referred them and can hand out the reward.
Is a referral code the same as a promo code?
No. A promo code gives the same discount to anyone who uses it. A referral code is tied to one person, so it also tells the business who to thank.
Can I add a referral code after I sign up?
Sometimes, but don't count on it. Contact support right away with your order or account details. Some programs only attach referrals at signup.
Can I use my own referral code?
Usually not. Most programs limit rewards to new customers, and Dynadot's program is for new friends only.
Do referral codes expire?
It depends on the program, so check its terms. Dynadot's referral credit never expires once it's in your account.
Where do I find my Dynadot referral code?
Sign in, open "My Info," and choose "Refer-a-Friend." Our help file walks you through how to find your Dynadot referral code and share your link.