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.
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.