Redirect after sign up. Can code be added to wix default signup?

Hi guys, the question is pretty accurate. After a new user signs up using the default member sign up can i add onLogin /wixlocation code or something to redirect to their member homepage?
Thanks
Adam

Hey, Adam.

You can use onLogin() and wixLocation.to() with the default form and the users can be redirected once they are logged in.

However, if you would like to redirect users after the sign up process, you will need to use a Custom form, check if the user signed up successfully and redirect to the member’s page.

https://support.wix.com/en/article/corvid-tutorial-creating-a-custom-registration-form-with-code
https://support.wix.com/en/article/corvid-reacting-to-user-actions-using-events