|
From: Christopher B. <bou...@gm...> - 2010-04-28 18:33:02
|
Thank-you very much! I will review it, and add it to the github repository. Thanks, Christopher On Wed, Apr 28, 2010 at 1:56 PM, Martin Meyer <ma...@ch...> wrote: > 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 > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Net-amazon-devel mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/net-amazon-devel > > |