Order of who gets sale:
1. Immediate sale resulting from direct link with affiliate code encoded.
1.5. Optional idea: set a second cookie for each additional affiliate sending a surfer. The second affiliate only gets credit IF either #1 applies OR the surfer buys within 3 hours. Let the second cookie then expire and keep the first.
2. First cookie set
I do not think cookies should be overwritten as that makes it more vulnerable to cookie stuffing. The idea in 1.5 would basically give the true closer the sale (for 3 hours) and if they don't close in time then the first affiliate keeps the sale if it is later made (such as if they go back through a type in)
|