When page is loaded and get referral from page URL is not empty, make changes to (do a search for user where unique ID = referral’s text:first item) and make changes by adding referral points etc
I don’t think there’s a way to do that. You could have https://yourdomain.com/ref/user’s ID and on the ref page make changes to the user and redirect the visitor to the correct page