will affiliate plugin work with subdirectories?

Hi,
will the affiliate plugin work properly with subdirectory sites? Or is it best to use a subdomain to make sure it works properly and accurately?