🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

WooCommerce Referral Coupons Add-on Setup Guide

Updated 7 min read WooCommerce Store & Checkout
On this page
  1. Video walkthrough
  2. Step 1: Install and Activate Your License
  3. Step 2: Switch On the Programme and Choose the Link
  4. Step 3: Set the Welcome Coupon for Friends
  5. Step 4: Set the Reward for the Referrer
  6. Step 5: Fraud Protection
  7. Step 6: What Customers See
  8. Step 7: Statistics, Lists and Exports
  9. Cancellations and Refunds
  10. Privacy
  11. Troubleshooting

Video walkthrough

WooCommerce Referral Coupons: Refer-a-Friend Links, Welcome Discount & Rewards
Maya shares her referral link, her friend Sam gets 10% off a first order, and when that order is completed Maya receives a $10 reward coupon by email. Watch on YouTube

The WooCommerce Referral Coupons Add-on turns your customers into a referral channel. Every customer gets a personal referral link and code. Friends who use it get a welcome discount on their first order, and the customer who invited them gets a reward coupon as soon as that order is complete. Every referral is checked against fraud rules on your own server, and rewards are taken back when a friend’s order is cancelled or refunded before the reward is used.

This guide covers installation, the welcome coupon, the reward coupon, fraud protection, what customers see, the admin statistics, exports, privacy and troubleshooting.

System Requirements & Prerequisites

  • WordPress: Version 6.5 or higher
  • PHP: Version 7.4 or higher
  • WooCommerce: Version 8.5 or higher (classic cart and checkout or the Cart and Checkout blocks, HPOS on or off)
  • Coupons: “Enable the use of coupon codes” switched on in WooCommerce → Settings → General
  • GravityExtra license: The add-on installed, activated and licensed with an active GravityExtra license key

Step 1: Install and Activate Your License

  1. Download the add-on zip from your GravityExtra account and go to Plugins → Add New → Upload Plugin.
  2. Upload the zip, click Install Now and then Activate. WooCommerce must be active.
  3. Open WooCommerce → Referral Coupons → License, paste your license key and click Activate License.

Until the license is active the programme is paused: referral links are not tracked, the welcome code does not work and no new rewards are created. Reward coupons that were already sent are normal WooCommerce coupons and keep working.

Go to WooCommerce → Referral Coupons → Settings. In the Programme card:

  • Referral programme — on by default. Customers then find Refer a friend in My Account.
  • Link parameter — links look like https://yourstore.com/?invite=AB12CD34. The parameter works on every page of the store, so customers can also share a product link with ?invite=CODE added. Change it if another plugin already uses invite.
  • Remember the link for — how many days the invitation is kept in the friend’s browser (30 by default). If a friend clicks two different links, the last one counts.

When a friend opens a referral link, the store keeps a small signed cookie with the code and the time of the visit, counts the visit once per visitor and day and shows the same page without the code in the address. No IP address is stored; visits from link previews and bots are not counted.

Step 3: Set the Welcome Coupon for Friends

In the Welcome coupon for the friend card choose what invited friends get on their first order:

  • Discount — a percentage (for example 10%) or a fixed amount off the cart.
  • Minimum spend — for example $50; below that amount the discount is not added.
  • Offer ends on — an optional end date for the whole welcome offer.
  • Apply it automatically — the discount is added to the cart as soon as a friend who came with a link has products in the cart and the minimum is reached. If the friend removes it, it is not added again.
  • Cannot be combined with other coupons and Does not apply to sale items — the usual WooCommerce coupon options.

The referral code itself is the coupon code, so a friend who heard about your store in person can simply type the code in the coupon field. The welcome discount is always for first orders only and never works for the referrer’s own account, e-mail address or home address.

WooCommerce Checkout block order summary for a friend who came with a referral link: an $80.00 backpack with the Welcome discount (referral code) of $8.00 applied automatically and a total of $72.00
The welcome discount applied automatically in the Checkout block.

In the cart and at checkout the discount is labelled Welcome discount (CODE), on the classic pages and on the Cart and Checkout blocks.

Step 4: Set the Reward for the Referrer

In the Reward coupon for the referrer card:

  • Reward — a percentage or fixed amount, for example a $10 coupon.
  • Give the reward when the friend’s order is — Completed (default, safest) or Paid (Processing or Completed).
  • Friend’s order at least — an optional minimum order total after discounts.
  • Reward minimum spend and Reward valid for — the minimum order and the validity in days of the reward coupon (0 = no expiry).
  • Rewards per referrer per month — a monthly limit per customer (0 = no limit). Referrals above the limit are recorded as Monthly limit reached.

Each reward is a normal one-time WooCommerce coupon with a code like RWD-7FBVGV8V, locked to the referrer’s e-mail address. You find them in Marketing → Coupons. The referrer receives the code by e-mail; edit the subject, heading and text in WooCommerce → Settings → Emails → Referral reward.

Step 5: Fraud Protection

Every referred order is checked before a reward is given:

  • Own account — a customer cannot use their own link or code.
  • Own e-mail — the order e-mail is compared with the referrer’s account and billing e-mail, ignoring capital letters, +tags and dots in Gmail addresses.
  • Own address — optional: the billing and shipping address of the order are compared with the referrer’s saved addresses.
  • First orders only — customers with an earlier paid, on-hold, completed or refunded order are not new customers.
  • One reward per new customer — the same person cannot be referred twice, even by different referrers or with a different spelling of the e-mail.

Guests are checked again when they place the order. If the order turns out not to be eligible, the welcome discount is removed with a clear message and the customer can place the order at the normal price.

Step 6: What Customers See

WooCommerce My Account Refer a friend page with the referral link and Copy link button, the referral code, share links for e-mail, WhatsApp, X and Facebook, the statistics for link visits, sign-ups, friends who ordered and rewards, the reward coupons and the list of referrals
My Account → Refer a friend: link, code, share links, statistics and rewards.

My Account → Refer a friend shows the offer in plain words, the referral link with a Copy link button, the code, share links for e-mail, WhatsApp, X and Facebook, the number of link visits, sign-ups, friends who ordered and rewards, the reward coupons with their value, validity and status, and the list of referrals with their date and status. Friends are never shown by name or e-mail address.

Step 7: Statistics, Lists and Exports

WooCommerce Referral Coupons admin screen with statistics for link visits, sign-ups, referred orders, referred revenue, rewards sent and rewards used, and the list of referrals with referrer, order, customer, total, status and reward coupon
WooCommerce → Referral Coupons: statistics and the list of referrals.

WooCommerce → Referral Coupons shows link visits, sign-ups, referred orders, referred revenue, rewards sent and rewards used. The Referrals tab lists every referred order with the referrer, the order, the customer e-mail, the total, how it was referred (link, code or account), the status with the reason and the reward coupon; filter by status or search by code, e-mail or order number. The Referrers tab shows the totals per customer. Both lists can be exported as CSV; cells that start with =, +, - or @ are written so spreadsheets do not run them as formulas.

Each order screen also has a Referral box with the referrer, the status and the reward coupon.

Cancellations and Refunds

  • An order that is cancelled, fails or is refunded before the reward is given simply gets no reward (and the friend can still count with a later real first order).
  • An order that is cancelled or refunded after the reward is given takes the reward back if it has not been used: the coupon is moved to the trash and the monthly count is given back.
  • If the reward was already used, it stays and the referral shows Order refunded, reward already used, so you can decide what to do.
  • Partial refunds lower the referred revenue in the statistics.

Privacy

Referral data is included in Tools → Export Personal Data and Erase Personal Data. Erasing removes the customer’s code and visit records and the e-mail address on referrals, while the anonymous totals stay in the statistics. A suggested text for your privacy policy is added in Settings → Privacy.

Troubleshooting

  • The welcome discount is not added automatically — check that coupons are enabled in WooCommerce, that the cart reaches the minimum spend and that the offer has not ended. A customer who removed the discount can type the code again.
  • “The referral welcome discount is for a first order only” — the customer already has an order in your store.
  • “You cannot use your own referral code” — the account, e-mail or address belongs to the referrer.
  • No reward after a completed order — open the order’s Referral box or the Referrals list: the status and reason explain why (for example the monthly limit).
  • Page caching — referral links redirect once and set a cookie; caching plugins usually skip URLs with query parameters. If yours does not, exclude the link parameter.

Good to know

  • The referral code is not a stored coupon, so it never appears in Marketing → Coupons; reward coupons do.
  • Orders created by hand in the admin are not treated as referrals.
  • Deleting the plugin keeps the referral data unless Delete referral codes, statistics and settings when the plugin is deleted is on; reward coupons always stay.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr