How to split sign up page redirects between team account owners and members?
is there a way (or could there be a way) to split the page redirect of a sign up between team account owners and team account members?
Use case is team account owner goes to an onboarding page and team members go straight to dashboard
Comments
2 comments
Hey Charles Bradford, was checking this method to get current member and it seems it gives team based information for the currently logged in user. I have personally not tested the response yet with a team account, but you could possibly set the redirect on the team plan to be a blank page and have a custom code to check the team details of the currently logged in user, if they own the team plan, you could redirect them to the onboarding page and if not they could be redirected to dashboard page. You could explore what specific team data you get by using that method and see if applying a custom code in this way solves your use-case.
In case, the user flow is such that only after a team account owner fills the onboarding form, they can invite other members, then you could take the easier approach of setting the on signup / purchase redirect to dashboard page and implementing this memberscript on that page to redirect to onboarding page if certain custom fields are empty. This will work, if you are sure the fields you are checking will definitely be filled by the team account owner before inviting team members.
You can take the approach which fits for your project. Hope this helps.
thanks AJ - I'll take a look and see what I can sort out, my fields for the onboarding are stored in a different database so might not work but I think I can do something similar
Please sign in to leave a comment.