1. Documentation
  2. Plugins
  3. WooCommerce
  4. Extensions
  5. Affiliate For WooCommerce

How to customize affiliate referral link

Affiliate for WooCommerce plugin helps you to add, manage affiliates, and track performance from a single place – commissions, sales, payout, leaderboard, etc. Earn money without hard work. Increase your brand outreach, and get potential customers.

This doc explains how you can customize an affiliate’s referral link.

Consider this affiliate referral link – https://yoursite.com/?ref=54

Here, the ref is the referral variable that store owner can customize. It is a tracking parameter (param) that gets added to an affiliate’s referral link to identify them as a referral link.

And 54 is the unique affiliate (user) ID for an affiliate which affiliate can customize.

How can store owner change the tracking param name? ↑ Back to top

  1. Go to WooCommerce > Affiliates from the admin panel and click on the ‘Settings’ icon on the top right OR go to WooCommerce > Settings > Affiliate.
  2. Next to ‘Tracking param name’, change the ref as you wish. Example, change ‘ref’ to ‘aff’. The changes will be automatically reflected below the box.
  3. Click on Save changes.

That’s it. Leaving tracking param name empty, will use default value as ‘ref’.

Note – You can only add letters in tracking param name and not numbers or special characters.

How can affiliates customize their affiliate ID? ↑ Back to top

First, store owner needs to allow their affiliate to change affiliate identifier. Follow this steps:

  1. Go to WooCommerce > Affiliates from the admin panel and click on the ‘Settings’ icon on the top right OR go to WooCommerce > Settings > Affiliate.
  2. Locate ‘Personalize affiliate identifier’ and check the checkbox next to it
  3. Click on Save changes.

After enabling, an affiliate can customizer their affiliate ID / referral ID / tracking ID from their ‘My Account’ area by following below steps:

  1. Go to your site > My Account > Affiliate > Profile
  2. Click on the ‘pencil’ icon besides ‘Your affiliate identifier is’.
  3. Insert identifier i.e. own name, brand name or other combination of letters only.
  4. Click on Save.
  5. If that identifier is available, you will be able to use it else you will be promoted to enter a new value.

The new affiliate ID will be reflected besides ‘Your referral URL is’ section and the new affiliate referral link will be visible next to ‘Your referral URL is’ section.

Note – Default affiliate ID will be a number i.e. {user_id}. Affiliates can change it to a name for simplicity. However, numbers or special characters are not allowed.

FAQ’s ↑ Back to top

Can store owner customize an affiliate’s ID? ↑ Back to top

No, as of now only an affiliate can customize their affiliate ID.


The most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment