Create button that uses link for current user

i am trying to create code to:

get current user id;
click button
button links to www.mywixsite/(current user id)

any thoughts? thank you!

Read about Dynamic Pages which will give you just what you need.