Customer referral program

Customer referral program

I see that this idea has been thrown around but I don't see a clear way to accomplish this with Zoho CRM. Any help would be greatly appreciated. 

Needs:
  1. Users get a referral link that they can send via email or text messages to those they are inviting
  2. The invitees click on the referral link and they are brought to a page to register for a webinar. 
  3. Registration page gets populated with the referral code of the person who referred
  4. User record get's created in CRM with the referral code populated in the referrer field