How to return users back to a subscription page or to the original CMS page after signup without using content gating? Answered

Hey guys! So I have a CMS page with 2 buttons - one appears if the user is not logged in, and it brings the user to the signup page, and the other one appears if the user is logged in and it brings them to a registration page. I would like to make sure that if a person goes on a CMS page while not being logged in and then signs up - the redirect brings them back to the page they were in before. I was thinking to do it with the normal redirect, but the page is not gated content... any thoughts?

Comments

3 comments

  • Comment author
    Julian Galluzzo

    Hey! Check this out: https://webflow.com/made-in-webflow/website/redirect-to-attempted-page

    0
  • Comment author
    Felix Gräf

    One more thing, is it possible to redirect users which are not signed in, to the sign up page when they try to subscribe to a plan?

    0
  • Comment author
    A J

    Hey Felix Gräf, you can link the button (via which one can subscribe to a plan) to the signup page and add the data attributes of the relevant price of a plan as usual.

    If the user is logged out and clicks the subscribe button they will be redirected to Signup page, once they do signup, they will be redirected to stripe checkout for the plan accordingly.

    If they are already logged in and click the subscribe button, they will automatically be redirected to stripe checkout.

    0

Please sign in to leave a comment.