How to create affiliate links for a Wix store
By Jake Marsh · Updated
To create affiliate links for a Wix store, add each affiliate in Repstub's Partners tab. Each one gets a referral code, and adding ?ref=THEIRCODE to the address of any page on your site makes it their link, for example https://yoursite.com/shop?ref=MAYA. When a visitor arrives through that link and places a paid order within the attribution window (30 days unless you change it), Repstub credits the affiliate. The last link clicked wins.
Steps
- Install Repstub from the Wix App Market and open it from the dashboard.
- Add the partner in Partners. Leave Referral code empty to have one made from their name, or type your own (3 to 32 letters, numbers, dashes or underscores).
- Copy the referral link from the partner's profile. It points at your home page; the partner can use the same
?ref=ending on a product page, a booking page or a blog post instead. - Set the window in Settings: how many days after a click an order still counts, from 1 to 90.
- Check your cookie banner. Repstub's tracking script counts a click only for visitors who allow the "Advertising" category.
- Start the trial. Clicks before the trial are ignored.
- Send the partner their page with Copy page link, so they can always find their link and see their earnings.
Links that work
| Link | Goes to |
|---|---|
yoursite.com/?ref=MAYA | Home page |
yoursite.com/product-page/linen-apron?ref=MAYA | One product |
yoursite.com/book-online?ref=MAYA | Your booking page |
yoursite.com/plans-pricing?ref=MAYA | Your pricing plans |
yoursite.com/shop?aff=MAYA | aff works the same as ref |
Links shared through a URL shortener still work as long as the full address with ?ref= is what opens.
What the link can and can't see
- Same browser, or the same member account. The click is remembered for that browser. If the visitor signs in as a site member, it follows the account. A click on a phone and a purchase later on a laptop, signed out, can't be matched.
- Visitors who decline advertising cookies aren't tracked. For those audiences give the partner a coupon code too: tracking affiliate coupon codes on Wix covers it, and a coupon on the order beats a link click.
- Nothing shows on your pages. Visitors see your site as normal; there's no banner or badge.
Example
A partner posts yoursite.com/product-page/linen-apron?ref=MAYA on a Monday. A reader clicks it, browses, leaves, and comes back on Friday by typing your address. The order still goes to Maya, because it's inside the 30-day window in the same browser. If the reader had clicked another partner's link on Wednesday, the Wednesday click wins.
What it costs
Repstub is billed through Wix with your site, with a 14-day free trial; Wix asks for a card when the trial starts. Standard is $39 a month or $384 a year ($32 a month billed yearly) for up to 50 affiliates and reps. Pro is $99 a month or $984 a year ($82 a month) for up to 500, with tiers, splits, renewal rules, staff orders and draws. Scale is $149 a month or $1,488 a year ($124 a month) with no practical partner limit. There's no free plan.
Repstub: Affiliate & Rep Commissions
Pay affiliates and sales reps on real orders, with approval before payout From $39 a month per site, or $32 a month billed yearly.
Questions
Does every page of my site work with the link?
Yes. The code is read from the address of whatever page the visitor lands on, so partners can link straight to the product they're talking about.
Can I change a partner's code later?
Yes, edit their Referral code. Links with the old code stop counting, so tell the partner first.
Will links from before my trial count?
No. Clicks and orders count from the moment the trial starts.
Is there a link a new affiliate can use to apply?
Yes. Share your join page link. Applications wait in Applications for you to approve, and approved partners get their code and partner page right away.
What about orders nobody referred?
They appear in Sales as "No partner". If you know who sent the customer, assign the order to that partner by hand.
More Repstub guides
More Wix guides
- How to export Wix orders to Google Sheets and keep them updated (Rowstub)
- How to remove prices on a Wix store and take quote requests instead (Quotestub)
- How to add an evergreen countdown timer to Wix that can't be reset (Sandstub)
- How to email the submitter when a Wix form is approved or rejected (Okaypath)