I am in need of a plugin where, when user A refers user B and user B completes a certain action on the site, he is counted as a referral of user A.I am not looking for a simple "user A refers user B so user B is user As referral" kind of thing.Is there a plugin for that or should I be looking to get an affiliate program for my site?I'm very sorry if a similar question was asked before but I really didn't know how to search for it and get anything relevant :S .

closed as off-topic by s_ha_dum, fuxia Nov 13 '13 at 8:48

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

  • Asking for a plugin is off-topic here. We are here to discuss about code. :) – Mayeenul Islam Nov 13 '13 at 4:03
  • Sorry, I saw a similar question posted before and I hurriedly asked before bothering to read the FAQ..Silly of me.Thanks for your input. – wheel Nov 13 '13 at 4:19

Setup a cookie once a user referred by someone joins your website. Then once someone performs an action, check if he has that cookie and register it as a referral. You can use JavaScript to setup the cookie.

Not the answer you're looking for? Browse other questions tagged or ask your own question.