Affiliate Tracking Code Generator SEO FIX
This happens on OC version 1.5.6.4:
When System > Settings > Server > Use SEO URL's is set to YES, the code generator ( /index.php?route=affiliate/tracking ) do not append the Affiliate Tracking Code.
Details here: http://forum.opencart.com/viewtopic.php?f=161&t=136910