I have a membership site theme. As part of the theme there is a referral programs. Members get a link something like [login to view URL] So when someone goes to the site from that link, people join and that person whose link it is gets the credit.
'If someone goes directly to the site with no referrer, it gives the admin credit.
What I want is that is someone comes to the site without a referrer then it would go to a random member instead of to the admin.
12 freelancers are bidding on average $51 for this job