Affiliate Plugin - How to set the link url?

Hi

I'm using the affiliates plugin together with the membership plugin.

When setting up the affiliate plugin, I'm not really sure what to put in the 'Link URL' fiels on the settings page.

My home URL is http://mysite.com, but when a visitor that is not logged in visits that URL, he is redirected to another page ('http://mysite.com/protected'). On that page I have a 'Register' button, which redirects to the registration page.

I'm not sure what URL I should use to put in the 'Link URL' field: just my main domain name, the URL to the protected page, or the URL to the registration page.

Please advice...