Pull User ID from URL to create dynamic text

I’m trying to do something relatively basic but can’t seem to find an answer in the forum.

In short, I’d like use a User ID contained in a URL to dynamically add text to a page in my app.

More specifically, the flow is like this:

  • A user sends their own personalized link to a survey (the URL to this survey contains their User ID, hence making it personalized)
  • When the recipient clicks on the link, they are taken to the survey (again, the URL contains their User ID)
  • At the top of the page, I want to use that User ID to dynamically populate the senders name to the top of the form.

Any help would be greatly appreciated.

This might help:

I used that to create profile pages for users just based off the usernames in the URL.