|
From: Martin M. <ma...@ch...> - 2010-04-28 18:27:45
|
Hi all, Amazon has an Affiliates/Associates program which allows you to receive credit for clicks followed through to Amazon. It is possible to have Amazon automatically generate links for you with your Amazon Associates tracking ID attached, but to do so you must append an AssociateTag attribute to your original request. I am currently doing a string replacement in the URLs Amazon returns to insert my tracking id in place of the default one they return. I have attached a patch which takes 'tracking_id' as a new constructor hash option and (if present) appends it to the Amazon request as the 'AssociateTag' parameter. I have updated the documentation as well to reflect the change. For more info about this, check out http://affiliate-program.amazon.com (the program website). This is mentioned specifically in the 'best practices' guide for the Product Advertising API (http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1057). It is documented in the Product Advertising API Developer Guild (http://developer.amazonwebservices.com/connect/entry.jspa?externalID=3426&categoryID=19). You can find it on page 88 of the PDF in a section titled "General, Optional Parameters". I hope this patch is useful and that I didn't just overlook this functionality in the module... Please CC me on responses b/c I'm not signed up for the list. Thanks, Martin Meyer |