The [yith_wcaf_set_referrer]
shortcode inserts a form that gives the user the possibility to enter the affiliate code to whom he/she wants to be associated.

The only shortcode attribute is affiliate_token
which allows you to enter a default affiliation token that will be used in case the customer doesn’t set any referrer.