Set up your referral program
This article's section starts at 0:00 in the video.
By the end of this guide you'll have a live referral program: existing customers get a shareable code, their friends get a discount at checkout, and the referrer earns store credit when the friend's order comes through.
Prerequisites
DollarBack is installed and your storefront widgets are active. Customers see their referral code inside the floating widget, their account pages, and the loyalty page, so at least one of those surfaces should be live. See How customers share referral links.
You don't need any cashback program running; referrals work on their own.
Step 1. Create your first config
Go to DollarBack admin β Referral.
Click Add Config. A new configuration card appears (labeled Config 1).
Give it an Internal Title, e.g. "Give $10, get 10%". This name is only visible to you in the admin.
Set a Code Prefix (e.g.
FRIEND). Every customer's referral code starts with this prefix.
The Code Prefix cannot be changed once the config is saved, because codes are generated from it in bulk. Pick it deliberately.
Leave Customer Tags empty for your first config. Tags are how you target a config at a specific group of referrers (say, VIPs). With no tags, the config applies to everyone. See Run multiple referral configs.
Step 2. Set the referrer reward
Under Referrer Reward, choose what the person doing the referring earns:
Cashback Type
Percentage of Order Β· Fixed Amount
Percentage of Order
Cashback Value
Number
10 (%)
The referrer is always paid in store credit: Shopify-native credit they can spend at checkout. For a "Give $10, get 10%" program, this side is the "get 10%".
Step 3. Set the referee discount
Under Referee Discount, choose what the referred friend gets when they use the code:
Discount Type
Percentage of Order Β· Fixed Amount
Fixed Amount
Discount Value
Number
10 ($)
Minimum Order Value
Number
30 ($)
The referee's reward is a discount code applied at checkout, the same code the referrer shares. The Minimum Order Value is the smallest order the code will work on.
Step 4. Set conditions and limits
Under Usage Limits:
Allow discounts for new customers only: on for a classic refer-a-friend program; existing customers can't use a referral code on their own account.
Maximum discount code uses per referee: how many times one referred customer can use the discount. Set to 1 for first-order-only.
Expires after: the number of days before the referrer's reward expires.
Each condition is covered in depth, with pass/fail examples, in Referral conditions & limits.
Step 5. Check the combination rules
The Combination Rules section controls which other discounts the referral discount can stack with at checkout: Product Discounts, Shipping Discounts, Order Discounts. These toggles apply to all referral configs, not just this one.
Step 6. Save and let code generation run
Save the config. DollarBack now generates a referral code for every eligible customer and attaches the whole batch to a shared Shopify discount. While this runs you'll see a Bulk Operation in Progress banner ("Referral codes are being generated. Please wait until the operation completes before making changes.") and the editor is locked.
This is expected: the codes are written to Shopify in bulk, and editing the config mid-generation would leave half the codes on old rules. On large customer bases it can take several minutes. You'll see a "Bulk operation completed successfully" toast when it's done. Details in Referral codes & bulk sync.
Verify it works
On your storefront, sign in as a test customer and open the floating widget or account page. A referral code with your prefix should be visible.
In an incognito window, add $30+ of product to the cart (to clear the minimum order value) and apply the code at checkout as a brand-new customer. The referee discount should apply.
Complete the order, then check DollarBack admin β Analytics β Referral: the order appears in the logs, and the referrer's store credit lands per your reward settings.
Common issues
The code doesn't apply at checkout β check the minimum order value and the new-customers-only toggle first; see A referral wasn't tracked.
The referrer got no credit even though the discount applied β the order may have been fully paid with store credit or gift cards; see How referral rewards are calculated & tracked.
No referral code shows on the storefront β generation may still be running, or the widget isn't active; see A widget isn't showing on my store.
Related articles
Last updated