Home > Docs > URL Coupons for WooCommerce > How to Use WooCommerce Coupon URLs for Affiliate Marketing

How to Use WooCommerce Coupon URLs for Affiliate Marketing

Last updated on April 24, 2026

The WebToffee URL Coupons for WooCommerce plugin helps you manage your affiliate campaigns by creating unique, shareable links that apply discounts automatically. To set this up, go to Marketing > Coupons in your WordPress dashboard and create a new coupon for your partner. By entering a unique identifier (like the affiliate’s name) in the ‘URL options’ tab, you can generate a custom link that tracks conversions and redirects customers to your store with the discount already applied.

Step 1: Set up a coupon

To establish a coupon:

  • From the WordPress admin dashboard, navigate to Marketing > Coupons > Add Coupon.
  • Key in an appropriate coupon code and description. (Keeping the affiliate name as the coupon code can help in easy monitoring).
  • Configure the coupon from the coupon data meta box.
  • For instance, consider providing a 30% discount to customers accessing the affiliate link.
Configuring coupon
Configuring coupon
  • Furthermore, set up the Usage restrictions and Usage limits as per requirements.

Step 2: Configure the affiliate coupon

To configure an affiliate coupon:

  • After setting up the basic coupon details, go to the URL options tab within the coupon data meta box.
  • In the Unique URL field, key in a unique text to identify the affiliate.
  • Example: https.www.mysite.com/johndoe, where johndoe is the unique text.
  • From the Add products to cart field, select the products that you want to add to the cart automatically upon clicking the link. Keep it blank if you don’t want to add any products automatically.
  • From the After applying, redirect to section, select a page where you want to redirect the customer to, on clicking the affiliate link (redirected to cart page by default).
  • To add your logo to the QR code, enable the option Display logo on QR code and upload your logo.
Configure URL Coupon
Configure URL Coupon
  • Click on Publish.
  • Now, the link (https://www.mysite.com/johndoe) or the generated QR code can be shared with the affiliate.

To monitor the affiliate link and to find out how many customers reached out through the link:

  • From the WordPress dashboard, navigate to Marketing > Coupons.
  • Under the Usage/Limit section, you’ll find the count of coupon redemptions via the affiliate link.
Monitoring Affiliate link
Monitoring Affiliate link