Amazon and Redirects
I guessed that there might be 3 avenues to do this:
(a) Don't go straight to Amazon on a product click. Instead, redirect to a PHP page where I can pass extra stuff like seed keyword that put the product on the page in the first place. Then, redirect to the Amazon product. I don't know, however, if Amazon will regard that click. Do they accept redirects? Do they accept temporary or permanent style redirects? (I mean, 301 redirects versus 302.)
(b) Catch the click event bubble with jQuery. Before one goes off to Amazon, capture the click so that it sends an AJAX message back to a PHP page so that I can update a database table with seed keyword, Amazon prod ID, and associate tag ID. Then, release the capture event -- let the event bubble up as it normally would. Trouble is -- I don't know if this is even possible, and if it works in all browsers from IE7 and up, FF (latest), Opera (latest), Chrome (latest), and Safari (latest).
(c) Perhaps there's a way in Amazon reporting where you can pass a secondary parameter and then filter it out in the reports. Do you know of such a case?
What's your opinion on how to handle this?
Available for article writing or <?php | .net ?> programming work! Article samples available on request.