the banner below use different affiliate linking types to demonstrate this functionality.
<a href="https://www.eventsandme.eu/affiliate/scripts/click.php?a_aid=testaff&a_bid=11110001"> <img src="https://www.eventsandme.eu/affiliate/accounts/default1/banners/sample_image_banner.gif" alt="" title="" WIDTH="468" HEIGHT="60"></a> <img src='https://www.eventsandme.eu/affiliate/scripts/imp.php?a_aid=testaff&a_bid=11110001' width='1' height='1' border='0'>
<a href="http://www.targetsite.com/?a_aid=testaff&a_bid=11110001"> <img src="https://www.eventsandme.eu/affiliate/accounts/default1/banners/sample_image_banner.gif" alt="" title="" WIDTH="468" HEIGHT="60"></a> <img src='https://www.eventsandme.eu/affiliate/scripts/imp.php?a_aid=testaff&a_bid=11110001' width='1' height='1' border='0'>
<a href="http://www.targetsite.com/reftestaff/11110001.html"> <img src="https://www.eventsandme.eu/affiliate/accounts/default1/banners/sample_image_banner.gif" alt="" title="" WIDTH="468" HEIGHT="60"></a> <img src='https://www.eventsandme.eu/affiliate/scripts/imp.php?a_aid=testaff&a_bid=11110001' width='1' height='1' border='0'>
<a href="http://www.targetsite.com/"> <img src="https://www.eventsandme.eu/affiliate/accounts/default1/banners/sample_image_banner.gif" alt="" title="" WIDTH="468" HEIGHT="60"></a> <img src='https://www.eventsandme.eu/affiliate/scripts/imp.php?a_aid=testaff&a_bid=11110001' width='1' height='1' border='0'>