This article will show you how to return members to the page they were viewing before being asked to sign up or login. This is especially handy if you have a content or functionality that is partially gated (like a blog or comment sections).
Use the attribute
data-ms-redirect="current-url" to save the current URL. The next time that visitor goes to sign up or login they will be returned to the page.
You can place the attribute anywhere, but we recommend placing it on your signup and login links.
- Does not work with onboarding UI. It will override your default signup redirect.
- This will override default redirects and plan level redirects.
Stay on page, stay-on page, override redirect, after login, after signup, save page, save url, current url,