Given a user-entered URL, add your own affiliate code to the querystring.
github.com/TehShrike/add-affiliate-querystring
TehShrike/add-affiliate-querystring