1. Documentation /
  2. Affiliate For WooCommerce /
  3. How to customize affiliate referral link

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 the 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 that the affiliate can customize.

How can the 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. For example, change ‘ref’ to ‘aff’. The changes will be automatically reflected below the box.
  3. Click on Save changes.

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

Note – You can only add letters in the 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 their affiliate identifier. Follow these 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 the below steps:

  1. Go to your site > My Account > Affiliate > Profile
  2. Click on the ‘pencil’ icon beside ‘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 prompted to enter a new value.

The new affiliate ID will be reflected beside the ‘Your referral URL is’ section and the new affiliate referral link will be visible next to the ‘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.


↑ Back to top

Can the 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 and secure online payment