i need help and guidance on how to make a clean url link for affiliate.

This looks ugly but currently thats how my workflow identifies an affiliate and award them
So please how do i create a clean link or slug that at the same time the workflow can identify as a referral link
any help pls…im stuck for a week
In the input/link field make it arbitrary text:
Isn’t live version formatted as text
If yes: https://yourdomain.com/version-test/?referral=current user’s unique ID
If no: https://yourdomain.com/?referral=current user’s unique ID
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
This currently how it looks like and looks long and unfriendly for affiliates to share…
I want to create something like PayRam: Accept Crypto payments on your server. A self hosted crypto payment service. user’s unique ID…But at the same time the workflow can recognize as a referral link
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