deronsizemore
04-05-2007, 10:30 AM
Ok, so I set up an Amazon affiliate account yesterday and I've added three books to my site. What I'm wondering is if all of the code they give you for the affiliate link is actually needed? For example, for one link they gave me this code:
<a href="http://www.amazon.com/gp/product/0446529311?ie=UTF8&tag=affiliateID&linkCode=as2&camp=1789&creative=9325&creativeASIN=0446529311"><img border="0" src="0446529311.01._AA_SCMZZZZZZZ_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=affiliateID&l=as2&o=1&a=0446529311" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
Well, to me that looked awful bloated and I didn't understand why there were two <img> tags in there?? So...I condensed the code to this:
<a href="http://www.amazon.com/gp/product/0446529311?ie=UTF8&tag=affiliateID&linkCode=as2&camp=1789&creative=9325&creativeASIN=0446529311"><img src="/images/tigerbook.gif" title="Tiger Woods' How I Play Golf" height="78" width="62" />
As far as I can see everything is in working order with the updated code. My affiliate homepage shows the clicks and everything (from my tests) so it's tracking correctly. For all you Amazon experts, is this legal to do? Or should I simply ask them?
Note: I removed my affiliate ID as I know we're not allowed to post affiliate links. If what I have above still isn't allowed I'll be glad to remove.
<a href="http://www.amazon.com/gp/product/0446529311?ie=UTF8&tag=affiliateID&linkCode=as2&camp=1789&creative=9325&creativeASIN=0446529311"><img border="0" src="0446529311.01._AA_SCMZZZZZZZ_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=affiliateID&l=as2&o=1&a=0446529311" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
Well, to me that looked awful bloated and I didn't understand why there were two <img> tags in there?? So...I condensed the code to this:
<a href="http://www.amazon.com/gp/product/0446529311?ie=UTF8&tag=affiliateID&linkCode=as2&camp=1789&creative=9325&creativeASIN=0446529311"><img src="/images/tigerbook.gif" title="Tiger Woods' How I Play Golf" height="78" width="62" />
As far as I can see everything is in working order with the updated code. My affiliate homepage shows the clicks and everything (from my tests) so it's tracking correctly. For all you Amazon experts, is this legal to do? Or should I simply ask them?
Note: I removed my affiliate ID as I know we're not allowed to post affiliate links. If what I have above still isn't allowed I'll be glad to remove.