Skip to content

Woo Affiliate Referral Tracker

Free WordPress plugin for WooCommerce Version 1.0.0 GPL-2.0-or-later

Woo Affiliate Referral Tracker is a free WordPress plugin that runs a simple affiliate program inside your WooCommerce shop. Every registered user gets a referral link. A visit through the link sets a cookie for the number of days you choose, and when that visitor's order is completed the plugin records a percentage commission on the items after discounts. Affiliates see their link, visits and earnings with the [wart_affiliate_dashboard] shortcode, and you mark commissions as paid and export them as CSV under WooCommerce → Affiliate Referrals.

Download free Try the live demo

Who it is for

  • WooCommerce shop owners who want customers, bloggers or partners to promote the shop for a commission, without a monthly service.
  • Shops that tried a big affiliate suite and only need links, a cookie, commissions and a payout list.
  • Developers who need a small, readable base to build their own affiliate rules on, with documented hooks.

What it does

  • A referral link for every registered user: https://your-shop.com/?ref=abcd2345 (the parameter name can be changed).
  • A cookie for 1 to 365 days (default 30); the last link clicked wins; each new visit is counted once.
  • A percentage commission (default 10%) on the items after discounts, without shipping, fees and tax, recorded once per order when it becomes Completed.
  • A refunded or cancelled order rejects its unpaid commission; customers never earn on their own orders.
  • Affiliate dashboard shortcode [wart_affiliate_dashboard]: the link, visits, referrals, unpaid and paid earnings and the last 20 referrals.
  • WooCommerce → Affiliate Referrals: every referral with a status filter, a "Mark paid" button and CSV export.
  • Works with the classic and the block checkout and with WooCommerce order tables (HPOS). No outside service: everything stays in your database.
  • Hooks for developers: wart_referrer_for_order, wart_commission_rate, wart_commission_amount, wart_cookie_days, wart_referral_recorded, wart_referral_paid, wart_referral_rejected, wart_export_row, wart_dashboard_after.

Live demo

See Woo Affiliate Referral Tracker working with sample data: the site owner screen and what your visitors see. Change anything and watch the result.

your-shop.example › My account › Affiliate

Affiliate dashboard

Every registered user of the shop gets a link. On your site: [wart_affiliate_dashboard] on any page.

https://your-shop.example/?ref=DEMO7K2Q
3Visits
2Referrals
$6.00Unpaid
$10.00Paid

Open the live demo

How to install

  1. Make sure WooCommerce is installed and active.
  2. Download the zip file (the link arrives by email).
  3. In WordPress open Plugins → Add New → Upload Plugin, choose the zip and click Install Now, then Activate.
  4. Open WooCommerce → Affiliate Referrals → Settings and set the commission rate and the cookie length.
  5. Create a page with the shortcode [wart_affiliate_dashboard] and link it from your menu, so your users can copy their referral link.

Download Woo Affiliate Referral Tracker 1.0.0

Enter your email and we send you the download link. The same address gets one short email when this tool has a new version, with what changed. Nothing else is ever sent, and every email has a one-click unsubscribe link.

Version history

Version 1.0.0 — November 28, 2026

  • First release

Known bugs

No known bugs in version 1.0.0. Found one? Tell us through the customer portal.

Questions

When is a commission recorded?

When an order that came through a referral link, within the cookie length, gets the status Completed. It is recorded once per order, as Unpaid. If the order is later refunded or cancelled before you pay, the commission is rejected.

What is the commission calculated on?

On the items total after discounts, without shipping, fees and tax. For example 10% of a $120 order with a $20 coupon and $8 shipping is $10.00.

How do I pay my affiliates?

In the way you agree with them, for example a bank transfer, PayPal or store credit. Then click "Mark paid" next to each referral. The CSV export gives you the list with each affiliate's name and email.

Does it work with the block checkout and HPOS?

Yes. The referral is attached to the order at the classic and at the block checkout, and orders are read and written only through WooCommerce's own order functions, so it works with the order tables (HPOS) and with the older post storage.

What does the new version notice send?

Twice a day the plugin asks affiliatepro.org whether a newer version exists. It sends only the plugin name and the installed version (and, like any web request, your server's IP address). It can be turned off in the plugin settings.

What happens when I delete the plugin?

Deleting it from the Plugins screen removes its referrals table, its settings, the referral codes and visit counts on users and the affiliate mark on orders. Deactivating keeps everything.

Request custom development

Multi-tier commissions, batch payouts to your affiliates through PayPal Payouts, or crediting a sale to an affiliate by coupon code. We build extensions on top of this tool for your site.

Request custom development

Related AffiliatePro products