I am thinking about writing a simple affiliate tracking script, and would like to see everyone's ideas on this. As soon as I am done, I will let anyone use it for free, so let me know what you guys want!
Here is what I am thinking:
Simple perl script takes the affiliate ID number and sets a cookie in the visitors browser that will expire in 30 days. Then, on your order form confirmation page, you will grab the ID out of the cookie, take the user's domain name and append both to a file.
Like I said, extremely basic stuff, but this will allow for easy affiliate tracking on your site. I am currently using modernbill, and will most likely be incorporating this script into modernbill.
What do you guys think is the best way to write such a script, and what features would you like to see implemented? I know there are many affiliate scripts out there, but I couldn't find any that would work the way I want it to...