I am working on a project that works like this:
My site is brand.com. I sell some products on this site and in order to promote it I allow webmasters to signup for an affiliate program. So they can advertise my product on their websites(s) using a link with their specific tracking code.
So in a nutshell, your classic affiliate program.
I do not know if I should make the tracking links from my domain brand.com or perhaps create a brand new domain for the links that will 302 redirect to my website.
First option would be with links like www.brand.com/trackid-123. This is similar to what Amazon uses. In this way I can also get some backlink juice to my websiste, correct? If they do not use some 302 redirect and they do not use the nofollow attribute of course.
Create a domain brandaffiliates.com and make the affiliate links from this domain, 302 redirect to my website. In this way, the link juice will not pass.
My main concern is that Search engines might penalize my site considering the backlinks "paid links".
I have seen resources that advice both ways. For example this article on SEOmoz https://moz.com/blog/getting-seo-value-from-your-affiliate-links gives you advice on how to get the most out of your affiliate links by using the 1st method.