Amazon Link Marklet

Just a quick post for anyone using Amazon's affiliate program.  Since it's a pain to use Amazon's own link maker, and the amazon associates toolbar creates links that are too log to easily paste in email of IM, I've created a bookmarklet to solve the problem.

This little marklet will take the current amazon URL, chop off the unneccesary arguments, and add your affiliate tag to the end.

http://www.amazon.com/LEGO-Star-Hyena-Droid-Bomber/dp/B001GN3FXY/ref=sr_1_16?ie=UTF8&s=toys-and-games&qid=1235341996&sr=8-16

Becomes:

http://www.amazon.com/LEGO-Star-Hyena-Droid-Bomber/dp/B001GN3FXY/?tag=geekdad84-20

We could probably omit the ?tag= but I have seen instances where Amazon didn't count the short urls and prefer this method of adding the affiliate tag.

To use this marklet, drag the following URL to your bookmark toolbar, then edit the properties and change geekdad84-20 to your affiliate id.  Or don't edit it so I get the commission, it's up to you.

Amazon URL