QR Codes for Referral Links

A QR code turns an affiliate’s referral link into something they can print, display or show on a screen — on packaging, a market stall, a business card or a slide — and the scan is tracked exactly like a click. Affiliate and Referral Program for WooCommerce builds the code inside the affiliate’s own dashboard, so you never generate anything by hand. Part of the plugin documentation.

Turn on QR codes

↑ Back to top
  1. Go to: WooCommerce > Affiliate & Referral > Advanced Features > General.
  2. Turn on QR code for referral links.
  3. Save Changes.
The Advanced Features General settings with the QR code for referral links option switched on.
Enabling QR codes

The QR tools now appear for every affiliate. There is nothing to configure per affiliate.

How an affiliate creates one

↑ Back to top

QR codes are made on the affiliate dashboard, on the link generator tab. Share these steps with your affiliates:

  1. Open the affiliate dashboard and go to the link generator under the affiliate tools menu.
  2. In Enter Url and generate your link, paste any page on the store — the home page, a product, or a category — and press Generate Link.
  3. Press Create QR code. The code for that exact link appears below.
  4. Press Download QR to save it as a PNG image.
The affiliate dashboard link generator with a generated referral link, the Create QR code button and the resulting QR code with a Download QR button.
Generating a QR code from a referral link

Because the code is built from whatever link the affiliate just generated, they can make a different code for every campaign — one for a product they are reviewing, one for a category, one for the home page.

The link has to be generated before the QR code can be created — the two buttons work in that order. The code is created fresh each time and is not stored, so an affiliate who reloads the dashboard simply generates it again.

How scans are tracked

↑ Back to top

A scan opens the referral link in the visitor’s browser, so it is tracked and credited exactly like a click on the same link — same attribution, same cookie duration, same commission rules. Scans appear in the affiliate’s link report together with clicks.

There is no separate scan counter: a QR scan and a tapped link are indistinguishable in the reports. If an affiliate wants to measure a printed campaign on its own, have them generate a code for a distinct landing page — for example a category page they only ever promote on that flyer — so its numbers stand apart in their link report.

Practical advice for print

↑ Back to top
  • The downloaded PNG is a fixed-size black-and-white code. Scale it in your design tool rather than expecting size or colour options.
  • Keep a clear margin around the code and avoid printing it over artwork — quiet space is what makes a code scan reliably.
  • Test the printed code with a phone before committing to a print run, especially at small sizes.
  • Codes for short URLs scan more easily than codes for long ones — a home-page or category link is a better print target than a deep link with a long path.

FAQ

↑ Back to top

Can an affiliate make a QR code for one product?

↑ Back to top

Yes — any page on your store. They paste the product URL into the link generator, generate the referral link, then create the code from it.

Do I have to approve or generate codes for my affiliates?

↑ Back to top

No. Turning the setting on is the only step you take; affiliates create their own codes whenever they need one.

Can I see how many people scanned a code?

↑ Back to top

Scans are counted with clicks on the same link rather than separately. Use a distinct landing page per printed campaign if you need to tell them apart.

Does a QR code expire?

↑ Back to top

The image does not expire, and neither does the link it contains. The usual referral rules still decide the commission when someone buys after scanning.

Related Products

WooCommerce Subscriptions is a WooCommerce extension that lets customers subscribe to your products or...

Offer add-ons like gift wrapping, special messages or other special options for your products.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.